You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
341 lines
9.8 KiB
341 lines
9.8 KiB
<?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> |
|
<parent> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-parent</artifactId> |
|
<version>0.5.0.BUILD-SNAPSHOT</version> |
|
<relativePath>../spring-boot-parent</relativePath> |
|
</parent> |
|
<artifactId>spring-boot-cli</artifactId> |
|
<packaging>jar</packaging> |
|
<properties> |
|
<main.basedir>${basedir}/..</main.basedir> |
|
<start-class>org.springframework.boot.cli.SpringCli</start-class> |
|
<spring.profiles.active>default</spring.profiles.active> |
|
</properties> |
|
<profiles> |
|
<profile> |
|
<id>integration</id> |
|
<activation> |
|
<activeByDefault>true</activeByDefault> |
|
</activation> |
|
<properties> |
|
<spring.profiles.active>integration</spring.profiles.active> |
|
</properties> |
|
</profile> |
|
</profiles> |
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
<version>0.5.0.BUILD-SNAPSHOT</version> |
|
<type>pom</type> |
|
<scope>import</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.codehaus.groovy</groupId> |
|
<artifactId>groovy-xml</artifactId> |
|
<version>${groovy.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.projectreactor</groupId> |
|
<artifactId>reactor-core</artifactId> |
|
<version>${reactor.version}</version> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
<dependencies> |
|
<!-- Compile --> |
|
<dependency> |
|
<groupId>net.sf.jopt-simple</groupId> |
|
<artifactId>jopt-simple</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.codehaus.groovy</groupId> |
|
<artifactId>groovy</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-core</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.maven</groupId> |
|
<artifactId>maven-aether-provider</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<artifactId>org.eclipse.sisu.plexus</artifactId> |
|
<groupId>org.eclipse.sisu</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-api</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-connector-basic</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-impl</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-spi</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-transport-file</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-transport-http</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<artifactId>jcl-over-slf4j</artifactId> |
|
<groupId>org.slf4j</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.eclipse.aether</groupId> |
|
<artifactId>aether-util</artifactId> |
|
</dependency> |
|
<!-- Provided --> |
|
<dependency> |
|
<groupId>org.codehaus.groovy</groupId> |
|
<artifactId>groovy-templates</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
<!-- Test --> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot</artifactId> |
|
<version>${project.version}</version> |
|
<classifier>tests</classifier> |
|
<scope>test</scope> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>commons-logging</groupId> |
|
<artifactId>commons-logging</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.javassist</groupId> |
|
<artifactId>javassist</artifactId> |
|
<version>3.16.1-GA</version> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
<build> |
|
<resources> |
|
<resource> |
|
<directory>src/main/resources</directory> |
|
<filtering>true</filtering> |
|
<excludes> |
|
<exclude>**/*.vpp</exclude> |
|
</excludes> |
|
</resource> |
|
<resource> |
|
<directory>src/main/groovy</directory> |
|
</resource> |
|
<resource> |
|
<directory>${project.build.directory}/generated-resources</directory> |
|
</resource> |
|
</resources> |
|
<plugins> |
|
<plugin> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<configuration> |
|
<additionalClasspathElements> |
|
<additionalClasspathElement>${project.build.directory}/generated-resources</additionalClasspathElement> |
|
</additionalClasspathElements> |
|
<systemPropertyVariables> |
|
<spring.profiles.active>${spring.profiles.active}</spring.profiles.active> |
|
</systemPropertyVariables> |
|
</configuration> |
|
</plugin> |
|
<!-- Build an executable JAR manually since we can't easily depend on |
|
a maven plugin that is part of the reactor --> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-dependency-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>unpack</id> |
|
<phase>prepare-package</phase> |
|
<goals> |
|
<goal>unpack</goal> |
|
</goals> |
|
<configuration> |
|
<artifactItems> |
|
<artifactItem> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot-loader</artifactId> |
|
<version>${project.version}</version> |
|
<type>jar</type> |
|
</artifactItem> |
|
</artifactItems> |
|
<outputDirectory>${project.build.directory}/assembly</outputDirectory> |
|
</configuration> |
|
</execution> |
|
<execution> |
|
<id>copy</id> |
|
<phase>prepare-package</phase> |
|
<goals> |
|
<goal>copy-dependencies</goal> |
|
</goals> |
|
<configuration> |
|
<outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
|
<includeScope>compile</includeScope> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-assembly-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>jar-with-dependencies</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
<configuration> |
|
<descriptors> |
|
<descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor> |
|
</descriptors> |
|
<archive> |
|
<manifest> |
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
|
<mainClass>org.springframework.boot.loader.JarLauncher</mainClass> |
|
</manifest> |
|
<manifestEntries> |
|
<Start-Class>${start-class}</Start-Class> |
|
</manifestEntries> |
|
</archive> |
|
</configuration> |
|
</execution> |
|
<execution> |
|
<id>bin-package</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>single</goal> |
|
</goals> |
|
<configuration> |
|
<descriptors> |
|
<descriptor>src/main/assembly/bin-package.xml</descriptor> |
|
</descriptors> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-antrun-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>generate-cli-properties</id> |
|
<phase>generate-resources</phase> |
|
<configuration> |
|
<target> |
|
<typedef resource="foundrylogic/vpp/typedef.properties" /> |
|
<taskdef resource="foundrylogic/vpp/taskdef.properties" /> |
|
<property name="dependencies" value="${project.parent}" /> |
|
<vppcopy |
|
file="${basedir}/src/main/resources/META-INF/springcli.properties.vpp" |
|
tofile="${project.build.directory}/generated-resources/META-INF/springcli.properties" |
|
overwrite="true" /> |
|
</target> |
|
</configuration> |
|
<goals> |
|
<goal>run</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
<dependencies> |
|
<dependency> |
|
<groupId>foundrylogic.vpp</groupId> |
|
<artifactId>vpp</artifactId> |
|
<version>2.2.1</version> |
|
</dependency> |
|
</dependencies> |
|
</plugin> |
|
</plugins> |
|
<pluginManagement> |
|
<plugins> |
|
<!--This plugin's configuration is used to store Eclipse m2e settings |
|
only. It has no influence on the Maven build itself. --> |
|
<plugin> |
|
<groupId>org.eclipse.m2e</groupId> |
|
<artifactId>lifecycle-mapping</artifactId> |
|
<version>1.0.0</version> |
|
<configuration> |
|
<lifecycleMappingMetadata> |
|
<pluginExecutions> |
|
<pluginExecution> |
|
<pluginExecutionFilter> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-antrun-plugin</artifactId> |
|
<versionRange>[1.7,)</versionRange> |
|
<goals> |
|
<goal>run</goal> |
|
</goals> |
|
</pluginExecutionFilter> |
|
<action> |
|
<execute /> |
|
</action> |
|
</pluginExecution> |
|
<pluginExecution> |
|
<pluginExecutionFilter> |
|
<groupId> |
|
org.apache.maven.plugins |
|
</groupId> |
|
<artifactId> |
|
maven-dependency-plugin |
|
</artifactId> |
|
<versionRange> |
|
[2.8,) |
|
</versionRange> |
|
<goals> |
|
<goal> |
|
copy-dependencies |
|
</goal> |
|
</goals> |
|
</pluginExecutionFilter> |
|
<action> |
|
<ignore></ignore> |
|
</action> |
|
</pluginExecution> |
|
</pluginExecutions> |
|
</lifecycleMappingMetadata> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</pluginManagement> |
|
</build> |
|
<pluginRepositories> |
|
<pluginRepository> |
|
<id>objectstyle</id> |
|
<name>ObjectStyle.org Repository</name> |
|
<url>http://objectstyle.org/maven2/</url> |
|
<snapshots> |
|
<enabled>false</enabled> |
|
</snapshots> |
|
</pluginRepository> |
|
</pluginRepositories> |
|
</project>
|
|
|