opengeospatial / ets-ogcapi-edr10

Other
2 stars 5 forks source link

Error when running mvn package #128

Open murithigeo opened 3 months ago

murithigeo commented 3 months ago

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 commented 3 months ago

Thank you for reporting.

The problem is connected to the Maven version and occurs in all test suites. Please review the response in https://github.com/opengeospatial/ets-wfs20/issues/249#issuecomment-1357431309 which describes how to solve the problem.

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