Can someone with more experience in maven/hudson/ant figure out what's
wrong w/ our maven build process?

>From the last nightly build at
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/823/console, I
can see that indeed we are running this command:

  /export/home/hudson/tools/ant/latest/bin/ant -lib
/export/home/nigel/hudsonSupport/maven
-Dsvnversion.exe=/opt/subversion-current/bin/svnversion
-Dsvn.exe=/opt/subversion-current/bin/svn -Dversion=2.4-SNAPSHOT
generate-maven-artifacts

which is wrong (it should be 2.9-SNAPSHOT).  That's the first problem...

The second problem is we are somehow failing to properly publish the
artifacts, because in the snapshot repository I only see
maven-metadata.xml (no artifacts), eg:

  http://repository.apache.org/snapshots/org/apache/lucene/lucene-core/

Any ideas?

Mike

---------- Forwarded message ----------
From: Michael McCandless <luc...@mikemccandless.com>
Date: Mon, May 11, 2009 at 8:00 AM
Subject: Re: Downloading Lucene 2.9 from Maven
To: java-u...@lucene.apache.org, paul_t...@fastmail.fm


Lucene's trunk build (2.9-dev) is supposed to be available, as
2.9-SNAPSHOT.  But something is wrong: we seem to be building 2.9
trunk but attempting to publish it (incorrectly) as 2.4-SNAPSHOT.

But then, 2.4-SNAPSHOT is not published correctly... I only see the
maven-metadata.xml, and no artifacts, here:

 http://repository.apache.org/snapshots/org/apache/lucene/lucene-core/

I'll take both issue to java-dev to get to the bottom of them.

Re eta on 2.9, I'm not sure... development is still going strong, and
we have a big backlog of 2.9 issues
(https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310110&fixfor=12312682)

Mike

On Mon, May 11, 2009 at 6:31 AM, Paul Taylor <paul_t...@fastmail.fm> wrote:
> Hi
>
> I'm working on an opensrc project that needs Lucene 2.9 and uses Maven, it
> would be great if Lucene 2.9 could be found automatically so that other
> developers can easily run and build the project.
> First of all I changed the version field from 2.4 to 2.9 in my pom.xml but
> lucene couldn't find it, 2.9 isn't in the repo1 server, I then looked at the
> latest developer build on hudson and in the maven-metadata.xml file it has
> the version set to 2.4-SNAPSHOT so I changed the version to that instead ,
> no luck.
>
> So is there any way I can do it without manually downloading the jar and
> installing it, and whats the ETA for the actual release of 2.9
>
> thanks Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to