Lucene - Core
  1. Lucene - Core
  2. LUCENE-2774

ant generate-maven-artifacts target broken for contrib

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: general/build
    • Labels:
      None

      Description

      When executing 'ant generate-maven-artifacts' from a pristine checkout of branch_3x/lucene or trunk/lucene the following error is encountered:

      dist-maven:
           [copy] Copying 1 file to /home/drew/lucene/branch_3x/lucene/build/contrib/analyzers/common
      [artifact:install-provider] Installing provider: org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2:runtime
      [artifact:pom] An error has occurred while processing the Maven artifact tasks.
      [artifact:pom]  Diagnosis:
      [artifact:pom] 
      [artifact:pom] Unable to initialize POM pom.xml.template: Cannot find parent: org.apache.lucene:lucene-contrib for project: org.apache.lucene:lucene-analyzers:jar:3.1-SNAPSHOT for project org.apache.lucene:lucene-analyzers:jar:3.1-SNAPSHOT
      [artifact:pom] Unable to download the artifact from any repository
      

      The contrib portion of the ant build is executed in a subant task which does not pick up the pom definitions for lucene-parent and lucene-contrib from the main build.xml, so the lucene-parent and lucene-controb poms must be loaded specifically as a part of the contrib build using the artifact:pom task.

      1. LUCENE-2774.patch
        0.6 kB
        Drew Farris

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564155 ] jira [ 12583909 ]
        Mark Thomas made changes -
        Workflow jira [ 12527428 ] Default workflow, editable Closed status [ 12564155 ]
        Steve Rowe made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Steve Rowe made changes -
        Assignee Steven Rowe [ steve_rowe ]
        Robert Muir made changes -
        Resolution Invalid [ 6 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Drew Farris made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Lucene Fields [New]
        Resolution Invalid [ 6 ]
        Drew Farris made changes -
        Field Original Value New Value
        Attachment LUCENE-2774.patch [ 12460138 ]
        Drew Farris created issue -

          People

          • Assignee:
            Steve Rowe
            Reporter:
            Drew Farris
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development