You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2006/06/07 17:02:47 UTC

svn commit: r412419 - in /incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin: pom.xml src/main/assembly/ src/main/assembly/package.xml

Author: aadamchik
Date: Wed Jun  7 08:02:47 2006
New Revision: 412419

URL: http://svn.apache.org/viewvc?rev=412419&view=rev
Log:
finally setup maven assembly that works

Added:
    incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/src/main/assembly/
    incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/src/main/assembly/package.xml
Modified:
    incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml

Modified: incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml?rev=412419&r1=412418&r2=412419&view=diff
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml (original)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml Wed Jun  7 08:02:47 2006
@@ -1,19 +1,35 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     
-    <parent>
-        <groupId>org.apache.cayenne</groupId>
-        <artifactId>modeler</artifactId>
-        <version>3.0-SNAPSHOT</version>
-    </parent>
-    
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cayenne</groupId>
     <artifactId>swing-plugin</artifactId>
     <packaging>jar</packaging>
     <version>3.0-SNAPSHOT</version>
     <name>Generic Swing Plugin</name>
-	
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>package</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/package.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions> 
+            </plugin>
+        </plugins>
+    </build>
+    
     <dependencies>
 		
         <dependency>

Added: incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/src/main/assembly/package.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/src/main/assembly/package.xml?rev=412419&view=auto
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/src/main/assembly/package.xml (added)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/src/main/assembly/package.xml Wed Jun  7 08:02:47 2006
@@ -0,0 +1,20 @@
+<assembly>
+    <id>plugin</id>
+    <formats>
+        <format>dir</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>src/main/plugin</directory>
+            <outputDirectory>/</outputDirectory>
+        </fileSet>
+    </fileSets>
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>/</outputDirectory>
+            <unpack>false</unpack>
+            <scope>runtime</scope>
+        </dependencySet>
+    </dependencySets>
+</assembly>
\ No newline at end of file