From eea32dd573f054c9b7f948bbae5febfae3fa7428 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Thu, 7 Jan 2021 21:21:55 -0500 Subject: [PATCH] Bug #459 Add a target file for Embed CDT Using a target file enables a way to share consistent plug-ins in the runtime Eclipse instance across developers and ensures that the target platform that Maven Tycho uses is the same as what is used in Eclipse. There is no requirement to use the target platform in the IDE, the current method of installing all the dependencies in the development Eclipse instance is ok. --- parent/pom.xml | 24 +++++++---------- pom.xml | 1 + ...rg.eclipse.embedcdt.target-platform.target | 15 +++++++++++ target-platform/pom.xml | 27 +++++++++++++++++++ 4 files changed, 52 insertions(+), 15 deletions(-) create mode 100644 target-platform/org.eclipse.embedcdt.target-platform.target create mode 100644 target-platform/pom.xml diff --git a/parent/pom.xml b/parent/pom.xml index 3fc7361b8..3bd6d1f4f 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -63,21 +63,6 @@ - - - eclipse - p2 - - - - https://download.eclipse.org/releases/2020-09/202009161000/ - - - license-feature - http://download.eclipse.org/cbi/updates/license/ - p2 - - @@ -145,6 +130,15 @@ x86_64 + + + + + org.eclipse.embedcdt + org.eclipse.embedcdt.target-platform + 6.1.0-SNAPSHOT + + diff --git a/pom.xml b/pom.xml index 942d42856..f4f08cbf7 100644 --- a/pom.xml +++ b/pom.xml @@ -87,6 +87,7 @@ features/org.eclipse.embedcdt.doc.user-feature repositories/org.eclipse.embedcdt-repository + target-platform branding/org.eclipse.embedcdt.managedbuild.cross.arm-branding diff --git a/target-platform/org.eclipse.embedcdt.target-platform.target b/target-platform/org.eclipse.embedcdt.target-platform.target new file mode 100644 index 000000000..df7d969a0 --- /dev/null +++ b/target-platform/org.eclipse.embedcdt.target-platform.target @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target-platform/pom.xml b/target-platform/pom.xml new file mode 100644 index 000000000..01ddbdc0b --- /dev/null +++ b/target-platform/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + + org.eclipse.embedcdt + org.eclipse.embedcdt.parent + 6.1.0-SNAPSHOT + ../parent/pom.xml + + + org.eclipse.embedcdt + org.eclipse.embedcdt.target-platform + 6.1.0-SNAPSHOT + eclipse-target-definition + +