Author: nickboldt
Date: 2010-09-26 19:36:54 -0400 (Sun, 26 Sep 2010)
New Revision: 25176
Modified:
trunk/build/target-platform/e36-wtp32.target
trunk/build/target-platform/pom.xml
Log:
target platform should now also generate site/site.xml and site/pom.xml
Modified: trunk/build/target-platform/e36-wtp32.target
===================================================================
--- trunk/build/target-platform/e36-wtp32.target 2010-09-26 23:35:45 UTC (rev 25175)
+++ trunk/build/target-platform/e36-wtp32.target 2010-09-26 23:36:54 UTC (rev 25176)
@@ -21,6 +21,12 @@
<repository
location="http://download.eclipse.org/technology/subversive/0.7/upda...
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/week...
+</location>
+<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
+<repository
location="http://download.eclipse.org/technology/subversive/0.7/head...
+</location>
+<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
@@ -81,17 +87,11 @@
<unit id="org.eclipse.help.feature.group"
version="1.2.0.v20100427-7e7jEKFEx2XlnZinYPtgz03"/>
<unit id="org.eclipse.jdt.feature.group"
version="3.6.0.v20100526-0800-7z8XFUJFMTfCWGoVuHImpms9H155"/>
<unit id="org.eclipse.platform.feature.group"
version="3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY"/>
-<unit id="org.eclipse.platform.ide"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.equinox.executable.feature.group"
version="3.4.0.v20100524-7M7K-FIhIez-egBko15H73"/>
-<unit id="org.eclipse.equinox.executable"
version="3.4.0.v20100524-7M7K-FIhIez-egBko15H73"/>
-<unit id="org.eclipse.platform.sdk"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.pde.feature.group"
version="3.6.0.v20100525-7b7mFKtFEx2XmfZ4_B7NUJA"/>
<unit id="org.eclipse.sdk.feature.group"
version="3.6.0.v20100427-7Q7m-DPY2dP0s7TnP1vxqsprbrvrHJwHMVz0mb8mhRXmu"/>
<unit id="org.eclipse.rcp.feature.group"
version="3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS"/>
-<unit id="org.eclipse.rcp.id" version="3.6.0.I20100608-0911"/>
-<unit id="org.eclipse.rcp.sdk.id"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.releng.tools.feature.group"
version="3.3.0.v20100427-44A77w31211642"/>
-<unit id="org.eclipse.sdk.ide"
version="3.6.0.I20100608-0911"/>
<unit id="org.eclipse.sdk.examples.feature.group"
version="3.3.0.v20100527-817fFcfFEdcVbpRlgyBRcVX"/>
<unit id="org.eclipse.sdk.examples.source.feature.group"
version="3.3.0.v20100527"/>
<unit id="org.eclipse.equinox.compendium.sdk.feature.group"
version="3.6.0.v20100421-7V7RFisFNObpCoqow"/>
@@ -105,10 +105,9 @@
<unit id="org.eclipse.equinox.server.jetty.feature.group"
version="1.0.0.v20100510-7I777iBgJ9DIARGH8IIQ"/>
<unit id="org.eclipse.equinox.server.p2.feature.group"
version="1.0.0.v20100503-7x7IFGFFT0z0-V-1UUj-XDpu"/>
<unit id="org.eclipse.pde.api.tools.ee.fragments.feature.group"
version="1.0.0.v20100427-7C-7BF9JgLWLMBMMAMsLL"/>
-<unit id="org.eclipse.equinox.p2.ui.admin.rcp.product"
version="1.1.0.I20100608-0911"/>
<unit id="org.eclipse.equinox.server.servletbridge.feature.group"
version="1.0.0.v20100510-42A79oB5855K5E"/>
<unit id="org.eclipse.equinox.server.simple.feature.group"
version="1.0.0.v20100510-44DF8s734C48662444"/>
-<repository
location="http://download.eclipse.org/eclipse/updates/3.6/"/>
+<repository
location="http://download.eclipse.org/eclipse/updates/3.6.x/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<unit id="org.eclipse.birt.feature.group"
version="2.6.0.v20100617-9gF727DGKb0yl9AwWxpmbo35PwQ_"/>
@@ -138,7 +137,6 @@
<unit id="org.eclipse.wst.web_ui.feature.feature.group"
version="3.2.0.v201005241510-7O7CFb3EMf84nP-FHuc10NTz--M3"/>
<unit id="org.eclipse.wst.xml_ui.feature.feature.group"
version="3.2.0.v201005241510-7H7AFUIDxumQGOb7ocjUR2Pvz-28"/>
<unit id="org.eclipse.wst.xsl.feature.feature.group"
version="1.1.0.v201005241600-7S7WFAKFIpS---NRIS1pbfYBUIQ"/>
-<!-- <unit id="org.eclipse.jst.jsf.tests.feature.feature.group"
version="3.2.0.v20100524-7E7W1FBBoPbPQIiTa3454"/> -->
<unit id="org.eclipse.wst.jsdt.feature.feature.group"
version="1.2.0.v201005270528-7C78FGDF9JgLWLMBWz-Ose6"/>
<unit id="org.eclipse.jsf.feature.feature.group"
version="3.2.0.v20100526-7E7I-F9JgLWLMBYy3114"/>
<unit id="org.eclipse.jst.ws.jaxws.dom.feature.feature.group"
version="1.0.0.v201005241530-5--AkF7B77NBZBgBg"/>
@@ -161,8 +159,8 @@
<unit id="org.eclipse.wst.web_core.feature.feature.group"
version="3.2.0.v201005241510-7E7AFHkAJrn5NL_6wTQDqKL5RwiQ"/>
<unit id="org.eclipse.wst.ws_ui.feature.feature.group"
version="3.2.0.v201005241510-7I78FXbEtEoKvbtBtJ4fGNrH2oBH"/>
<unit id="org.eclipse.wst.xml_core.feature.feature.group"
version="3.2.0.v201005241510-7C7OFXTF7RZHQHHxO4IuKe"/>
-<!--repository
location="http://download.eclipse.org/webtools/downloads/drops/R3.2....
-->
-<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
+<repository
location="http://download.eclipse.org/webtools/downloads/drops/R3.2....
+<!-- repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
-->
</location>
<location includeAllPlatforms="false" includeMode="planner"
type="InstallableUnit">
<repository
location="http://download.jboss.org/jbosstools/builds/staging/jbosst...
Modified: trunk/build/target-platform/pom.xml
===================================================================
--- trunk/build/target-platform/pom.xml 2010-09-26 23:35:45 UTC (rev 25175)
+++ trunk/build/target-platform/pom.xml 2010-09-26 23:36:54 UTC (rev 25176)
@@ -2,16 +2,17 @@
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-<!-- <parent>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.parent.pom</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent> -->
+ <!-- <parent> <groupId>org.jboss.tools</groupId>
<artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.1-SNAPSHOT</version> </parent> -->
<groupId>org.jboss.tools</groupId>
<artifactId>target-platform</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>JBoss Tools Target Platform Definition</name>
<packaging>pom</packaging>
+
+ <properties>
+ <targetFile>e361-wtp322.target</targetFile>
+ </properties>
<build>
<plugins>
@@ -30,7 +31,7 @@
<artifacts>
<!-- add more artifacts if want more target platforms -->
<artifact>
- <file>e36-wtp32.target</file>
+ <file>${targetFile}</file>
<type>target</type>
<classifier>e36-wtp32</classifier>
</artifact>
@@ -39,6 +40,53 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>generateSiteXml</id>
+ <phase>validate</phase>
+ <configuration>
+ <tasks>
+ <!-- generate a pom.xml and site.xml for subsequent generation of a target as
update site -->
+ <property name="targetFile" value="${targetFile}" />
+ <ant antfile="target2site.xml"/>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ <version>1.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-commons-net</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-apache-regexp</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <!-- trax (xslt processor) depends on xalan:xalan:2.7.0, xerces:xercesImpl:2.9.0,
+ xml-apis:xml-apis:1.3.04 -->
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-trax</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <!-- <dependency> <groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
+ <version>1.0b3</version> </dependency> -->
+
+ </dependencies>
+ </plugin>
</plugins>
</build>