Author: dgolovin
Date: 2012-02-09 19:46:23 -0500 (Thu, 09 Feb 2012)
New Revision: 38586
Modified:
trunk/build/parent/pom.xml
Log:
moved target platform repository definition to default profile which is activated by
default
adde local.site profile activation rules. it is activated by BULD_NUMBER property
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2012-02-10 00:44:18 UTC (rev 38585)
+++ trunk/build/parent/pom.xml 2012-02-10 00:46:23 UTC (rev 38586)
@@ -465,6 +465,11 @@
without needing to use a local.site file -->
<profile>
<id>local.site</id>
+ <activation>
+ <property>
+ <name>BUILD_NUMBER</name>
+ </property>
+ </activation>
<repositories>
<repository>
<id>local.site</id>
@@ -762,31 +767,29 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <!-- Single repo containing contents of unified.target, but without using
+ the target file -->
+ <repository>
+ <id>jbosstools-target-site</id>
+ <url>${jbosstools-target-site}</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ </profile>
</profiles>
- <repositories>
-
- <!-- Single repo containing contents of unified.target, but without using
- the target file -->
- <repository>
- <id>jbosstools-target-site</id>
- <url>${jbosstools-target-site}</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <!-- do not needed because parent pom is not required anymore -->
- <!-- repository> <id>jboss-public-repository-group</id>
<name>JBoss Public
- Repository Group</name>
<
url>http://repository.jboss.org/nexus/content/groups/public/</url>
- <layout>default</layout> <releases>
<enabled>true</enabled> <updatePolicy>never</updatePolicy>
- </releases> <snapshots> <enabled>true</enabled>
<updatePolicy>never</updatePolicy>
- </snapshots> </repository -->
- </repositories>
-
<!-- Additional m2 repos to resolve things like
org.eclipse.tycho:tycho-maven-plugin:0.13.0-SNAPSHOT -->
<pluginRepositories>
<pluginRepository>