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:52 UTC

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

Author: aadamchik
Date: Thu Jun  8 07:07:52 2006
New Revision: 412757

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

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=412757&r1=412756&r2=412757&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 Thu Jun  8 07:07:52 2006
@@ -9,27 +9,43 @@
     <packaging>jar</packaging>
     <name>CayenneModeler 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>
         <dependency>