From a43bcda283dc231e7ff05d57e531b7f7f41403ad Mon Sep 17 00:00:00 2001 From: Tobias Oberlies Date: Mon, 1 Aug 2011 13:36:09 +0200 Subject: 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. --- .gitignore | 1 + .../org.eclipse.equinox.p2.metadata.repository/pom.xml | 4 ++-- bundles/org.eclipse.equinox.p2.tests.ui/pom.xml | 6 ++++-- bundles/org.eclipse.equinox.p2.tests/pom.xml | 8 +++++--- .../org.eclipse.equinox.p2-parent/pom.xml | 17 ++++++++++++++--- 5 files changed, 26 insertions(+), 10 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..2f7896d1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/pom.xml b/bundles/org.eclipse.equinox.p2.metadata.repository/pom.xml index 4f918fcef..5e0d165ed 100644 --- a/bundles/org.eclipse.equinox.p2.metadata.repository/pom.xml +++ b/bundles/org.eclipse.equinox.p2.metadata.repository/pom.xml @@ -16,8 +16,8 @@ - org.sonatype.tycho - maven-osgi-compiler-plugin + org.eclipse.tycho + tycho-compiler-plugin ${tycho-version} diff --git a/bundles/org.eclipse.equinox.p2.tests.ui/pom.xml b/bundles/org.eclipse.equinox.p2.tests.ui/pom.xml index ea922a7ee..1f683d9e7 100644 --- a/bundles/org.eclipse.equinox.p2.tests.ui/pom.xml +++ b/bundles/org.eclipse.equinox.p2.tests.ui/pom.xml @@ -3,12 +3,14 @@ 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"> 4.0.0 + org.eclipse.equinox.p2-parent org.eclipse 0.0.1-SNAPSHOT ../../org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent + org.eclipse org.eclipse.equinox.p2.tests.ui 1.0.100-SNAPSHOT @@ -17,8 +19,8 @@ - org.sonatype.tycho - maven-osgi-test-plugin + org.eclipse.tycho + tycho-surefire-plugin ${tycho-version} org.eclipse.equinox.p2.tests.ui diff --git a/bundles/org.eclipse.equinox.p2.tests/pom.xml b/bundles/org.eclipse.equinox.p2.tests/pom.xml index e08ab16bf..bf3f6d3c2 100644 --- a/bundles/org.eclipse.equinox.p2.tests/pom.xml +++ b/bundles/org.eclipse.equinox.p2.tests/pom.xml @@ -3,12 +3,14 @@ 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"> 4.0.0 + - org.eclipse.equinox.p2-parent org.eclipse + org.eclipse.equinox.p2-parent 0.0.1-SNAPSHOT ../../org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent + org.eclipse org.eclipse.equinox.p2.tests 1.3.0-SNAPSHOT @@ -17,8 +19,8 @@ - org.sonatype.tycho - maven-osgi-test-plugin + org.eclipse.tycho + tycho-surefire-plugin org.eclipse.equinox.p2.tests org.eclipse.equinox.p2.tests.AutomatedTests 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 @@ pom - 0.8.0 + 0.12.0 @@ -25,14 +25,14 @@ - org.sonatype.tycho + org.eclipse.tycho tycho-maven-plugin ${tycho-version} true - org.sonatype.tycho + org.eclipse.tycho target-platform-configuration ${tycho-version} @@ -66,6 +66,17 @@ + + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + 1.5 + jsr14 + + -- cgit v1.2.3