lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <>
Subject [jira] Commented: (LUCENE-2774) ant generate-maven-artifacts target broken for contrib
Date Tue, 23 Nov 2010 22:56:13 GMT


Steven Rowe commented on LUCENE-2774:

bq. after switching to maven-ant-tasks 2.0.9 the builds for branch 3.x and trunk work fine
without the patch I proposed.

After switching to Ant 1.7.1 and maven-ant-tasks 2.0.9, both trunk and branch_3x now work
for me too under Cygwin on Win7 without the proposed patch.  (I put maven-ant-tasks-2.0.9.jar
in {{C:\Users\sarowe\.ant\lib\}}, rather than the Cygwin-ish {{/home/sarowe/.ant/lib}}, because
Ant is running on the native Windows binary 1.6.0_21 JRE).

> ant generate-maven-artifacts target broken for contrib
> ------------------------------------------------------
>                 Key: LUCENE-2774
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.1, 4.0
>            Reporter: Drew Farris
>            Priority: Minor
>         Attachments: LUCENE-2774.patch
> When executing 'ant generate-maven-artifacts' from a pristine checkout of branch_3x/lucene
or trunk/lucene the following error is encountered:
> {code}
> 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
> {code}
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message