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

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

Please delete your IVY cache! There seems to be a wrongly downloaded artifact 
causing this issue. By changing to the newer IVY version you were just 
requesting it to download a new version, as it wa snot found in the local repo!

{code}
$ rm -rf ~/.ivy2/cache/org.apache.ivy
{code}

You can also delete the whole cache, this requires the build system to download 
everything:

{code}
$ rm -rf ~/.ivy2/cache
{code}

The issue you are seing happens when you press Ctrl+C while Ivy is downloading 
or resolving dependencies. These are known bugs in IVY! 

Uwe

> 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
>            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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to