svn commit: r1000335 - /logging/chainsaw/trunk/pom.xml

[email protected]
Newsgroups gmane.comp.apache.logging
Message-ID <[email protected]>
Author: sdeboy
Date: Thu Sep 23 06:55:04 2010
New Revision: 1000335

URL: http://svn.apache.org/viewvc?rev=1000335&view=rev
Log:
chainsaw pom updates
 - moved appassembler plugin ahead of assembly plugin
 - fixed assembly plugin content (configurations weren't nested in executions)
Chainsaw can now be built using: mvn clean site:site package install osxappbundle:bundle

Modified:
    logging/chainsaw/trunk/pom.xml

Modified: logging/chainsaw/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/pom.xml?rev=1000335&r1=1000334&r2=1000335&view=diff
==============================================================================
--- logging/chainsaw/trunk/pom.xml (original)
+++ logging/chainsaw/trunk/pom.xml Thu Sep 23 06:55:04 2010
@@ -222,24 +222,49 @@
           </dependency>
         </dependencies>
       </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>appassembler-maven-plugin</artifactId>
+          <executions>
+            <execution>
+              <phase>package</phase>
+              <goals>
+                <goal>assemble</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <showConsoleWindow>false</showConsoleWindow>
+            <programs>
+              <program>
+                <mainClass>${chainsaw.mainclass}</mainClass>
+                <name>chainsaw</name>
+              </program>
+            </programs>
+          </configuration>
+        </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <version>2.2-beta-5</version>
           <executions>
             <execution>
               <id>make-assembly</id>
               <phase>package</phase>
+              <goals>
+                <goal>single</goal>
+              </goals>
+                <configuration>
+                  <descriptors>
+                    <descriptor>src/assembly/bin.xml</descriptor>
+                    <descriptor>src/assembly/standalone.xml</descriptor>
+                  </descriptors>
+        <!-- we append the assembly ID here,but note that the bin assembly does not have an id specified
+            in its config, so it doesn't have a suffix -->
+                  <appendAssemblyId>true</appendAssemblyId>
+                </configuration>
             </execution>
           </executions>
-        <configuration>
-          <descriptors>
-            <descriptor>src/assembly/bin.xml</descriptor>
-			<descriptor>src/assembly/standalone.xml</descriptor>
-          </descriptors>
-<!-- we append the assembly ID here,but note that the bin assembly does not have an id specified
-	in its config, so it doesn't have a suffix -->
-          <appendAssemblyId>true</appendAssemblyId>
-        </configuration>
       </plugin>
       <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
@@ -290,27 +315,6 @@
         </executions>
       </plugin>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>appassembler-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>assemble</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <showConsoleWindow>false</showConsoleWindow>
-          <programs>
-            <program>
-              <mainClass>${chainsaw.mainclass}</mainClass>
-              <name>chainsaw</name>
-            </program>
-          </programs>
-        </configuration>
-      </plugin>
-      <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>osxappbundle-maven-plugin</artifactId>
          <version>1.0-alpha-2</version>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.