Skip to content

Commit 31cc033

Browse files
Make pom.xml to reuse the tp file (#476)
1 parent ed35d9a commit 31cc033

File tree

4 files changed

+38
-29
lines changed

4 files changed

+38
-29
lines changed

java.debug.target renamed to com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
<unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
1717
<unit id="org.eclipse.jdt.source.feature.group" version="0.0.0"/>
1818
<unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>
19-
<repository location="https://download.eclipse.org/releases/2021-12/202112081000/"/>
19+
<repository location="https://download.eclipse.org/releases/2022-12/202212071000/"/>
2020
</location>
2121
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
22-
<unit id="org.eclipse.xtend.sdk.feature.group" version="0.0.0"/>
2322
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
24-
<repository location="https://download.eclipse.org/releases/2021-09/202109151000/"/>
23+
<repository location="https://download.eclipse.org/releases/2022-12/202212071000/"/>
2524
</location>
2625
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
2726
<unit id="org.jboss.tools.maven.apt.core" version="0.0.0"/>
@@ -31,5 +30,9 @@
3130
<unit id="org.eclipse.jdt.ls.core" version="0.0.0"/>
3231
<repository location="https://download.eclipse.org/jdtls/snapshots/repository/latest/"/>
3332
</location>
33+
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
34+
<repository location="https://download.eclipse.org/lsp4j/updates/releases/0.20.0/"/>
35+
<unit id="org.eclipse.lsp4j.sdk.feature.group" version="0.0.0"/>
36+
</location>
3437
</locations>
3538
</target>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>com.microsoft.java</groupId>
6+
<artifactId>java-debug-parent</artifactId>
7+
<version>0.44.0</version>
8+
</parent>
9+
<artifactId>com.microsoft.java.debug.tp</artifactId>
10+
<name>${base.name} :: Target Platform</name>
11+
<packaging>eclipse-target-definition</packaging>
12+
</project>

javaConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"com.microsoft.java.debug.core",
44
"com.microsoft.java.debug.plugin"
55
],
6-
"targetPlatform": "java.debug.target"
6+
"targetPlatform": "com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target"
77
}

pom.xml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<module>com.microsoft.java.debug.core</module>
6262
<module>com.microsoft.java.debug.plugin</module>
6363
<module>com.microsoft.java.debug.repository</module>
64+
<module>com.microsoft.java.debug.target</module>
6465
</modules>
6566
<build>
6667
<pluginManagement>
@@ -135,9 +136,27 @@
135136
<groupId>org.eclipse.tycho</groupId>
136137
<artifactId>target-platform-configuration</artifactId>
137138
<version>${tycho-version}</version>
139+
<configuration>
140+
<resolver>p2</resolver>
141+
<target>
142+
<artifact>
143+
<groupId>com.microsoft.java</groupId>
144+
<artifactId>com.microsoft.java.debug.tp</artifactId>
145+
<version>${project.version}</version>
146+
</artifact>
147+
</target>
148+
</configuration>
138149
</plugin>
139150
</plugins>
140151
</pluginManagement>
152+
<plugins>
153+
<plugin>
154+
<groupId>org.eclipse.tycho</groupId>
155+
<artifactId>tycho-maven-plugin</artifactId>
156+
<version>${tycho-version}</version>
157+
<extensions>true</extensions>
158+
</plugin>
159+
</plugins>
141160
</build>
142161
<profiles>
143162
<profile>
@@ -153,37 +172,12 @@
153172
</profile>
154173
</profiles>
155174
<repositories>
156-
<repository>
157-
<id>202212</id>
158-
<layout>p2</layout>
159-
<url>https://download.eclipse.org/releases/2022-12/202212071000/</url>
160-
</repository>
161175
<repository>
162176
<id>oss.sonatype.org</id>
163177
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
164178
<snapshots>
165179
<enabled>true</enabled>
166180
</snapshots>
167181
</repository>
168-
<repository>
169-
<id>JDT.LS</id>
170-
<layout>p2</layout>
171-
<url>https://download.eclipse.org/jdtls/snapshots/repository/latest/</url>
172-
</repository>
173-
<repository>
174-
<id>JBOLL.TOOLS</id>
175-
<layout>p2</layout>
176-
<url>https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/1.5.3-2019-11-08_11-04-22-H22/</url>
177-
</repository>
178-
<repository>
179-
<id>orbit</id>
180-
<layout>p2</layout>
181-
<url>https://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/</url>
182-
</repository>
183-
<repository>
184-
<id>lsp4j</id>
185-
<layout>p2</layout>
186-
<url>https://download.eclipse.org/lsp4j/updates/releases/0.20.0/</url>
187-
</repository>
188182
</repositories>
189183
</project>

0 commit comments

Comments
 (0)