Hi Neil,

ivy-maven-plugin might work: http://evgeny-goldin.com/wiki/Ivy-maven-plugin 

If it does work for you, I'm interested in the details.

Alternatively, you could use maven-antrun-plugin to invoke the Ant build 
functionality you want from Maven.

Steve

-----Original Message-----
From: nhooey.li...@gmail.com [mailto:nhooey.li...@gmail.com] On Behalf Of Neil 
Hooey
Sent: Monday, May 07, 2012 4:49 PM
To: solr-user@lucene.apache.org
Subject: Re: How does "start.jar" get build in the Solr trunk repository?

I see that it's done in "solr/example/build.xml" with this XML:

    <ivy:retrieve inline="true" organisation="org.eclipse.jetty"
                  module="jetty-start" revision="8.1.2.v20120308"
                  transitive="false" type="jar" log="download-only"
                  pattern="start.jar"/>

Does anyone know how you could do that in Maven?

On Mon, May 7, 2012 at 4:39 PM, Neil Hooey <nho...@gmail.com> wrote:

> I'm trying to figure out how the "solr/example/start.jar" file gets 
> built in the Solr trunk repository, but I can't find anything about 
> jetty being built in any of the Ant build XML files.
>
>  I'm trying to duplicate the same behaviour in my Maven build of Solr 
> with my custom plugin.
>
> Does anyone know the target that builds jetty-start?
>
> - Neil
>

Reply via email to