You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Neil Hooey <nh...@gmail.com> on 2012/05/07 22:39:56 UTC
How does "start.jar" get build in the Solr trunk repository?
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
RE: How does "start.jar" get build in the Solr trunk repository?
Posted by Steven A Rowe <sa...@syr.edu>.
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.lists@gmail.com [mailto:nhooey.lists@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 <nh...@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
>
Re: How does "start.jar" get build in the Solr trunk repository?
Posted by Neil Hooey <nh...@gmail.com>.
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 <nh...@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
>