Read the assembly plugin doc. There is more than the "assembly" goal - try using the "attached" goal and bind it to your "packaging" phase in the pom (hint: project/build/plugins/plugin/executions/execution/phase).
Eric On 3/23/07, Giuseppe Greco <[EMAIL PROTECTED]> wrote:
I also need something similar... I want to create a package that constains the source code of all the project modules j3d. > Hello, > > I want to pack jar archive, but I need the *.java classes also included > into this jar. > I need this, because I want other people that use my jar project to see > the documentation of all methods ? > Not with maven assembly plugin, rather with "mvn package" and some > additional option. > > Thanks in advance! > > --- > Sincerely > Boris Valkov > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------- Giuseppe Greco Via Carà 26 6928 Manno (TI) Switzerland call giuseppe.greco via Skype phone: +41 (0)91 604 67 65 mobile: +41 (0)79 590 33 06 email: [EMAIL PROTECTED] ---------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Eric Redmond http://codehaus.org/~eredmond