Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.10.0
-
None
-
None
Description
When doing a clean build without a populated local maven repository it was found that we have a dependency on a SNAPSHOT jar. This is okay for development but not okay at all for releases. We need to determine why we are pulling this dependency and move to a non-snapshot version of it.
The following was found by kamrul
Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project gateway-test-release: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:[ERROR] ----------[ERROR] 1) org.apache.hadoop:hadoop-common-test:jar:0.23.0-SNAPSHOT[ERROR] [ERROR] Try downloading the file manually from the project website.[ERROR] [ERROR] Then, install it using the command:[ERROR] mvn install:install-file -DgroupId=org.apache.hadoop -DartifactId=hadoop-common-test -Dversion=0.23.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file[ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there:[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.hadoop -DartifactId=hadoop-common-test -Dversion=0.23.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id][ERROR] [ERROR] Path to dependency:[ERROR] 1) org.apache.knox:gateway-test-release:pom:0.10.0[ERROR] 2) org.apache.hadoop:hadoop-common-test:jar:0.23.0-SNAPSHOT[ERROR] [ERROR] ----------[ERROR] 1 required artifact is missing.