cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r412756 - /incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml
Date Thu, 08 Jun 2006 14:07:47 GMT
Author: aadamchik
Date: Thu Jun  8 07:07:46 2006
New Revision: 412756

URL: http://svn.apache.org/viewvc?rev=412756&view=rev
Log:
splitting build profiles into standalone and assembly

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=412756&r1=412755&r2=412756&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 Thu Jun  8 07:07:46
2006
@@ -8,27 +8,43 @@
     <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>
+    <profiles>
+        <profile>
+            <id>standalone</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+        </profile>
+        <profile>
+            <id>assembly</id>
+            <activation>
+                <property>
+                    <name>assembly-profile</name>
+                </property>
+            </activation>
+            <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>
+        </profile>
+    </profiles>
     
     <dependencies>
 		



Mime
View raw message