95 lines
2.5 KiB
XML
95 lines
2.5 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>vscode-boot-java</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.ide.vscode</groupId>
|
|
<artifactId>commons-parent</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<relativePath>../commons/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<repositories>
|
|
<!-- Sonatype snapshots repository -->
|
|
<repository>
|
|
<id>oss-sonatype</id>
|
|
<name>oss-sonatype</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>distribution-repository</id>
|
|
<name>Temporary Staging Repository</name>
|
|
<url>file://${basedir}/dist</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.ide.vscode</groupId>
|
|
<artifactId>commons-maven</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.ide.vscode</groupId>
|
|
<artifactId>commons-language-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Test harness -->
|
|
<dependency>
|
|
<groupId>org.springframework.ide.vscode</groupId>
|
|
<artifactId>language-server-test-harness</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<!-- Set source 1.8 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Configure fat jar -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>1.4.1.RELEASE</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Ignore test classes from test projects -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.19.1</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>test-projects/**</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|