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

Hoss Man updated LUCENE-6007:
-----------------------------
          Description: 
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.

----

A work arround for people who encounter this problem _specifically with javadoc 
jar files_ in older versions of lucene/solr is to create an empty fake file to 
satisfy the dependency checker at the "shared" path.  In the above error, the 
expected shared path is 
{{C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar}}
 so create an empty file at that path.

  was:
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.

    Affects Version/s: 4.10
                       4.10.1

updated description with work around for older sources

> 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: 4.10, 4.10.1, 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
>             Fix For: 4.10.2, 5.0, Trunk
>
>         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.
> ----
> A work arround for people who encounter this problem _specifically with 
> javadoc jar files_ in older versions of lucene/solr is to create an empty 
> fake file to satisfy the dependency checker at the "shared" path.  In the 
> above error, the expected shared path is 
> {{C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar}}
>  so create an empty file at that path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to