[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
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@817212 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom/pom.xml b/pom/pom.xml
index 240eacb..12c9d4b 100644
--- a/pom/pom.xml
+++ b/pom/pom.xml
@@ -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>