You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mr...@aim.com on 2010/09/27 15:35:09 UTC
getting all sources of a multimodulproject
Hi,
I have a multimodul project.
What is the best/easy way to create a zip containing all sources / javadocs from all modules ? (this modules themselve can either be projects or again multimodules) ?
Thanks
Re: getting all sources of a multimodulproject
Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Sep 27, 2010 at 11:00 AM, <mr...@aim.com> wrote:
> we have migrated our ant structure to maven projects and need to keep the existing distributions for legacy reasons.
>
> So what I'm looking for is a way to easily include all source files from the multimodule project in a zip which is given to the clients - there is always the way of having an external process grepping all source-jars and pack them together - I just was wondering if such thing already exists in maven.
>
> with the javadocs its the same. They dont need to be in the same zip file
You can use the Assembly Plugin to create any sort of file
distribution you need -- start here:
http://maven.apache.org/plugins/maven-assembly-plugin/
This is best done as an additional module in your project.
There are many different ways to configure it, so give it a try and
come back if you have more questions.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: getting all sources of a multimodulproject
Posted by mr...@aim.com.
we have migrated our ant structure to maven projects and need to keep the existing distributions for legacy reasons.
So what I'm looking for is a way to easily include all source files from the multimodule project in a zip which is given to the clients - there is always the way of having an external process grepping all source-jars and pack them together - I just was wondering if such thing already exists in maven.
with the javadocs its the same. They dont need to be in the same zip file
Thanks for the answer
-----Original Message-----
From: Wendy Smoak <ws...@gmail.com>
To: Maven Users List <us...@maven.apache.org>
Sent: Mon, Sep 27, 2010 4:12 pm
Subject: Re: getting all sources of a multimodulproject
On Mon, Sep 27, 2010 at 9:35 AM, <mr...@aim.com> wrote:
> What is the best/easy way to create a zip containing all sources / javadocs
from all modules ? (this modules themselve can either be projects or again
multimodules) ?
What for? Do you want a 'source distribution' that people can
download and use to build the project locally? Must the javadocs be
in the same zip file? Or do you want to make the sources and javadocs
available for debugging in an IDE?
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: getting all sources of a multimodulproject
Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Sep 27, 2010 at 9:35 AM, <mr...@aim.com> wrote:
> What is the best/easy way to create a zip containing all sources / javadocs from all modules ? (this modules themselve can either be projects or again multimodules) ?
What for? Do you want a 'source distribution' that people can
download and use to build the project locally? Must the javadocs be
in the same zip file? Or do you want to make the sources and javadocs
available for debugging in an IDE?
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org