[ 
https://issues.apache.org/jira/browse/LUCENE-7978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182555#comment-16182555
 ] 

Uwe Schindler commented on LUCENE-7978:
---------------------------------------

Hi Anton,

the documentation you added is only applicable to your specific problem, so it 
does not warrant to be added to the build documentation. In general the same 
can happen anywhere in the build, you just accidentally hit it while 
downloading Ivy. Cleaning up the IVY cache is a workaround for most of such 
issues, which is very similar to cleaning up the Maven cache when something 
goes wrong in Maven builds. 

The documentation text should better be {{rm -rf ~/.ivy2/cache}} as general 
workaround, because it nukes the whole cache.

The "ivy-bootstrap" part in your added documentation should be conditional, so 
you should add it like: 'if you see an error about Ivy missing when invoking 
ant, call "ant ivy-bootstrap" and retry.'

> Ant package fails on 7.0 and master
> -----------------------------------
>
>                 Key: LUCENE-7978
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7978
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>    Affects Versions: 7.0, master (8.0)
>         Environment: Fedora 25
> Apache Ant(TM) version 1.9.6 compiled on February 3 2016
>            Reporter: Anton Maria Rodriguez Yuste
>            Assignee: Uwe Schindler
>            Priority: Minor
>              Labels: build
>
> I'm doing the following steps following the README instructions:
> * cloning lucene-solr
> * checking out 7.0 (or master)
> * ant compile
> Gives is this:
> {quote}
> ivy-configure:
> [ivy:configure] :: loading settings :: file = 
> /home/antonmry/Workspace/Apache/lucene-solr/lucene/top-level-ivy-settings.xml
> resolve:
> [ivy:retrieve] 
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          :: org.apache.ivy#ivy;2.3.0: configuration not found 
> in org.apache.ivy#ivy;2.3.0: 'master'. It was required from 
> org.apache.lucene#tools;working@gali7 compile
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] 
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
> /home/antonmry/Workspace/Apache/lucene-solr/build.xml:309: The following 
> error occurred while executing this line:
> /home/antonmry/Workspace/Apache/lucene-solr/lucene/build.xml:127: The 
> following error occurred while executing this line:
> /home/antonmry/Workspace/Apache/lucene-solr/lucene/common-build.xml:409: 
> impossible to resolve dependencies:
>         resolve failed - see output for details
> Total time: 8 seconds
> {quote}
> I found it works with the the following changes in 
> lucene/ivy-versions.properties:
> {quote}
> /org.apache.ivy/ivy = 2.3.0
> {quote}
> to 
> {quote}
> /org.apache.ivy/ivy = 2.4.0
> {quote}
> Probably related to:
> https://issues.apache.org/jira/browse/LUCENE-6144



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to