Revision: 754
Author: heuermh
Date: Mon Oct 19 21:36:14 2009
Log: Issue 109 ; adding configuration for maven assembly plugin to examples  
and swt-examples
http://code.google.com/p/piccolo2d/source/detail?r=754

Modified:
  /piccolo2d.java/trunk/examples/pom.xml
  /piccolo2d.java/trunk/swt-examples/pom.xml

=======================================
--- /piccolo2d.java/trunk/examples/pom.xml      Wed Oct 14 18:02:32 2009
+++ /piccolo2d.java/trunk/examples/pom.xml      Mon Oct 19 21:36:14 2009
@@ -31,4 +31,24 @@
      </developerConnection>
       
<url>http://code.google.com/p/piccolo2d/source/browse/piccolo2d.java/trunk/examples</url>
    </scm>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <configuration>
+            <archive>
+              <manifest>
+                 
<mainClass>edu.umd.cs.piccolo.examples.ExampleRunner</mainClass>
+              </manifest>
+            </archive>
+            <descriptorRefs>
+              <descriptorRef>jar-with-dependencies</descriptorRef>
+            </descriptorRefs>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
  </project>
=======================================
--- /piccolo2d.java/trunk/swt-examples/pom.xml  Wed Oct 14 17:49:25 2009
+++ /piccolo2d.java/trunk/swt-examples/pom.xml  Mon Oct 19 21:36:14 2009
@@ -24,4 +24,24 @@
        <version>${project.version}</version>
      </dependency>
    </dependencies>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <configuration>
+            <archive>
+              <manifest>
+                 
<mainClass>edu.umd.cs.piccolox.swt.examples.SWTBasicExample</mainClass>
+              </manifest>
+            </archive>
+            <descriptorRefs>
+              <descriptorRef>jar-with-dependencies</descriptorRef>
+            </descriptorRefs>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
  </project>

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to