Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6007

Failed attempt of downloading javax:activation javadoc

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10, 4.10.1, 6.0
    • Fix Version/s: 4.10.2, 5.0, 6.0
    • Component/s: general/build
    • Environment:
    • Lucene Fields:
      New

      Description

      I have checked out the trunk source code.
      But then running the following commands fails:

      The failure message says the following:

      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
      

      There was a javadoc file for javax:activation:1.1-rev-1, but none for javax: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.

        Attachments

        1. LUCENE-6007.patch
          92 kB
          Steven Rowe

          Activity

            People

            • Assignee:
              sarowe Steven Rowe
              Reporter:
              koichisenada Ilia Sretenskii
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: