Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvn package command fails #136

Closed
jandegithub opened this issue Oct 18, 2024 · 3 comments
Closed

mvn package command fails #136

jandegithub opened this issue Oct 18, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@jandegithub
Copy link

jandegithub commented Oct 18, 2024

Describe the bug
mvn package command fails to complete

To Reproduce
Steps to reproduce the behavior:

  1. cd ets-ogcapi-edr10
  2. mvn clean
  3. mvn package
  4. See error
  5. [ERROR] Failed to execute goal on project ets-ogcapi-edr10: Could not collect dependencies for project org.opengis.cite:ets-ogcapi-edr10:jar:1.2-SNAPSHOT
    [ERROR] Failed to read artifact descriptor for org.opengis:geoapi-pending:jar:3.1-M04
    [ERROR] Caused by: The following artifacts could not be resolved: org.opengis:geoapi-pending:pom:3.1-M04 (present, but unavailable): Could not transfer artifact org.opengis:geoapi-pending:pom:3.1-M04 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [geotoolkit (http://maven.geotoolkit.org, default, releases+snapshots)]
    [ERROR] Failed to read artifact descriptor for org.geotoolkit:geotk-referencing:jar:3.21
    [ERROR] Caused by: The following artifacts could not be resolved: org.geotoolkit:geotk-referencing:pom:3.21 (present, but unavailable): Could not transfer artifact org.geotoolkit:geotk-referencing:pom:3.21 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [geotoolkit (http://maven.geotoolkit.org, default, releases+snapshots)]

Expected behavior
Expect it to download the relevant modules

Screenshots

Additional context
CentOS Linux release 7.7.1908

java version "17.0.11" 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 17.0.11+7-LTS-207)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.11+7-LTS-207, mixed mode, sharing)
/usr/lib/jvm/jdk-17-oracle-x64/bin/java

Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /usr/lib/jvm/apache-maven-3.9.9
Java version: 17.0.11, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-17-oracle-x64
Default locale: en_US, platform encoding: UTF-8

@dstenger dstenger self-assigned this Oct 18, 2024
@dstenger dstenger added the question Further information is requested label Oct 18, 2024
@dstenger dstenger added this to CITE Oct 18, 2024
@github-project-automation github-project-automation bot moved this to To do in CITE Oct 18, 2024
@dstenger dstenger moved this from To do to In progress in CITE Oct 18, 2024
@dstenger
Copy link
Collaborator

Thank you for reporting.

The problem is connected to the Maven version and occurs in all test suites.
Please review the response in opengeospatial/ets-wfs20#249 (comment) which describes how to solve the problem.

Can you please close this issue if you do not have any further questions?

@dstenger dstenger moved this from In progress to Waiting in CITE Oct 18, 2024
@jandegithub
Copy link
Author

Could the required marven version be added to the README.

@dstenger
Copy link
Collaborator

Thank you for the idea.
However, currently there is no requirement for a Maven version as you could also configure a mirror to solve the problem. The problem is a repository that is only reachable via HTTP which is blocked by newer Maven versions. This repository will be replaced by a HTTPS repository soon.

@github-project-automation github-project-automation bot moved this from Waiting to Done in CITE Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Done
Development

No branches or pull requests

2 participants