incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject svn commit: r1207499 - /incubator/ace/branches/0.8.1-RC/org.apache.ace.launcher/pom.xml
Date Mon, 28 Nov 2011 18:47:22 GMT
Author: pauls
Date: Mon Nov 28 18:47:21 2011
New Revision: 1207499

URL: http://svn.apache.org/viewvc?rev=1207499&view=rev
Log:
Rollback and fix the packaging

Modified:
    incubator/ace/branches/0.8.1-RC/org.apache.ace.launcher/pom.xml

Modified: incubator/ace/branches/0.8.1-RC/org.apache.ace.launcher/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ace/branches/0.8.1-RC/org.apache.ace.launcher/pom.xml?rev=1207499&r1=1207498&r2=1207499&view=diff
==============================================================================
--- incubator/ace/branches/0.8.1-RC/org.apache.ace.launcher/pom.xml (original)
+++ incubator/ace/branches/0.8.1-RC/org.apache.ace.launcher/pom.xml Mon Nov 28 18:47:21 2011
@@ -21,12 +21,13 @@
 
     <modelVersion>4.0.0</modelVersion>
 
-    <parent><groupId>org.apache.ace</groupId><artifactId>ace-pom</artifactId><version>0.8.1-incubator</version><relativePath>../ace-pom/pom.xml</relativePath></parent>
+    <parent><groupId>org.apache.ace</groupId><artifactId>ace-pom</artifactId><version>0.8.1-incubator-SNAPSHOT</version><relativePath>../ace-pom/pom.xml</relativePath></parent>
 
     <artifactId>org.apache.ace.launcher</artifactId>
 
-    <version>0.8.2-incubator-SNAPSHOT</version>
+    <version>0.8.1-incubator-SNAPSHOT</version>
     <name>Apache ACE :: Launcher</name>
+    <packaging>jar</packaging>
     <description />
 <packaging>jar</packaging>
     <scm>
@@ -37,6 +38,40 @@
 
     <build>
         <plugins>
+                    <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+                <execution>
+                    <id>copy-dependencies</id>
+                    <phase>prepare-package</phase>
+                    <goals>
+                        <goal>copy-dependencies</goal>
+                    </goals>
+                    <configuration>
+                        <outputDirectory>${project.build.directory}/lib</outputDirectory>
+                        <overWriteReleases>false</overWriteReleases>
+                        <overWriteSnapshots>false</overWriteSnapshots>
+                        <overWriteIfNewer>true</overWriteIfNewer>
+                    </configuration>
+                </execution>
+            </executions>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <configuration>
+                <archive>
+                    <manifest>
+                        <addClasspath>true</addClasspath>
+                        <classpathPrefix>lib/</classpathPrefix>
+                        <mainClass>org.apache.ace.launcher.Main</mainClass>
+                    </manifest>
+                </archive>
+            </configuration>
+        </plugin>
+        
+        <!-- 
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <executions>
@@ -60,11 +95,12 @@
                     </execution>
                 </executions>
             </plugin>
+             -->
         </plugins>
     </build>
 
     <dependencies>
-        <dependency><groupId>org.apache.ace</groupId><version>0.8.1-incubator</version>
+        <dependency><groupId>org.apache.ace</groupId><version>0.8.1-incubator-SNAPSHOT</version>
             <artifactId>org.apache.ace.managementagent</artifactId>
             <exclusions>
                 <exclusion>



Mime
View raw message