2013-04-24 17:02:07 +08:00
|
|
|
<?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.bootstrap</groupId>
|
|
|
|
<artifactId>spring-bootstrap-parent</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<artifactId>spring-bootstrap-applications</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
|
|
<main.basedir>${project.basedir}/..</main.basedir>
|
2013-05-01 23:10:57 +08:00
|
|
|
<spring.bootstrap.version>0.0.1-SNAPSHOT</spring.bootstrap.version>
|
2013-05-02 22:33:35 +08:00
|
|
|
<start-class>org.springframework.bootstrap.main.Spring</start-class>
|
2013-04-24 17:02:07 +08:00
|
|
|
</properties>
|
|
|
|
<modules>
|
|
|
|
<module>spring-bootstrap-application</module>
|
|
|
|
<module>spring-bootstrap-batch-application</module>
|
|
|
|
<module>spring-bootstrap-integration-application</module>
|
|
|
|
<module>spring-bootstrap-jpa-application</module>
|
|
|
|
<module>spring-bootstrap-web-application</module>
|
|
|
|
</modules>
|
2013-05-01 23:10:57 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.bootstrap</groupId>
|
|
|
|
<artifactId>spring-bootstrap</artifactId>
|
|
|
|
<version>${spring.bootstrap.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformers>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
|
|
<resource>META-INF/spring.handlers</resource>
|
|
|
|
</transformer>
|
|
|
|
<transformer
|
|
|
|
implementation="org.springframework.bootstrap.maven.PropertiesMergingResourceTransformer">
|
|
|
|
<resource>META-INF/spring.factories</resource>
|
|
|
|
</transformer>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
|
|
<resource>META-INF/spring.schemas</resource>
|
|
|
|
</transformer>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</project>
|