tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1230027 - /tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml
Date Wed, 11 Jan 2012 13:39:56 GMT
Author: olamy
Date: Wed Jan 11 13:39:56 2012
New Revision: 1230027

URL: http://svn.apache.org/viewvc?rev=1230027&view=rev
Log:
run archetype it test only in run-its profile

Modified:
    tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml

Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml?rev=1230027&r1=1230026&r2=1230027&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml (original)
+++ tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml Wed Jan 11 13:39:56 2012
@@ -83,18 +83,26 @@
         </plugin>
       </plugins>
     </pluginManagement>
+  </build>
 
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-archetype-plugin</artifactId>
-        <version>${archetypeVersion}</version>
-        <configuration>
-          <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
-          <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
-        </configuration>
-      </plugin>
-    </plugins>
 
-  </build>
+  <profiles>
+    <profile>
+      <id>run-its</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-archetype-plugin</artifactId>
+            <version>${archetypeVersion}</version>
+            <configuration>
+              <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
+              <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message