RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Adrian Gonzalez
If I understand Maven correclty (I'm quite a newbie), there can only be one plugin of the same groupId / artifactId in the plugins element. If you have multiple execution elements you should put them together in . So your pom.xml should rather loog like : 4.0.0 com.axway SimpleMavenProject

RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Veyret Stephane
t does not work... -Message d'origine- De : Adrian Gonzalez [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 octobre 2007 10:29 À : Maven Users List Objet : RE : Configuration not working for multiple calls of same plugin If I understand Maven correclty (I'm quite a newbie), there can

RE: Configuration not working for multiple calls of same plugin

2007-10-17 Thread Jörg Schaible
Veyret Stephane wrote on Wednesday, October 17, 2007 10:10 AM: > Hi, > > I got into a very strange problem. I think this is an issue, > but I would like to have your opinion first. > > In the following pom.xml file, I have got 2 calls to the > maven-jar-plugin. I need to do that, because there a

RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Adrian Gonzalez
d this is the first time it does not > work... > > -Message d'origine- > De : Adrian Gonzalez [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 17 octobre 2007 10:29 > À : Maven Users List > Objet : RE : Configuration not working for multiple > calls of same plugin > >

RE: RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Jörg Schaible
Veyret Stephane wrote on Wednesday, October 17, 2007 10:40 AM: > Hi Adrian, > > Thank you for your answer. > > Actually, I can't do what you suggest for I need to execute > other plugins between jar building and jar signing. Anyway, I > often need to separate 2 plugin executions, I've never seen

RE: RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Veyret Stephane
nvoyé : mercredi 17 octobre 2007 11:12 À : Maven Users List Objet : RE : Configuration not working for multiple calls of same plugin As Joerg says, just merging the two execution in the same executions element, and including a phase element ? ear-eclipse-manifest generate-resources ... an

RE: RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Jörg Schaible
Veyret Stephane wrote on Wednesday, October 17, 2007 11:25 AM: > Thanks all for suggestions. The problem is that there is not > an infinite number of phases in a standard lifecycle, and I > cannot take another phase than the default one (packaging) > for these. Other phases are already used for ot

RE: RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Veyret Stephane
> OK. This one is true. But IIRC there is always a pre- and post-phase also. So > try to use post-package to sign > the jar. Yes, I'll try this. But the question is: do you think this is a bug, especially knowing that the pom generated by help:effective-pom works correctly!

RE: RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Jörg Schaible
Veyret Stephane wrote on Wednesday, October 17, 2007 1:42 PM: >> OK. This one is true. But IIRC there is always a pre- and > post-phase also. So try to use post-package to sign >> the jar. > > Yes, I'll try this. But the question is: do you think this is > a bug, especially knowing that the pom g

RE: RE : Configuration not working for multiple calls of same plugin

2007-10-17 Thread Veyret Stephane
> What do you mean by "the effective-pom works correctly"? How does it look > like? Two different entries for the > plugin, one for each phase/configuration ?? It creates the same pom than in my example, except that everything that is in the profiles zone is also copied outside. > IMHO you've h