From 31cc03389a7890aa8ff5be6c897ca2575b910329 Mon Sep 17 00:00:00 2001 From: Jinbo Wang Date: Tue, 7 Mar 2023 16:09:04 +0800 Subject: [PATCH] Make pom.xml to reuse the tp file (#476) --- .../com.microsoft.java.debug.tp.target | 9 ++-- com.microsoft.java.debug.target/pom.xml | 12 +++++ javaConfig.json | 2 +- pom.xml | 44 ++++++++----------- 4 files changed, 38 insertions(+), 29 deletions(-) rename java.debug.target => com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target (86%) create mode 100644 com.microsoft.java.debug.target/pom.xml diff --git a/java.debug.target b/com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target similarity index 86% rename from java.debug.target rename to com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target index dcb0b8c5e..187803840 100644 --- a/java.debug.target +++ b/com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target @@ -16,12 +16,11 @@ - + - - + @@ -31,5 +30,9 @@ + + + + \ No newline at end of file diff --git a/com.microsoft.java.debug.target/pom.xml b/com.microsoft.java.debug.target/pom.xml new file mode 100644 index 000000000..537f0ddcd --- /dev/null +++ b/com.microsoft.java.debug.target/pom.xml @@ -0,0 +1,12 @@ + + 4.0.0 + + com.microsoft.java + java-debug-parent + 0.44.0 + + com.microsoft.java.debug.tp + ${base.name} :: Target Platform + eclipse-target-definition + diff --git a/javaConfig.json b/javaConfig.json index 91ccf4714..8ab611931 100644 --- a/javaConfig.json +++ b/javaConfig.json @@ -3,5 +3,5 @@ "com.microsoft.java.debug.core", "com.microsoft.java.debug.plugin" ], - "targetPlatform": "java.debug.target" + "targetPlatform": "com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target" } diff --git a/pom.xml b/pom.xml index f1c64e509..fcfa85628 100644 --- a/pom.xml +++ b/pom.xml @@ -61,6 +61,7 @@ com.microsoft.java.debug.core com.microsoft.java.debug.plugin com.microsoft.java.debug.repository + com.microsoft.java.debug.target @@ -135,9 +136,27 @@ org.eclipse.tycho target-platform-configuration ${tycho-version} + + p2 + + + com.microsoft.java + com.microsoft.java.debug.tp + ${project.version} + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + @@ -153,11 +172,6 @@ - - 202212 - p2 - https://download.eclipse.org/releases/2022-12/202212071000/ - oss.sonatype.org https://oss.sonatype.org/content/repositories/snapshots/ @@ -165,25 +179,5 @@ true - - JDT.LS - p2 - https://download.eclipse.org/jdtls/snapshots/repository/latest/ - - - JBOLL.TOOLS - p2 - https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/1.5.3-2019-11-08_11-04-22-H22/ - - - orbit - p2 - https://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/ - - - lsp4j - p2 - https://download.eclipse.org/lsp4j/updates/releases/0.20.0/ -