Author: aadamchik
Date: Wed Jun  7 08:02:39 2006
New Revision: 412418

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

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

Modified: 
incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/pom.xml?rev=412418&r1=412417&r2=412418&view=diff
==============================================================================
--- incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/pom.xml 
(original)
+++ incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/pom.xml 
Wed Jun  7 08:02:39 2006
@@ -1,19 +1,37 @@
 <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>
+    <version>3.0-SNAPSHOT</version>
+    
     <artifactId>modeler-plugin</artifactId>
     <packaging>jar</packaging>
     <name>CayenneModeler Plugin</name>
     
-    <dependencies>
+    <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>
             <groupId>org.platonos</groupId>
             <artifactId>plugin-engine</artifactId>

Added: 
incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/src/main/assembly/package.xml
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/src/main/assembly/package.xml?rev=412418&view=auto
==============================================================================
--- 
incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/src/main/assembly/package.xml
 (added)
+++ 
incubator/cayenne/main/branches/PROTO-3.0/modeler/modeler-plugin/src/main/assembly/package.xml
 Wed Jun  7 08:02:39 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


Reply via email to