Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Dependency Issue

Đang mở
#545 8 bình luận 4 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
docker
Lĩnh vực
build-system, devops

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi với ./gradlew dockerize và kiểm tra dependency tx-issuerservice runtimeClasspath cùng cấu hình repository. Truy tìm lý do các artifact 0.12.0-SNAPSHOT được liệt kê không thể được phân giải; được xem là hoàn tất khi task dockerize hoàn thành mà không có lỗi thiếu dependency.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

I'm using version #515. When I dockerize the mxd-runtimes, I get the following:
`./gradlew dockerize

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':tx-issuerservice:shadowJar'.

Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:issuerservice-bom:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/issuerservice-bom/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/issuerservice-bom/0.12.0-SNAPSHOT/issuerservice-bom-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/issuerservice-bom/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/issuerservice-bom/0.12.0-SNAPSHOT/issuerservice-bom-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/issuerservice-bom/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/issuerservice-bom/0.12.0-SNAPSHOT/issuerservice-bom-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:issuerservice-feature-sql-bom:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/issuerservice-feature-sql-bom/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/issuerservice-feature-sql-bom/0.12.0-SNAPSHOT/issuerservice-feature-sql-bom-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/issuerservice-feature-sql-bom/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/issuerservice-feature-sql-bom/0.12.0-SNAPSHOT/issuerservice-feature-sql-bom-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/issuerservice-feature-sql-bom/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/issuerservice-feature-sql-bom/0.12.0-SNAPSHOT/issuerservice-feature-sql-bom-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:vault-hashicorp:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/vault-hashicorp/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/vault-hashicorp/0.12.0-SNAPSHOT/vault-hashicorp-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/vault-hashicorp/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/vault-hashicorp/0.12.0-SNAPSHOT/vault-hashicorp-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/vault-hashicorp/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/vault-hashicorp/0.12.0-SNAPSHOT/vault-hashicorp-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:transaction-spi:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/transaction-spi/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/transaction-spi/0.12.0-SNAPSHOT/transaction-spi-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/transaction-spi/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/transaction-spi/0.12.0-SNAPSHOT/transaction-spi-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/transaction-spi/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/transaction-spi/0.12.0-SNAPSHOT/transaction-spi-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9 > org.eclipse.tractusx.issuer:migrations:0.1.0-SNAPSHOT:20250228.135248-9
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:transaction-datasource-spi:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/transaction-datasource-spi/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/transaction-datasource-spi/0.12.0-SNAPSHOT/transaction-datasource-spi-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/transaction-datasource-spi/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/transaction-datasource-spi/0.12.0-SNAPSHOT/transaction-datasource-spi-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/transaction-datasource-spi/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/transaction-datasource-spi/0.12.0-SNAPSHOT/transaction-datasource-spi-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9 > org.eclipse.tractusx.issuer:migrations:0.1.0-SNAPSHOT:20250228.135248-9
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:sql-lib:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/sql-lib/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/sql-lib/0.12.0-SNAPSHOT/sql-lib-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/sql-lib/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/sql-lib/0.12.0-SNAPSHOT/sql-lib-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/sql-lib/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/sql-lib/0.12.0-SNAPSHOT/sql-lib-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9 > org.eclipse.tractusx.issuer:migrations:0.1.0-SNAPSHOT:20250228.135248-9
Could not resolve all dependencies for configuration ':tx-issuerservice:runtimeClasspath'.
> Could not find org.eclipse.edc:sql-core:0.12.0-SNAPSHOT.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/eclipse/edc/sql-core/0.12.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/org/eclipse/edc/sql-core/0.12.0-SNAPSHOT/sql-core-0.12.0-SNAPSHOT.pom
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/sql-core/0.12.0-SNAPSHOT/maven-metadata.xml
- file:/Users/juanalbert/.m2/repository/org/eclipse/edc/sql-core/0.12.0-SNAPSHOT/sql-core-0.12.0-SNAPSHOT.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/sql-core/0.12.0-SNAPSHOT/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/edc/sql-core/0.12.0-SNAPSHOT/sql-core-0.12.0-SNAPSHOT.pom
Required by:
project :tx-issuerservice > org.eclipse.tractusx.issuer:issuerservice:0.1.0-SNAPSHOT:20250228.135248-9 > org.eclipse.tractusx.issuer:migrations:0.1.0-SNAPSHOT:20250228.135248-9

  • Try:

The project declares repositories, effectively ignoring the repositories you have declared in the settings.
To determine how project repositories are declared, configure your build to fail on project repositories.
For more information, please refer to https://docs.gradle.org/8.10/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories in the Gradle documentation.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.10/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.`

Any help would be appreciated, thank you.

Ngôn ngữ chính
HCL
Star
19
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-tractusx/tutorial-resources

Tất cả issue của eclipse-tractusx/tutorial-resources

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.