[jbosstools-commits] JBoss Tools SVN: r22867 - trunk.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jun 17 16:03:25 EDT 2010


Author: dgolovin
Date: 2010-06-17 16:03:24 -0400 (Thu, 17 Jun 2010)
New Revision: 22867

Modified:
   trunk/parent-pom.xml
Log:
target.artifact definition moved to helios profile, which is activated by default.
helios-no-target profile added to use only required update sites,so if you do-not need target.platform add -Phelios-no-target to run build faster

default behaviour is not affected by this changes



Modified: trunk/parent-pom.xml
===================================================================
--- trunk/parent-pom.xml	2010-06-17 19:59:52 UTC (rev 22866)
+++ trunk/parent-pom.xml	2010-06-17 20:03:24 UTC (rev 22867)
@@ -40,14 +40,6 @@
 				<version>${tychoVersion}</version>
 				<configuration>
 					<resolver>p2</resolver>
-					<target>
-						<artifact>
-							<groupId>org.jboss.tools</groupId>
-							<artifactId>target-platform</artifactId>
-							<version>0.0.1-SNAPSHOT</version>
-							<classifier>${target.platform}</classifier>
-						</artifact>
-					</target>
 					<ignoreTychoRepositories>true</ignoreTychoRepositories>
 					<environments>
 						<environment>
@@ -178,6 +170,25 @@
 			<properties>
 				<target.platform>e36-wtp32</target.platform>
 			</properties>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.sonatype.tycho</groupId>
+						<artifactId>target-platform-configuration</artifactId>
+						<version>${tychoVersion}</version>
+						<configuration>
+							<target>
+								<artifact>
+									<groupId>org.jboss.tools</groupId>
+									<artifactId>target-platform</artifactId>
+									<version>0.0.1-SNAPSHOT</version>
+									<classifier>${target.platform}</classifier>
+								</artifact>
+							</target>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
 			<repositories>
 				<!-- <repository> <id>helios</id> <url>http://download.eclipse.org/releases/helios/</url> 
 					<layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> 
@@ -247,6 +258,92 @@
 				</repository>
 			</repositories>
 		</profile>
+		<!-- Time saver for building everything form scratch 
+		     use -P helios-no-target to enable-->
+		<profile>
+			<id>helios-no-target</id>
+			<repositories>
+				<repository>
+					<id>helios</id>
+					<url>http://download.eclipse.org/releases/helios/</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+				<repository>
+					<id>webtools32</id>
+					<url>http://download.eclipse.org/webtools/repository/helios</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+				<repository>
+					<id>eclipse36m</id>
+					<url>http://download.eclipse.org/eclipse/updates/3.6milestones/</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+				<repository>
+					<id>birt26i</id>
+					<url>http://download.eclipse.org/birt/update-site/2.6-interim/</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+				<repository>
+					<id>swtbot-helios</id>
+					<url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/
+					</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+				<repository>
+					<id>m2eclipse</id>
+					<url>http://m2eclipse.sonatype.org/sites/m2e/</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+				<repository>
+					<id>m2eclipse-extras</id>
+					<url>http://m2eclipse.sonatype.org/sites/m2e-extras/</url>
+					<layout>p2</layout>
+					<snapshots>
+						<enabled>true</enabled>
+					</snapshots>
+					<releases>
+						<enabled>true</enabled>
+					</releases>
+				</repository>
+			</repositories>
+		</profile>
+
 		<!-- TODO: verify that this profile overrides the default profile if BUILD_NUMBER 
 			is set (by a Hudson job) -->
 		<profile>
@@ -273,11 +370,6 @@
 		</profile>
 		<profile>
 			<id>svn-repos</id>
-			<activation>
-				<property>
-					<name>svn</name>
-				</property>
-			</activation>
 			<repositories>
 				<repository>
 					<id>svnkit13</id>



More information about the jbosstools-commits mailing list