Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'eclipse-platform-parent')
-rw-r--r--eclipse-platform-parent/pom.xml47
-rw-r--r--eclipse-platform-parent/saveproperties/mavenproperties.properties42
2 files changed, 86 insertions, 3 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index d5b8395df..2f3ced9ba 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -21,10 +21,17 @@
<buildTimestamp>${maven.build.timestamp}</buildTimestamp>
<buildType>I</buildType>
<buildId>${buildType}${buildTimestamp}</buildId>
- <comparator.repo>http://download.eclipse.org/eclipse/updates/4.4-I-builds</comparator.repo>
<tycho.version>0.18.0</tycho.version>
<tycho-extras.version>0.18.0</tycho-extras.version>
<cbi-plugins.version>1.0.3</cbi-plugins.version>
+ <!--
+ The tycho-eclipserun-plugin will create its instance of Eclipse from this
+ 'eclipiserun-repo' repository, such as for computing .api-descriptions.
+ -->
+ <eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.3/R-4.3-201306052000/</eclipserun-repo>
+
+ <comparator.repo>http://download.eclipse.org/eclipse/updates/4.4-I-builds</comparator.repo>
+
<orbit-repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20130517111416/repository/</orbit-repo.url>
<jetty-repo.url>http://download.eclipse.org/jetty/updates/jetty-bundles-8.x/8.1.10.v20130312/</jetty-repo.url>
<ecf-repo.url>http://download.eclipse.org/rt/ecf/int7/site.p2/</ecf-repo.url>
@@ -39,7 +46,9 @@
<cbi-jdt-repo.url>https://repo.eclipse.org/content/repositories/eclipse-staging/</cbi-jdt-repo.url>
<cbi-jdt-version>3.9.0.v20130604-1421</cbi-jdt-version>
<eclipse-repo.url>https://repo.eclipse.org/content/repositories/releases/</eclipse-repo.url>
+ <!-- this eclipse-p2-repo.url is specifically for the build individual bundles profile. -->
<eclipse-p2-repo.url>http://download.eclipse.org/eclipse/updates/4.4-I-builds</eclipse-p2-repo.url>
+
</properties>
<repositories>
<repository>
@@ -247,6 +256,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <executions>
+ <execution>
+ <id>filter-resources</id>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ <phase>process-resources</phase>
+ <configuration>
+ <outputDirectory>${project.build.directory}/resources</outputDirectory>
+ <escapeString>\</escapeString>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
<pluginManagement>
<plugins>
@@ -613,7 +641,7 @@
<repository>
<id>eclipse</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/eclipse/updates/4.3/R-4.3-201306052000/</url>
+ <url>${eclipserun-repo}</url>
</repository>
</repositories>
<!-- this is to fix some lucene 3.x compatibility issue -->
@@ -657,7 +685,20 @@
</execution>
</executions>
</plugin>
- </plugins>
+ </plugins>
+ <resources>
+ <!--
+ This task is to save properties we are explicitly interested in using later,
+ such as when displaying in other reports or php pages. It depends on having
+ the "template" file be part of the 'saveproperties' directory. Its only purpose
+ is to "fill in" the property values named in that file.
+ -->
+ <resource>
+ <directory>saveproperties</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+
</build>
</profile>
</profiles>
diff --git a/eclipse-platform-parent/saveproperties/mavenproperties.properties b/eclipse-platform-parent/saveproperties/mavenproperties.properties
new file mode 100644
index 000000000..0e4bdca61
--- /dev/null
+++ b/eclipse-platform-parent/saveproperties/mavenproperties.properties
@@ -0,0 +1,42 @@
+# typical properties we may need elsewhere, such as
+# to display in reports or PHP pages
+
+tycho-extras.version=${tycho-extras.version}
+tycho-repo.url=${tycho-repo.url}
+tycho.debug.artifactcomparator=${tycho.debug.artifactcomparator}
+tycho.localArtifacts=${tycho.localArtifacts}
+tycho.version=${tycho.version}
+cbi-jdt-repo.url=${cbi-jdt-repo.url}
+cbi-jdt-version=${cbi-jdt-version}
+cbi-plugins.version=${cbi-plugins.version}
+
+java.class.path=${java.class.path}
+java.class.version=${java.class.version}
+java.endorsed.dirs=${java.endorsed.dirs}
+java.ext.dirs=${java.ext.dirs}
+java.home=${java.home}
+java.io.tmpdir=${java.io.tmpdir}
+java.library.path=${java.library.path}
+java.runtime.name=${java.runtime.name}
+java.runtime.version=${java.runtime.version}
+java.specification.name=${java.specification.name}
+
+maven.home=${maven.home}
+maven.repo.local=${maven.repo.local}
+
+comparator.repo=${comparator.repo}
+
+orbit-repo.url=${orbit-repo.url}
+aspectj-repo.url=${aspectj-repo.url}
+ecf-repo.url=${ecf-repo.url}
+eclipse-p2-repo.url=${eclipse-p2-repo.url}
+egit-repo.url=${egit-repo.url}
+emf-repo.url=${emf-repo.url}
+jetty-repo.url=${jetty-repo.url}
+eclipse-repo.url=${eclipse-repo.url}
+
+sun.java.command=${sun.java.command}
+
+
+
+

Back to the top