[
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe resolved LUCENE-6007.
--------------------------------
Resolution: Fixed
bq. it appears that this change has caused a problem when running the license
checker against the maven builds?
I committed a fix to trunk and branch_5x.
The issue was that the Ant task that puts dependencies into the Maven POMs by
parsing dependencies from ivy.xml files (the 'mvndeps' task) excluded
dependecies with the Ivy "start" configuration by using an XPath selector for
"conf" attributes that did not begin with the exact string "start->", where the
"->" is how Ivy does configuration mapping.
But since I removed all configuration mappings in "conf" attributes under this
issue (by moving them to {{<configurations defaultconfmapping="...">}}), the
jetty-start jar was included as a dependency in the Maven POMs, and as a
result, the license checker tried to find a license for this depedency but
failed.
The fix was to change the XPath selector to exclude dependencies with conf
attributes beginning with the exact string "start" instead of "start->".
> Failed attempt of downloading javax:activation javadoc
> ------------------------------------------------------
>
> Key: LUCENE-6007
> URL: https://issues.apache.org/jira/browse/LUCENE-6007
> Project: Lucene - Core
> Issue Type: Bug
> Components: general/build
> Affects Versions: Trunk
> Environment: java version "1.7.0_67"
> Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
> Apache Ant(TM) version 1.9.4 compiled on April 29 2014
> Microsoft Windows Professional 8.1 (6.3.9600) x64
> Reporter: Ilia Sretenskii
> Assignee: Steve Rowe
> Labels: ant, download, ivy, jar, javadoc, javax, maven
> Attachments: LUCENE-6007.patch
>
>
> I have [checked out the trunk source
> code|https://wiki.apache.org/lucene-java/HowToContribute].
> But then running the following commands fails:
> * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
> * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
> The failure message says the following:
> {noformat}
> ivy-fail:
> resolve:
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] [FAILED ]
> javax.activation#activation;1.1.1!activation.jar(javadoc): (0ms)
> [ivy:retrieve] ==== shared: tried
> [ivy:retrieve]
> C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
> [ivy:retrieve] ==== public: tried
> [ivy:retrieve]
> http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: FAILED DOWNLOADS ::
> [ivy:retrieve] :: ^ see resolution messages for details ^ ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] ::
> javax.activation#activation;1.1.1!activation.jar(javadoc)
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The
> following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
> The following error occurred while executing this line:
> C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
> impossible to resolve dependencies:
> resolve failed - see output for details
> Total time: 53 minutes 19 seconds
> {noformat}
> There was a javadoc file for
> [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
> but none for
> [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
> which might be the cause.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]