Author: nickboldt
Date: 2012-05-02 16:16:19 -0400 (Wed, 02 May 2012)
New Revision: 40725
Added:
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build-...
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/pom-ju...
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml
Log:
update build.xml to point at m2e 1.0, not 1.1.
Copied:
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build-...
(from rev 40723,
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml)
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build-...
(rev 0)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build-... 2012-05-02
20:16:19 UTC (rev 40725)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="mirror">
+ <!-- run locally in Eclipse (to resolve p2 tasks) using these commandline options:
+
+ -os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl}
+ -consoleLog -nosplash -data /tmp
+ -application org.eclipse.ant.core.antRunner
+ -f
"/home/nboldt/tru/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml"
+
+ or, run headless on qa01 server, where Eclipse is installed into ~/eclipse:
+
+ export JAVA_HOME=/opt/jdk1.6.0; \
+ ${JAVA_HOME}/bin/java -cp ~/eclipse/plugins/org.eclipse.equinox.launcher_*.jar \
+ org.eclipse.equinox.launcher.Main -vm ${JAVA_HOME} -consoleLog -nosplash -data /tmp \
+ -application org.eclipse.ant.core.antRunner \
+ -f ~/RHDS/updates/requirements/m2eclipse/build.xml -Ddestination=/tmp/m2eclipse-repo
+ -->
+ <target name="mirror">
+ <!-- <property name="URL1"
value="http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/&q... -->
+ <property name="URL1"
value="file:///home/hudson/RHDS/updates/requirements/m2eclipse/1.1.0.20120320-0058/"/>
+ <!-- <property name="URL1"
value="http://download.eclipse.org/technology/m2e/milestones/1.1/1.1...
-->
+ <property name="URL2"
value="https://repository.sonatype.org/content/sites/forge-sites/m2e...
+ <property name="URL3"
value="http://download.jboss.org/jbosstools/updates/requirements/m2e...
+ <property name="URL4"
value="http://download.jboss.org/jbosstools/updates/m2e-jdt-compiler...
+ <property name="URL5"
value="http://download.jboss.org/jbosstools/updates/requirements/m2e...
+
+ <property name="destination"
value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requir...
/>
+ <property name="compress" value="true" />
+
+ <p2.mirror>
+ <repository location="file:${destination}/20120502-1415" name="m2e
1.1, m2e-extras 0.15.0.N, m2e-wtp 0.15.2, m2e-jdt-compiler 1.0 (for use with Indigo +
Juno; mirrored 20120502-1415)" />
+ <source>
+ <repository location="${URL1}" />
+ <repository location="${URL2}" />
+ <repository location="${URL3}" />
+ <repository location="${URL4}" />
+ <repository location="${URL5}" />
+ </source>
+
+ <slicingOptions includeFeatures="true" followStrict="true"
/>
+ </p2.mirror>
+
+ <p2.publish.featuresAndBundles
metadataRepository="file:${destination}/20120502-1415/"
artifactRepository="file:${destination}/20120502-1415/"
+ publishartifacts="true" source="${destination}/20120502-1415/"
compress="${compress}" />
+ </target>
+</project>
Modified:
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml 2012-05-02
19:55:57 UTC (rev 40724)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml 2012-05-02
20:16:19 UTC (rev 40725)
@@ -16,31 +16,30 @@
-f ~/RHDS/updates/requirements/m2eclipse/build.xml -Ddestination=/tmp/m2eclipse-repo
-->
<target name="mirror">
- <!-- <property name="URL1"
value="http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/&q... -->
- <property name="URL1"
value="file:///home/hudson/RHDS/updates/requirements/m2eclipse/1.1.0.20120320-0058/"/>
- <!-- <property name="URL1"
value="http://download.eclipse.org/technology/m2e/milestones/1.1/1.1...
-->
- <property name="URL2"
value="https://repository.sonatype.org/content/sites/forge-sites/m2e...
- <property name="URL3"
value="http://download.jboss.org/jbosstools/updates/requirements/m2e...
- <property name="URL4"
value="http://download.jboss.org/jbosstools/updates/m2e-jdt-compiler...
- <property name="URL5"
value="http://download.jboss.org/jbosstools/updates/requirements/m2e...
+ <property name="URL1"
value="http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/&q...
+ <property name="URL2"
value="http://download.jboss.org/jbosstools/updates/m2e-jdt-compiler...
+ <property name="URL3"
value="http://download.jboss.org/jbosstools/updates/requirements/m2e...
+ <!--
+ <property name="URL1"
value="http://download.eclipse.org/technology/m2e/releases/"/>
+ <property name="URL2"
value="http://repository.sonatype.org/content/repositories/forge-sit...
+ -->
+
<property name="destination"
value="/home/nboldt/tru/download.jboss.org/jbosstools/updates/requir...
/>
<property name="compress" value="true" />
<p2.mirror>
- <repository location="file:${destination}/20120502-1415" name="m2e
1.1, m2e-extras 0.15.0.N, m2e-wtp 0.15.2, m2e-jdt-compiler 1.0 (for use with Indigo +
Juno; mirrored 20120502-1415)" />
+ <repository location="file:${destination}/20120502-1600" name="m2e
1.0, m2e-wtp 0.15.2, m2e-extras 0.15, m2e-jdt-compiler 1.0, m2e-apt 1.0 (mirrored
20120502-1600)" />
<source>
<repository location="${URL1}" />
<repository location="${URL2}" />
<repository location="${URL3}" />
- <repository location="${URL4}" />
- <repository location="${URL5}" />
</source>
<slicingOptions includeFeatures="true" followStrict="true"
/>
</p2.mirror>
- <p2.publish.featuresAndBundles
metadataRepository="file:${destination}/20120502-1415/"
artifactRepository="file:${destination}/20120502-1415/"
- publishartifacts="true" source="${destination}/20120502-1415/"
compress="${compress}" />
+ <p2.publish.featuresAndBundles
metadataRepository="file:${destination}/20120502-1600/"
artifactRepository="file:${destination}/20120502-1600/"
+ publishartifacts="true" source="${destination}/20120502-1600/"
compress="${compress}" />
</target>
</project>
Added:
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/pom-ju...
===================================================================
---
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/pom-ju...
(rev 0)
+++
trunk/download.jboss.org/jbosstools/updates/requirements/m2eclipse/pom-ju... 2012-05-02
20:16:19 UTC (rev 40725)
@@ -0,0 +1,112 @@
+<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.m2e</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.14.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 -->
+ <URL1>file:///home/hudson/RHDS/updates/requirements/m2eclipse/1.1.0.20120320-0058/</URL1>
+ <
URL2>https://repository.sonatype.org/content/sites/forge-sites/m2e-ext...
+ <
URL3>http://download.jboss.org/jbosstools/updates/requirements/m2eclip...
+ <
URL4>http://download.jboss.org/jbosstools/updates/m2e-jdt-compiler/<...
+ <
URL5>http://download.jboss.org/jbosstools/updates/requirements/m2eclip...
+ <siteVersion>20120502-1415</siteVersion>
+ <destination>${project.build.directory}/../${siteVersion}</destination>
+ </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>${URL1}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <url>${URL2}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <url>${URL3}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <url>${URL4}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <url>${URL5}</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.foo.feature.feature.group</id>
+ </iu>
+ </ius> -->
+ <!-- The destination directory to mirror to. -->
+ <destination>${destination}</destination>
+ <!-- Whether only strict dependencies should be followed. -->
+ <!-- "strict" means perfect version match -->
+ <followStrictOnly>true</followStrictOnly>
+ <!-- Whether or not to follow optional requirements. -->
+ <includeOptional>true</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>
+ <!-- do stuff w/ ant here -->
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>