Skip to content

Commit c005c2f

Browse files
authored
Jdtls build script maintenance (#404)
* Use 'target' instead of deprecated 'tasks' in maven-antrun-plugin * Update maven plugins * install/pom.xml: Set project.build.sourceEncoding to UTF-8
1 parent 13b92b0 commit c005c2f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
*.elc
44
tmp/
55
/install/.mvn/wrapper/maven-wrapper.jar
6+
/install/target

install/pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
<version>1.0.0-SNAPSHOT</version>
77
<properties>
88
<root.install.dir>${user.home}/.emacs.d/eclipse.jdt.ls</root.install.dir>
9+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
910
</properties>
1011
<packaging>pom</packaging>
1112
<build>
1213
<plugins>
1314
<plugin>
1415
<groupId>com.googlecode.maven-download-plugin</groupId>
1516
<artifactId>download-maven-plugin</artifactId>
16-
<version>1.6.7</version>
17+
<version>1.6.8</version>
1718
<executions>
1819
<execution>
1920
<phase>process-resources</phase>
@@ -81,19 +82,19 @@
8182
<plugin>
8283
<groupId>org.apache.maven.plugins</groupId>
8384
<artifactId>maven-antrun-plugin</artifactId>
84-
<version>1.6</version>
85+
<version>3.1.0</version>
8586
<executions>
8687
<execution>
8788
<id>prepare</id>
8889
<phase>process-resources</phase>
8990
<configuration>
90-
<tasks>
91+
<target>
9192
<untar src="${project.build.directory}/jdt-language-server-latest.tar.gz" compression="gzip" dest="${jdt.js.server.root}" />
9293
<unzip src="${project.build.directory}/vscode-extension.zip" dest="${project.build.directory}/vscode-extension-extracted" />
9394
<unzip src="${project.build.directory}/java-dependency.zip" dest="${project.build.directory}/java-dependency" />
9495
<unzip src="${project.build.directory}/vscode-java-test.zip" dest="${jdt.js.server.root}/java-test" />
9596
<unzip src="${project.build.directory}/java-decompiler.zip" dest="${jdt.js.server.root}/java-decompiler" />
96-
</tasks>
97+
</target>
9798
</configuration>
9899
<goals>
99100
<goal>run</goal>
@@ -104,7 +105,7 @@
104105
<plugin>
105106
<groupId>org.apache.maven.plugins</groupId>
106107
<artifactId>maven-dependency-plugin</artifactId>
107-
<version>3.1.1</version>
108+
<version>3.3.0</version>
108109
<executions>
109110
<execution>
110111
<id>copy</id>
@@ -117,14 +118,14 @@
117118
<artifactItem>
118119
<groupId>com.microsoft.java</groupId>
119120
<artifactId>com.microsoft.java.debug.plugin</artifactId>
120-
<version>0.33.0</version>
121+
<version>0.39.0</version>
121122
<outputDirectory>${java.debug.root}</outputDirectory>
122123
<destFileName>java.debug.plugin.jar</destFileName>
123124
</artifactItem>
124125
<artifactItem>
125126
<groupId>org.junit.platform</groupId>
126127
<artifactId>junit-platform-console-standalone</artifactId>
127-
<version>1.6.2</version>
128+
<version>1.9.0</version>
128129
<outputDirectory>${junit.runner.root}</outputDirectory>
129130
<destFileName>${junit.runner.fileName}</destFileName>
130131
</artifactItem>
@@ -135,7 +136,7 @@
135136
</plugin>
136137
<plugin>
137138
<artifactId>maven-resources-plugin</artifactId>
138-
<version>3.1.0</version>
139+
<version>3.3.0</version>
139140
<executions>
140141
<execution>
141142
<id>copy-boot-server</id>

0 commit comments

Comments
 (0)