geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r440136 - in /geronimo/server/trunk: BUILDING.txt pom.xml
Date Mon, 04 Sep 2006 17:51:03 GMT
Author: jdillon
Date: Mon Sep  4 10:51:02 2006
New Revision: 440136

URL: http://svn.apache.org/viewvc?view=rev&rev=440136
Log:
Add tools profile, which hooks up a few plugins so that their short prefixes are registered
Updated the build docs to show -Ptools for geronimo:*

Modified:
    geronimo/server/trunk/BUILDING.txt
    geronimo/server/trunk/pom.xml

Modified: geronimo/server/trunk/BUILDING.txt
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/BUILDING.txt?view=diff&rev=440136&r1=440135&r2=440136
==============================================================================
--- geronimo/server/trunk/BUILDING.txt (original)
+++ geronimo/server/trunk/BUILDING.txt Mon Sep  4 10:51:02 2006
@@ -38,11 +38,9 @@
 
 Or, use the geronimo-maven-plugin to start the server:
 
-    mvn geronimo:start
+    mvn -Ptools geronimo:start
     ...
-    mvn geronimo:stop
-
-NOTE: See wiki documentation for required Maven settings to get the 'geronimo' prefix to
work.
+    mvn -Ptools geronimo:stop
 
 
 Subsequent builds

Modified: geronimo/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?view=diff&rev=440136&r1=440135&r2=440136
==============================================================================
--- geronimo/server/trunk/pom.xml (original)
+++ geronimo/server/trunk/pom.xml Mon Sep  4 10:51:02 2006
@@ -1073,7 +1073,35 @@
                 <module>assemblies</module>
             </modules>
         </profile>
+        
+        <!--
+        NOTE: This profile is used to enable plugin prefixes for easy command-line usage,
as in:
+        
+              mvn -Ptools geronimo:start
+        -->
+        <profile>
+            <id>tools</id>
 
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.geronimo.plugins</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                    </plugin>
+                    
+                    <plugin>
+                        <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                        <artifactId>tools-maven-plugin</artifactId>
+                    </plugin>
+                    
+                    <plugin>
+                        <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                        <artifactId>maven-maven-plugin</artifactId>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        
         <!--
         NOTE: The staged build is used to get around a problem with Maven
               and extension plugins.



Mime
View raw message