Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oberlies2011-08-01 07:36:09 -0400
committerTobias Oberlies2011-08-01 12:00:40 -0400
commita43bcda283dc231e7ff05d57e531b7f7f41403ad (patch)
tree8c8bdc616a901e2eb4101930fcb6a2e756e9e584 /org.eclipse.equinox.p2.releng
parentcdb395b87307f3df0b9a2415f2722801fc836a6f (diff)
downloadrt.equinox.p2-a43bcda283dc231e7ff05d57e531b7f7f41403ad.tar.gz
rt.equinox.p2-a43bcda283dc231e7ff05d57e531b7f7f41403ad.tar.xz
rt.equinox.p2-a43bcda283dc231e7ff05d57e531b7f7f41403ad.zip
304594 Make publisher bundles buildable with Tycho
- Migrate to the current Tycho release 0.12.0. - Configure compiler source/target levels in parent POM to work around Tycho bug 353505. This should be okay as first approximation to the PDE build, which currently configures the source/target levels per project through the build.properties. In case a project doesn't build with this default, the setting could be overridden in the project's POM. - Prevent that Maven/Tycho build results are committed to the repository.
Diffstat (limited to 'org.eclipse.equinox.p2.releng')
-rw-r--r--org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml b/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml
index 663aaf856..481853d91 100644
--- a/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml
+++ b/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml
@@ -7,7 +7,7 @@
<packaging>pom</packaging>
<properties>
- <tycho-version>0.8.0</tycho-version>
+ <tycho-version>0.12.0</tycho-version>
</properties>
<repositories>
<repository>
@@ -25,14 +25,14 @@
<build>
<plugins>
<plugin>
- <groupId>org.sonatype.tycho</groupId>
+ <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
- <groupId>org.sonatype.tycho</groupId>
+ <groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
@@ -66,6 +66,17 @@
</environments>
</configuration>
</plugin>
+
+ <!-- workaround for bug 353505 - need to repeat compiler source and target levels in POM -->
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>jsr14</target>
+ </configuration>
+ </plugin>
</plugins>
</build>

Back to the top