Author: gnodet
Date: Mon Sep 21 11:42:08 2009
New Revision: 817212

URL: http://svn.apache.org/viewvc?rev=817212&view=rev
Log:
[pom] Make sure the two descriptors (bin, project) for the maven assembly 
plugin are not part of the plugin global configuration, else there's no way to 
remove those in subprojects

Modified:
    felix/trunk/pom/pom.xml

Modified: felix/trunk/pom/pom.xml
URL: 
http://svn.apache.org/viewvc/felix/trunk/pom/pom.xml?rev=817212&r1=817211&r2=817212&view=diff
==============================================================================
--- felix/trunk/pom/pom.xml (original)
+++ felix/trunk/pom/pom.xml Mon Sep 21 11:42:08 2009
@@ -106,12 +106,6 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-assembly-plugin</artifactId>
-            <configuration>
-              <descriptorRefs>
-                <descriptorRef>bin</descriptorRef>
-                <descriptorRef>project</descriptorRef>
-              </descriptorRefs>
-            </configuration>
             <executions>
               <execution>
                 <id>make-assembly</id>
@@ -120,6 +114,10 @@
                   <goal>single</goal>
                 </goals>
                 <configuration>
+                  <descriptorRefs>
+                    <descriptorRef>bin</descriptorRef>
+                    <descriptorRef>project</descriptorRef>
+                  </descriptorRefs>
                   <!-- we don't want to attach all the assemblies, such as bz2 
-->
                   <attach>false</attach>
                 </configuration>


Reply via email to