first steps towards deploying and running language servers in exloded format directly from a dir-shaped bundle

This commit is contained in:
Martin Lippert
2019-04-27 14:41:57 +02:00
parent 851d658e0f
commit e3a9052896
5 changed files with 55 additions and 36 deletions

View File

@@ -15,14 +15,6 @@
<version>1.7.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<dependencies>
<dependency>
<groupId>org.springframework.ide.vscode</groupId>
<artifactId>spring-boot-language-server</artifactId>
<version>1.7.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
@@ -31,27 +23,7 @@
<version>3.1.1</version>
<executions>
<execution>
<id>copy</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.springframework.ide.vscode</groupId>
<artifactId>spring-boot-language-server</artifactId>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/../servers</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
<execution>
<id>unpack</id>
<id>unpack-server</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
@@ -61,11 +33,13 @@
<artifactItem>
<groupId>org.springframework.ide.vscode</groupId>
<artifactId>spring-boot-language-server</artifactId>
<!-- <includes>META-INF/third-party-open-source-licenses*</includes> -->
<version>1.7.0-SNAPSHOT</version>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
<includes>META-INF/third-party-open-source-licenses.txt,META-INF/third-party-open-source-licenses/**.*</includes>
<outputDirectory>${project.build.directory}/../</outputDirectory>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<outputDirectory>${project.build.directory}/../servers/spring-boot-language-server</outputDirectory>
</configuration>
</execution>
</executions>