You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2011/03/16 15:02:01 UTC
svn commit: r1082152 - /karaf/trunk/archetypes/pom.xml
Author: gnodet
Date: Wed Mar 16 14:02:01 2011
New Revision: 1082152
URL: http://svn.apache.org/viewvc?rev=1082152&view=rev
Log:
Add profile to only run archetypes itests on mvn3
Modified:
karaf/trunk/archetypes/pom.xml
Modified: karaf/trunk/archetypes/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/archetypes/pom.xml?rev=1082152&r1=1082151&r2=1082152&view=diff
==============================================================================
--- karaf/trunk/archetypes/pom.xml (original)
+++ karaf/trunk/archetypes/pom.xml Wed Mar 16 14:02:01 2011
@@ -33,7 +33,27 @@
<modules>
<module>command</module>
- <module>itests</module>
</modules>
+ <profiles>
+ <profile>
+ <id>maven-3</id>
+ <activation>
+ <file>
+ <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
+ <exists>${basedir}</exists>
+ </file>
+ </activation>
+ </profile>
+ <profile>
+ <id>maven-2</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>itests</module>
+ </modules>
+ </profile>
+ </profiles>
+
</project>