Have you try : <inherited>false</inherited> in the parent pom ?
- Olivier -----Message d'origine----- De : Howard Lewis Ship [mailto:[EMAIL PROTECTED] Envoyé : vendredi 24 février 2006 22:05 À : [email protected] Objet : Overriding parent plugin configuration in a module I have a parent POM that includes the following plugin <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>package</phase> <configuration> <descriptorId>src</descriptorId> </configuration> <goals> <goal>assembly</goal> </goals> </execution> </executions> </plugin> ... and this works fine in my modules. However, I have one module that wants to package a little differently: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>package</phase> <configuration> <descriptors> <descriptor>src/assembly/src-with-ppt.xml</descriptor> </descriptors> </configuration> <goals> <goal>assembly</goal> </goals> </execution> </executions> </plugin> This works too ... or should I say, "two", because I get a -src and a -src-with-ppt distro set. Is there a way to "turn off" a plugin from a parent POM? Also, I really want my custom assembly, which includes some additional files beyond the built-in src assembly, to create assemblies labeled "src". With the parent POM stuff, I get a conflict on the name. Assuming we overcome that, can I put <id>src</id> in my src-with-ppt.xml? Will that work, and is it legit? Thanks, -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -------------------------------------------------------------------------------------------------------------- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
