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/08 16:07:47 UTC

svn commit: r412756 - /incubator/cayenne/main/branches/PROTO-3.0/modeler/swing-plugin/pom.xml

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>