You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/12/27 03:16:45 UTC

[jira] Reopened: (LUCENE-2774) ant generate-maven-artifacts target broken for contrib

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

Robert Muir reopened LUCENE-2774:
---------------------------------


i know, i'm re-opening a maven issue!

But I'm working on fixes to resolve our build so it works fine on 1.7 and 1.8.

I tend to agree with Ian's comment that since 1.8 is installed on many systems by default,
we should just try to make things work with it nicely.

So, if someone wants to make a patch that fixes this issue so it works on both 1.7 and 1.8,
I think it would be a good thing. Its unclear from the comments whether this patch does
that (it might, but i don't know, since we have no way of verifying that maven is working).


> ant generate-maven-artifacts target broken for contrib
> ------------------------------------------------------
>
>                 Key: LUCENE-2774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2774
>             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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org