Sumit Gupta created KNOX-780:
--------------------------------
Summary: Remove dependency on SNAPSHOT version of
hadoop-common-test jar
Key: KNOX-780
URL: https://issues.apache.org/jira/browse/KNOX-780
Project: Apache Knox
Issue Type: Bug
Affects Versions: 0.10.0
Reporter: Sumit Gupta
Fix For: 0.11.0
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]
{code}
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.
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)