Author: nickboldt
Date: 2011-09-23 14:44:04 -0400 (Fri, 23 Sep 2011)
New Revision: 35010
Added:
trunk/download.jboss.org/jbosstools/updates/requirements/springide/pom.xml
Log:
new site builder (p2 mirror) for SpringIDE 2.7.2 - uses Tycho 0.13 instead of Ant
Added:
trunk/download.jboss.org/jbosstools/updates/requirements/springide/pom.xml
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/springide/pom.xml
(rev 0)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/springide/pom.xml 2011-09-23
18:44:04 UTC (rev 35010)
@@ -0,0 +1,115 @@
+<project
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
+
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.requirements.springide</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <properties>
+ <!-- TODO: when there's enough of these scripts, externalize these to a parent
pom in ../ -->
+ <tychoVersion>0.13.0</tychoVersion>
+ <maven.antrun.plugin.version>1.3</maven.antrun.plugin.version>
+
+ <!-- TODO: update this every time you use this script against a new target
+ version + resulting folder -->
+ <
sourceURL>http://dist.springsource.com/release/TOOLS/update/e3.7</s...
+ <siteVersion>2.7.2.201109131000</siteVersion>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <!-- see
http://wiki.eclipse.org/Tycho/Additional_Tools -->
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-p2-extras-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>mirror</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <source>
+ <repository>
+ <url>${sourceURL}</url>
+ <layout>p2</layout>
+ </repository>
+ </source>
+
+ <!-- List of IUs to mirror. If omitted, all IUs will be mirrored. -->
+ <!-- Omitted IU version element means latest version of the IU -->
+ <ius>
+ <iu>
+ <id>org.springframework.ide.eclipse.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.aop.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.osgi.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.webflow.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.batch.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.integration.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.security.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.autowire.feature.feature.group</id>
+ </iu>
+ <iu>
+ <id>org.springframework.ide.eclipse.mylyn.feature.feature.group</id>
+ </iu>
+ </ius>
+ <!-- The destination directory to mirror to. -->
+ <destination>${project.build.directory}/../${siteVersion}</destination>
+ <!-- Whether only strict dependencies should be followed. -->
+ <!-- "strict" means perfect version match -->
+ <followStrictOnly>true</followStrictOnly>
+ <!-- Whether or not to follow optional requirements. -->
+ <includeOptional>false</includeOptional>
+ <!-- Whether or not to follow non-greedy requirements. -->
+ <includeNonGreedy>true</includeNonGreedy>
+ <!-- filter properties. E.g. filter only one platform -->
+ <!-- <filter> <osgi.os>linux</osgi.os>
<osgi.ws>gtk</osgi.ws> <osgi.arch>x86_64</osgi.arch>
+ </filter> -->
+ <latestVersionOnly>true</latestVersionOnly>
+ <mirrorMetadataOnly>false</mirrorMetadataOnly>
+ <compress>true</compress>
+ <append>false</append>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven.antrun.plugin.version}</version>
+ <executions>
+ <execution>
+ <id>install</id>
+ <phase>install</phase>
+ <configuration>
+ <quiet>true</quiet>
+ <tasks>
+ <!-- remove the target/ folder -->
+ <delete dir="${project.build.directory}" quiet="true"
/>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>