You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2016/12/12 19:01:58 UTC

[jira] [Updated] (KNOX-780) Remove dependency on SNAPSHOT version of hadoop-common-test jar

     [ https://issues.apache.org/jira/browse/KNOX-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Larry McCay updated KNOX-780:
-----------------------------
    Assignee: Larry McCay

> 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
>            Assignee: Larry McCay
>             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)