Just create an ant build.xml file in the same directory as your maven
project.xml file.  Put whatever you need in build.xml and the file will get
zipped up with everything else when you use the maven dist goal.

> -----Original Message-----
> From: Joel Shellman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 25, 2004 4:27 PM
> To: Maven Users List
> Subject: Re: Packaging up a build
>
>
> I'm sorry I wasn't clear. I meant that after running dist:build-src you
> have an entire tree with an ant script that will build the ear or war.
>
> Again, I'm trying to come up with something that I can zip up and send
> to someone that can do a self contained build.
>
> -joel
>
>
> Arnaud Heritier wrote:
>
> >You can do it with :
> >
> >http://maven.apache.org/reference/plugins/war/
> >
> >and
> >
> >http://maven.apache.org/reference/plugins/ear/
> >
> >Arnaud
> >
> >
> >
> >>-----Message d'origine-----
> >>De : Joel Shellman [mailto:[EMAIL PROTECTED]
> >>Envoyé : mardi 25 mai 2004 20:04
> >>À : Maven Users List
> >>Objet : Re: Packaging up a build
> >>
> >>This is certainly helpful, thank you.
> >>
> >>Any chance that there would be support for war or ear file buiding? Does
> >>this only support compilation and jar?
> >>
> >>Thanks,
> >>
> >>-joel
> >>
> >>
> >>Göschl,Siegfried wrote:
> >>
> >>
> >>
> >>>Hi Joel,
> >>>
> >>>Check out the dist plugin (run 'maven -g')
> >>>
> >>>E.g. 'maven dist:build-src' creates a source distribution
> >>>
> >>>Cheers,
> >>>
> >>>Siegfried Goeschl
> >>>
> >>>-----Original Message-----
> >>>From: Joel Shellman [mailto:[EMAIL PROTECTED]
> >>>Sent: Dienstag, 25. Mai 2004 19:25
> >>>To: Maven Users List
> >>>Subject: Packaging up a build
> >>>
> >>>
> >>>I'm looking to switch our development to using Maven. A coworker has
> >>>told me that he needs a way to zip up our source and send it to someone
> >>>else so they can build it. The concern is this would be difficult if we
> >>>were using maven (he says requiring them to install maven is
> >>>
> >>>
> >>unacceptable).
> >>
> >>
> >>>Are there any tools or functions out there that would make it easier to
> >>>do this? I guess what we would need is an "export to ant
> script" sort of
> >>>function that also included all the dependent libraries.
> >>>
> >>>Thank you,
> >>>
> >>>Joel Shellman
> >>>
> >>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to