wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r1088397 - /incubator/wink/trunk/wink-assembly/apache-wink/pom.xml
Date Sun, 03 Apr 2011 20:04:53 GMT
Author: lresende
Date: Sun Apr  3 20:04:53 2011
New Revision: 1088397

URL: http://svn.apache.org/viewvc?rev=1088397&view=rev
Log:
Tweaking the invocation of assembly-plugin as the latest release have strict requirements
regarding the assembly 'id'

Modified:
    incubator/wink/trunk/wink-assembly/apache-wink/pom.xml

Modified: incubator/wink/trunk/wink-assembly/apache-wink/pom.xml
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-assembly/apache-wink/pom.xml?rev=1088397&r1=1088396&r2=1088397&view=diff
==============================================================================
--- incubator/wink/trunk/wink-assembly/apache-wink/pom.xml (original)
+++ incubator/wink/trunk/wink-assembly/apache-wink/pom.xml Sun Apr  3 20:04:53 2011
@@ -120,11 +120,13 @@
             </dependencies>
             <build>
                 <plugins>
+
                     <plugin>
                         <inherited>false</inherited>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-assembly-plugin</artifactId>
                         <executions>
+                            <!-- Make the binary distribution -->						
                             <execution>
                                 <id>make-bin-assembly</id>
                                 <phase>package</phase>
@@ -133,13 +135,27 @@
                                 </goals>
                                 <configuration>
                                     <finalName>apache-wink-${project.version}</finalName>
-                                    <appendAssemblyId>true</appendAssemblyId>
+                                    <appendAssemblyId>false</appendAssemblyId>
<!-- For binary distro, don't need the assembly 'id' -->
                                     <descriptors>
                                         <descriptor>src/main/assembly/distbin.xml</descriptor>
-                                        <descriptor>src/main/assembly/distsrc.xml</descriptor>
                                     </descriptors>
                                 </configuration>
                             </execution>
+                            <!-- Make the source distribution -->
+                            <execution>
+                                <id>make-src-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                    <finalName>apache-wink-${project.version}</finalName>
+                                    <appendAssemblyId>true</appendAssemblyId>
+                                    <descriptors>
+                                        <descriptor>src/main/assembly/distsrc.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
+                            </execution>							
                         </executions>
                     </plugin>
                 </plugins>



Mime
View raw message