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

Error when running mvn package #128

Open
murithigeo opened this issue May 30, 2024 · 1 comment
Open

Error when running mvn package #128

murithigeo opened this issue May 30, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@murithigeo
Copy link

murithigeo commented May 30, 2024

Describe the bug
Seems to be the result of an insecure url to http://maven.geotoolkit.org.
I am running into the following error when i run mvn package
-----------------< org.opengis.cite:ets-ogcapi-edr10 >------------------
[INFO] Building OGC API - Environmental Data Retrieval 1.0 Conformance Test Suite 1.2-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'source' is unknown for plugin 'maven-site-plugin:3.7.1:jar (site-package)'
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.842 s
[INFO] Finished at: 2024-05-30T18:59:29+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ets-ogcapi-edr10: Could not resolve dependencies for project org.opengis.cite:ets-ogcapi-edr10:jar:1.2-SNAPSHOT: Failed to collect dependencies at org.opengis:geoapi-pending:jar:3.1-M04: Failed to read artifact descriptor for org.opengis:geoapi-pending:jar:3.1-M04: The following artifacts could not be resolved: org.opengis:geoapi-pending:pom:3.1-M04 (absent): 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)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Run mvn clean
  3. Run mvn package
@dstenger dstenger self-assigned this Jun 5, 2024
@dstenger dstenger added the question Further information is requested label Jun 5, 2024
@dstenger
Copy link
Collaborator

dstenger commented Jun 5, 2024

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?

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: Waiting
Development

No branches or pull requests

2 participants