RE: [m2] assembly : assembling multiple bundles
That was what I feared :/ Thx anyway for your answer. I'm looking forward for the next version of M2 ^^ -Message d'origine- De : Brett Porter [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 novembre 2005 04:34 À : Maven Users List Objet : Re: [m2] assembly : assembling multiple bundles That's correct. It will be fixed as time permits or patches arrive... there isn't really a workaround right now. On 11/17/05, Cabasson Denis <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the m2 assembly:assembly plugin. It works fine, and I have > created 2 descriptors to assemble my project. > > Problem is I'd like them both to execute when I run the assemblt:assembly > command. > > I can do this using the "mvn assembly:assemble > -Dmaven.assembly.descriptor=..." syntaw and running it twice with different > parameters. > But it would be ways more convenient to have them both in pom and get them > executed in a single command. > > I have tried the following in the pom (in the build/plugins part): > > org.apache.maven.plugins > maven-assembly-plugin > > > descriptor1 > > src/main/assembly/descriptor1.xml > > > > descriptor2 > > src/main/assembly/descriptor2.xml > > > > > > But that's not working and the assembly plugin is complaining about not > finding its descriptor. > > Guess this has to do with the issue: > http://jira.codehaus.org/browse/MNG-1293. > > Anyone has a clue how to make this work? Is there a workaround? Is it > scheduled to be fixed so as to enable multiple executions of the assembly > plugin? > > Thx > > Denis CABASSON > > - > 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]
Re: [m2] assembly : assembling multiple bundles
That's correct. It will be fixed as time permits or patches arrive... there isn't really a workaround right now. On 11/17/05, Cabasson Denis <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the m2 assembly:assembly plugin. It works fine, and I have > created 2 descriptors to assemble my project. > > Problem is I'd like them both to execute when I run the assemblt:assembly > command. > > I can do this using the "mvn assembly:assemble > -Dmaven.assembly.descriptor=..." syntaw and running it twice with different > parameters. > But it would be ways more convenient to have them both in pom and get them > executed in a single command. > > I have tried the following in the pom (in the build/plugins part): > > org.apache.maven.plugins > maven-assembly-plugin > > > descriptor1 > > src/main/assembly/descriptor1.xml > > > > descriptor2 > > src/main/assembly/descriptor2.xml > > > > > > But that's not working and the assembly plugin is complaining about not > finding its descriptor. > > Guess this has to do with the issue: > http://jira.codehaus.org/browse/MNG-1293. > > Anyone has a clue how to make this work? Is there a workaround? Is it > scheduled to be fixed so as to enable multiple executions of the assembly > plugin? > > Thx > > Denis CABASSON > > - > 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]
[m2] assembly : assembling multiple bundles
Hi, I'm trying to use the m2 assembly:assembly plugin. It works fine, and I have created 2 descriptors to assemble my project. Problem is I'd like them both to execute when I run the assemblt:assembly command. I can do this using the "mvn assembly:assemble -Dmaven.assembly.descriptor=..." syntaw and running it twice with different parameters. But it would be ways more convenient to have them both in pom and get them executed in a single command. I have tried the following in the pom (in the build/plugins part): org.apache.maven.plugins maven-assembly-plugin descriptor1 src/main/assembly/descriptor1.xml descriptor2 src/main/assembly/descriptor2.xml But that's not working and the assembly plugin is complaining about not finding its descriptor. Guess this has to do with the issue: http://jira.codehaus.org/browse/MNG-1293. Anyone has a clue how to make this work? Is there a workaround? Is it scheduled to be fixed so as to enable multiple executions of the assembly plugin? Thx Denis CABASSON - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]