[ https://issues.apache.org/jira/browse/NUTCH-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17176278#comment-17176278 ]
ASF GitHub Bot commented on NUTCH-2697: --------------------------------------- sebastian-nagel opened a new pull request #550: URL: https://github.com/apache/nutch/pull/550 Address: - NUTCH-2671 Upgrade ant ivy library - NUTCH-2697 Upgrade Ivy to fix the issue of an unset packaging.type property - NUTCH-2669 Reliable solution for javax.ws packaging.type - NUTCH-2672 Ant build erronously installs *-test.jar instead *.jar for target "nightly" Requires that the ivy cache is wiped out (eg. `rm -rf ~/.ivy2/cache`) because the cache of ivy 2.5.0 is not backward compatible to older ivy versions. Ant builds fail otherwise. Includes: - upgrade Ivy (2.4.0 -> 2.5.0) - upgrade all plugins build-ivy.xml (preparing lists of dependencies registered in plugin.xml) - to use the ivy jar 2.5.0 installed in $NUTCH_HOME/ivy/ - only download the ivy jar if it's not found there ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Upgrade Ivy to fix the issue of an unset packaging.type property > ---------------------------------------------------------------- > > Key: NUTCH-2697 > URL: https://issues.apache.org/jira/browse/NUTCH-2697 > Project: Nutch > Issue Type: Bug > Components: build > Affects Versions: 1.16 > Reporter: Chris Gavin > Priority: Major > Fix For: 1.18 > > > Currently Nutch fails to build from a clean checkout due to > {{packaging.type}} not being set (even with the current workaround in > {{ivysettings.xml}}). > {code:java} > [ivy:resolve] :: problems summary :: > [ivy:resolve] :::: WARNINGS > [ivy:resolve] [FAILED ] > javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}: (0ms) > [ivy:resolve] ==== local: tried > [ivy:resolve] > /opt/work/.ivy2/local/javax.ws.rs/javax.ws.rs-api/2.1.1/${packaging.type}s/javax.ws.rs-api.${packaging.type} > [ivy:resolve] ==== maven2: tried > [ivy:resolve] > http://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type} > [ivy:resolve] ==== apache-snapshot: tried > [ivy:resolve] > https://repository.apache.org/content/repositories/snapshots/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type} > [ivy:resolve] ==== sonatype: tried > [ivy:resolve] > http://oss.sonatype.org/content/repositories/releases/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type} > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: FAILED DOWNLOADS :: > [ivy:resolve] :: ^ see resolution messages for details ^ :: > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] :: > javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type} > [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:resolve] > BUILD FAILED{code} > This issue has been fixed in the latest version of Ivy so upgrading will > cause the build to work correctly again. -- This message was sent by Atlassian Jira (v8.3.4#803005)