[jbosstools-commits] JBoss Tools SVN: r42536 - in trunk/build: target-platform and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jul 12 08:07:12 EDT 2012


Author: mickael_istria
Date: 2012-07-12 08:07:11 -0400 (Thu, 12 Jul 2012)
New Revision: 42536

Modified:
   trunk/build/parent/pom.xml
   trunk/build/target-platform/pom.xml
Log:
JBIDE-12003: Set up target-platform-validation-plugin on target-platform pom

Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml	2012-07-12 10:36:24 UTC (rev 42535)
+++ trunk/build/parent/pom.xml	2012-07-12 12:07:11 UTC (rev 42536)
@@ -7,9 +7,6 @@
 	<version>3.4.0.M1-SNAPSHOT</version>
 	<name>JBoss Tools Parent</name>
 	<packaging>pom</packaging>
-	<modules>
-		<module>../target-platform</module>
-	</modules>
 
 	<properties>
 		<!-- to build w/ latest 0.15.0-SNAPSHOT, run `mvn install -DtychoVersion=0.15.0-SNAPSHOT` -->

Modified: trunk/build/target-platform/pom.xml
===================================================================
--- trunk/build/target-platform/pom.xml	2012-07-12 10:36:24 UTC (rev 42535)
+++ trunk/build/target-platform/pom.xml	2012-07-12 12:07:11 UTC (rev 42536)
@@ -18,11 +18,34 @@
 		<eclipse.version>4.2</eclipse.version>
 		<eclipse.type>platform</eclipse.type>
 		<eclipse.URL>http://www.eclipse.org/downloads/download.php?r=1&amp;file=/eclipse/downloads/drops4/R-4.2-201206081400/</eclipse.URL>
+		<!-- Temporary before release of Tycho 0.16 -->
+		<!-- JBIDE-12003 -->
+		<tychoVersion>0.16.0-SNAPSHOT</tychoVersion>
+		<tychoExtrasVersion>0.16.0-SNAPSHOT</tychoExtrasVersion>
 	</properties>
 
 	<build>
 		<plugins>
 			<plugin>
+				<groupId>org.eclipse.tycho.extras</groupId>
+				<artifactId>target-platform-validation-plugin</artifactId>
+				<version>${tychoExtrasVersion}</version>
+				<executions>
+					<execution>
+						<phase>validate</phase>
+						<goals>
+							<goal>validate-target-platform</goal>
+						</goals>
+						<configuration>
+							<targetFiles>
+								<param>unified.target</param>
+							</targetFiles>
+							<failOnError>true</failOnError>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>build-helper-maven-plugin</artifactId>
 				<version>1.3</version>
@@ -198,5 +221,12 @@
 			<layout>default</layout>
 		</snapshotRepository>
 	</distributionManagement>
+	
+	<pluginRepositories>
+  <pluginRepository>
+    <id>tycho-snapshots</id>
+    <url>https://oss.sonatype.org/content/groups/public/</url>
+  </pluginRepository>
+</pluginRepositories>
 
 </project>



More information about the jbosstools-commits mailing list