115 lines
3.6 KiB
XML
115 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.springframework.boot.launcher.it</groupId>
|
|
<artifactId>executable-props-lib</artifactId>
|
|
<version>0.0.1.BUILD-SNAPSHOT</version>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>@java.version@</maven.compiler.source>
|
|
<maven.compiler.target>@java.version@</maven.compiler.target>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>@maven-assembly-plugin.version@</version>
|
|
<executions>
|
|
<execution>
|
|
<id>app</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/app.xml</descriptor>
|
|
</descriptors>
|
|
<recompressZippedFiles>false</recompressZippedFiles>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.springframework.boot.loader.PropertiesLauncher</mainClass>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Start-Class>org.springframework.boot.launcher.it.props.EmbeddedJarStarter</Start-Class>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>depedendencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/dependencies.xml</descriptor>
|
|
</descriptors>
|
|
<recompressZippedFiles>false</recompressZippedFiles>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>@maven-compiler-plugin.version@</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>@maven-dependency-plugin.version@</version>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>@project.groupId@</groupId>
|
|
<artifactId>@project.artifactId@</artifactId>
|
|
<version>@project.version@</version>
|
|
<type>jar</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${project.build.directory}/app-assembly</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/dependencies-assembly/BOOT-INF/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>@maven-jar-plugin.version@</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>@maven-surefire-plugin.version@</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>@spring.version@</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|