geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r498337 - in /geronimo/samples/trunk: calculator-stateless-pojo/calculator-stateless-ear/pom.xml geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml pom.xml
Date Sun, 21 Jan 2007 14:59:10 GMT
Author: prasad
Date: Sun Jan 21 06:59:10 2007
New Revision: 498337

URL: http://svn.apache.org/viewvc?view=rev&rev=498337
Log:
* created -Puser profile to start-server and deploy sample application.xml
* moved configuration up to top level and cleaned up individual sample poms

Modified:
    geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
    geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
    geronimo/samples/trunk/pom.xml

Modified: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml?view=diff&rev=498337&r1=498336&r2=498337
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml (original)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml Sun
Jan 21 06:59:10 2007
@@ -80,36 +80,22 @@
                     </modules>
                 </configuration>
             </plugin>
-
-            <plugin>
-                <groupId>org.apache.geronimo.plugins</groupId>
-                <artifactId>geronimo-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>start-server</id>
-                        <phase>install</phase>
-                        <goals>
-                            <goal>start</goal>
-                        </goals>
-                        <configuration>
-                            <background>true</background>
-                        </configuration>
-                    </execution>
-
-                    <execution>
-                        <id>deploy-ears</id>
-                        <phase>install</phase>
-                        <goals>
-                            <goal>deploy-module</goal>
-                        </goals>
-                        <configuration>
-                            <moduleArchive>${project.build.directory}/${artifactId}-${version}.ear</moduleArchive>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <profile>
+            <id>user</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.geronimo.plugins</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     
 
 </project>

Modified: geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml?view=diff&rev=498337&r1=498336&r2=498337
==============================================================================
--- geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
(original)
+++ geronimo/samples/trunk/geronimo-samples-archetype/src/main/resources/archetype-resources/sample-ear/pom.xml
Sun Jan 21 06:59:10 2007
@@ -77,36 +77,22 @@
                     </modules>
                 </configuration>
             </plugin>
-
-            <plugin>
-                <groupId>org.apache.geronimo.plugins</groupId>
-                <artifactId>geronimo-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>start-server</id>
-                        <phase>install</phase>
-                        <goals>
-                            <goal>start</goal>
-                        </goals>
-                        <configuration>
-                            <background>true</background>
-                        </configuration>
-                    </execution>
-
-                    <execution>
-                        <id>deploy-ears</id>
-                        <phase>install</phase>
-                        <goals>
-                            <goal>deploy-module</goal>
-                        </goals>
-                        <configuration>
-                            <moduleArchive>${project.build.directory}/${pom.artifactId}-${pom.version}.ear</moduleArchive>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <profile>
+            <id>user</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.geronimo.plugins</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 
 
 </project>

Modified: geronimo/samples/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/pom.xml?view=diff&rev=498337&r1=498336&r2=498337
==============================================================================
--- geronimo/samples/trunk/pom.xml (original)
+++ geronimo/samples/trunk/pom.xml Sun Jan 21 06:59:10 2007
@@ -80,48 +80,6 @@
                 </configuration>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.geronimo.plugins</groupId>
-                    <artifactId>geronimo-maven-plugin</artifactId>
-                    <version>${version}</version>
-                    <configuration>
-                        <assemblies>
-                            <assembly>
-                                <id>jetty</id>
-                                <groupId>org.apache.geronimo.assemblies</groupId>
-                                <artifactId>geronimo-jetty6-jee5</artifactId>
-                                <version>${version}</version>
-                                <classifier>bin</classifier>
-                                <type>zip</type>
-                            </assembly>
-                            <assembly>
-                                <id>tomcat</id>
-                                <groupId>org.apache.geronimo.assemblies</groupId>
-                                <artifactId>geronimo-tomcat6-jee5</artifactId>
-                                <version>${version}</version>
-                                <classifier>bin</classifier>
-                                <type>zip</type>
-                            </assembly>
-                        </assemblies>
-
-                        <defaultAssemblyId>jetty</defaultAssemblyId>
-
-                        <optionSets>
-                            <optionSet>
-                                <id>debug</id>
-                                <options>
-                                    <option>-Xdebug</option>
-                                    <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
-                                </options>
-                            </optionSet>
-                        </optionSets>
-                    </configuration>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
     <repositories>
@@ -213,5 +171,72 @@
             </plugin>
         </plugins>
     </reporting>
+
+    <profiles>
+        <profile>
+            <id>user</id>
+            <build>
+                <pluginManagement>
+                    <plugins>
+                        <plugin>
+                            <groupId>org.apache.geronimo.plugins</groupId>
+                            <artifactId>geronimo-maven-plugin</artifactId>
+                            <executions>
+                                <execution>
+                                    <id>start-server</id>
+                                    <phase>install</phase>
+                                    <goals>
+                                        <goal>start</goal>
+                                    </goals>
+                                    <configuration>
+                                        <assemblies>
+                                            <assembly>
+                                                <id>jetty</id>
+                                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                                <artifactId>geronimo-jetty6-jee5</artifactId>
+                                                <version>${version}</version>
+                                                <classifier>bin</classifier>
+                                                <type>zip</type>
+                                            </assembly>
+                                            <assembly>
+                                                <id>tomcat</id>
+                                                <groupId>org.apache.geronimo.assemblies</groupId>
+                                                <artifactId>geronimo-tomcat6-jee5</artifactId>
+                                                <version>${version}</version>
+                                                <classifier>bin</classifier>
+                                                <type>zip</type>
+                                            </assembly>
+                                        </assemblies>
+                                        <defaultAssemblyId>jetty</defaultAssemblyId>
+                                        <optionSets>
+                                            <optionSet>
+                                                <id>debug</id>
+                                                <options>
+                                                    <option>-Xdebug</option>
+                                                    <option>-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</option>
+                                                </options>
+                                            </optionSet>
+                                        </optionSets>
+                                        <background>true</background>
+                                    </configuration>
+                                </execution>
+
+                                <execution>
+                                    <id>deploy-ears</id>
+                                    <phase>install</phase>
+                                    <goals>
+                                        <goal>deploy-module</goal>
+                                    </goals>
+                                    <configuration>
+                                        <moduleArchive>${project.build.directory}/${artifactId}-${version}.ear</moduleArchive>
+                                    </configuration>
+                                </execution>
+                            </executions>
+                        </plugin>
+                    </plugins>
+                </pluginManagement>
+            </build>
+        </profile>
+    </profiles>
 
 </project>



Mime
View raw message