2013-08-03 12:48:19 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-04-01 18:05:51 +08:00
|
|
|
<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">
|
2013-08-03 12:48:19 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
2015-02-27 09:01:02 +08:00
|
|
|
<version>1.3.0.BUILD-SNAPSHOT</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
<relativePath>../spring-boot-dependencies</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>spring-boot-parent</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
2014-04-01 16:10:51 +08:00
|
|
|
<name>Spring Boot Parent</name>
|
|
|
|
<description>Spring Boot Parent</description>
|
|
|
|
<url>http://projects.spring.io/spring-boot/</url>
|
|
|
|
<organization>
|
|
|
|
<name>Pivotal Software, Inc.</name>
|
|
|
|
<url>http://www.spring.io</url>
|
|
|
|
</organization>
|
2013-08-03 12:48:19 +08:00
|
|
|
<properties>
|
2014-06-01 21:04:07 +08:00
|
|
|
<main.basedir>..</main.basedir>
|
2013-08-03 12:48:19 +08:00
|
|
|
<java.version>1.6</java.version>
|
2014-11-01 01:18:28 +08:00
|
|
|
<aether.version>0.9.1.v20140329</aether.version>
|
|
|
|
<json.version>20140107</json.version>
|
2013-08-03 12:48:19 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2014-11-01 07:52:50 +08:00
|
|
|
<json.version>20140107</json.version>
|
2014-02-17 18:58:22 +08:00
|
|
|
<maven.version>3.1.1</maven.version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</properties>
|
|
|
|
<prerequisites>
|
2014-11-12 04:44:31 +08:00
|
|
|
<maven>3.0.2</maven>
|
2013-08-03 12:48:19 +08:00
|
|
|
</prerequisites>
|
|
|
|
<scm>
|
2013-09-24 05:44:59 +08:00
|
|
|
<url>http://github.com/spring-projects/spring-boot</url>
|
|
|
|
<connection>scm:git:git://github.com/spring-projects/spring-boot.git</connection>
|
|
|
|
<developerConnection>scm:git:ssh://git@github.com/spring-projects/spring-boot.git</developerConnection>
|
2013-08-03 12:48:19 +08:00
|
|
|
</scm>
|
2014-05-02 23:51:23 +08:00
|
|
|
<issueManagement>
|
|
|
|
<system>Github</system>
|
|
|
|
<url>https://github.com/spring-projects/spring-boot/issues</url>
|
|
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
|
|
<system>Bamboo</system>
|
|
|
|
<url>https://build.spring.io/browse/BOOT-PUB</url>
|
|
|
|
</ciManagement>
|
2013-08-03 12:48:19 +08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2013-08-25 23:20:32 +08:00
|
|
|
<!-- Additional Dependencies the consumers of spring-boot-dependencies
|
2013-08-03 12:48:19 +08:00
|
|
|
will generally not need -->
|
2015-03-19 01:08:07 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.spring.gradle</groupId>
|
|
|
|
<artifactId>dependency-management-plugin</artifactId>
|
|
|
|
<version>0.4.1.RELEASE</version>
|
|
|
|
</dependency>
|
2014-01-15 07:06:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>jline</groupId>
|
|
|
|
<artifactId>jline</artifactId>
|
|
|
|
<version>2.11</version>
|
|
|
|
</dependency>
|
2013-08-03 12:48:19 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.jopt-simple</groupId>
|
|
|
|
<artifactId>jopt-simple</artifactId>
|
2014-02-17 18:58:22 +08:00
|
|
|
<version>4.6</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ivy</groupId>
|
|
|
|
<artifactId>ivy</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
2013-10-14 21:19:08 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-aether-provider</artifactId>
|
2014-02-25 13:26:39 +08:00
|
|
|
<version>3.2.1</version>
|
2013-10-14 21:19:08 +08:00
|
|
|
</dependency>
|
2013-08-03 12:48:19 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-archiver</artifactId>
|
2015-03-28 00:45:59 +08:00
|
|
|
<version>2.6</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-artifact</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-core</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-model</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-settings</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
2014-01-08 19:03:34 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-settings-builder</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
2014-05-06 20:54:09 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-common-artifact-filters</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
2013-08-03 12:48:19 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2013-12-18 14:13:31 +08:00
|
|
|
<version>2.2</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
|
|
<version>3.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-archiver</artifactId>
|
2015-03-28 00:45:59 +08:00
|
|
|
<version>2.8.1</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2014-03-26 03:23:58 +08:00
|
|
|
<artifactId>plexus-component-api</artifactId>
|
|
|
|
<version>1.0-alpha-33</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>plexus-utils</artifactId>
|
2015-03-28 00:45:59 +08:00
|
|
|
<version>3.0.20</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
2013-10-14 21:19:08 +08:00
|
|
|
<dependency>
|
2013-10-23 00:13:20 +08:00
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-api</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-connector-basic</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-impl</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-spi</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-transport-file</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-transport-http</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.aether</groupId>
|
|
|
|
<artifactId>aether-util</artifactId>
|
|
|
|
<version>${aether.version}</version>
|
|
|
|
</dependency>
|
2013-08-03 12:48:19 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gradle</groupId>
|
|
|
|
<artifactId>gradle-core</artifactId>
|
|
|
|
<version>${gradle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gradle</groupId>
|
|
|
|
<artifactId>gradle-base-services</artifactId>
|
|
|
|
<version>${gradle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gradle</groupId>
|
|
|
|
<artifactId>gradle-base-services-groovy</artifactId>
|
|
|
|
<version>${gradle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gradle</groupId>
|
|
|
|
<artifactId>gradle-plugins</artifactId>
|
|
|
|
<version>${gradle.version}</version>
|
|
|
|
</dependency>
|
2014-11-01 07:52:50 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
<version>${json.version}</version>
|
|
|
|
</dependency>
|
2014-12-12 00:51:26 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.12.6</version>
|
|
|
|
</dependency>
|
2013-08-03 12:48:19 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.zeroturnaround</groupId>
|
|
|
|
<artifactId>zt-zip</artifactId>
|
2013-12-18 14:13:31 +08:00
|
|
|
<version>1.7</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Generally Useful Test 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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
2013-08-06 05:25:39 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-08-03 12:48:19 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
2014-08-21 15:43:12 +08:00
|
|
|
<version>1.9</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</plugin>
|
2013-08-30 13:28:34 +08:00
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-30 13:28:34 +08:00
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
</plugin>
|
2014-01-21 04:12:10 +08:00
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2014-01-21 04:12:10 +08:00
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2014-11-12 04:44:31 +08:00
|
|
|
<version>2.18</version>
|
2014-01-21 04:12:10 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-08-03 12:48:19 +08:00
|
|
|
<plugin>
|
2014-05-02 23:51:23 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
2014-08-21 03:06:58 +08:00
|
|
|
<version>3.3</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</plugin>
|
Support @Grab without a version or group
Usually, use of @Grab requires you to specify a group, module, and
version when identifying a dependency. This can be done in two
different ways:
@Grab(group='alpha', module='bravo', version='1.0.0')
@Grab('alpha:bravo:1.0.0')
This commit allows users to only specify a module: the group is
inferred and the version is the one dictated by the boot CLI. Both
forms are supported:
@Grab(module='bravo')
@Grab('bravo')
Groovy's global AST transformations, which is how Grab is implemented,
do not support ordering and we need to augment the AST for the Grab
annotation before its processed by the Grab AST transformation. To
work around this, reflection is used to get hold of the compile
operations in the conversion phase, and a new AST transformation is
inserted immediately before the first AST transformation operation.
To allow a module's groupId and version to be resolved consistently,
META-INF/springcli.properties has been enhanced to include properties
for each module that we want to support in the following form:
<module>.groudId = <groudId>
<module>.version = <version>
<groupId> and <version> are taken from the Maven project's
dependencies and VPP, a Velocity-based pre-processor, is used to
automatically generate the enhanced properties file.
To prevent pollution of spring-boot-cli's class path with the
dependencies that are only required to populate springcli.properties,
a separate project, spring-boot-cli-properties, has been created.
spring-boot-cli depends upon this now project causing it to, via the
shade plug, include the properties file in its jar.
Previously DependencyCustomizer allow a dependency to be added by
specifying its full coordinates, i.e. a group ID, artifact ID, and
version. This commit updates DependencyCustomizer to only require
an artifact/module ID. The group ID and version are then resolved
using the same mechanism as the enhanced @Grab support.
[#56328644] [bs-312] Allow @Grab without version
2013-10-08 17:41:35 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
</plugin>
|
2014-05-02 23:51:23 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2014-11-12 04:44:31 +08:00
|
|
|
<version>3.4</version>
|
2014-05-02 23:51:23 +08:00
|
|
|
</plugin>
|
2014-12-08 04:22:57 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>1.4.11</version>
|
|
|
|
</plugin>
|
2014-06-07 13:14:51 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmavenplus</groupId>
|
|
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</plugin>
|
2013-08-03 12:48:19 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
2014-11-12 04:44:31 +08:00
|
|
|
<version>2.4</version>
|
2013-08-03 12:48:19 +08:00
|
|
|
</plugin>
|
2013-10-28 20:34:29 +08:00
|
|
|
<!--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-enforcer-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[1.3.1,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
2014-01-22 02:56:09 +08:00
|
|
|
<goal>enforce</goal>
|
2013-10-28 20:34:29 +08:00
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-02-14 05:18:56 +08:00
|
|
|
<ignore />
|
2013-10-28 20:34:29 +08:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-dependency-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[2.8,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-02-14 05:18:56 +08:00
|
|
|
<ignore />
|
2013-10-28 20:34:29 +08:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2014-07-03 05:07:16 +08:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-plugin-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[3.2,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>descriptor</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-07-08 17:33:36 +08:00
|
|
|
<ignore />
|
2014-07-03 05:07:16 +08:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2014-12-06 15:04:22 +08:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.codehaus.mojo
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
build-helper-maven-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[1.9.1,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>
|
|
|
|
reserve-network-port
|
|
|
|
</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
2014-12-11 08:35:50 +08:00
|
|
|
<ignore />
|
2014-12-06 15:04:22 +08:00
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2013-10-28 20:34:29 +08:00
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-08-03 12:48:19 +08:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<useProjectReferences>false</useProjectReferences>
|
|
|
|
<additionalConfig>
|
|
|
|
<file>
|
|
|
|
<name>.settings/org.eclipse.jdt.ui.prefs</name>
|
|
|
|
<location>${main.basedir}/eclipse/org.eclipse.jdt.ui.prefs</location>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<name>.settings/org.eclipse.jdt.core.prefs</name>
|
|
|
|
<location>${main.basedir}/eclipse/org.eclipse.jdt.core.prefs</location>
|
|
|
|
</file>
|
|
|
|
</additionalConfig>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-08-30 13:28:34 +08:00
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-30 13:28:34 +08:00
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2013-10-28 20:34:29 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-rules</id>
|
|
|
|
<goals>
|
2014-01-22 02:56:09 +08:00
|
|
|
<goal>enforce</goal>
|
2013-10-28 20:34:29 +08:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
2014-05-29 06:00:29 +08:00
|
|
|
<version>(1.7,)</version>
|
2013-10-28 20:34:29 +08:00
|
|
|
</requireJavaVersion>
|
2014-06-01 21:04:07 +08:00
|
|
|
<requireProperty>
|
|
|
|
<property>main.basedir</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>project.organization.name</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>project.name</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>project.description</property>
|
|
|
|
</requireProperty>
|
2013-10-28 20:34:29 +08:00
|
|
|
</rules>
|
2014-05-29 06:00:29 +08:00
|
|
|
<fail>true</fail>
|
2013-10-28 20:34:29 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2013-08-30 13:28:34 +08:00
|
|
|
</plugin>
|
2013-08-03 12:48:19 +08:00
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/*Tests.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/Abstract*.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<java.security.egd>file:/dev/./urandom</java.security.egd>
|
2014-01-14 14:41:17 +08:00
|
|
|
<java.awt.headless>true</java.awt.headless>
|
2013-08-03 12:48:19 +08:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-03 12:48:19 +08:00
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-05-22 22:56:24 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-08-03 12:48:19 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
2014-05-08 19:35:30 +08:00
|
|
|
<profile>
|
|
|
|
<id>default</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<repositories>
|
2014-08-08 02:02:34 +08:00
|
|
|
<repository>
|
|
|
|
<id>spring-ext</id>
|
|
|
|
<url>http://repo.spring.io/ext-release-local/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
2014-05-08 19:35:30 +08:00
|
|
|
<repository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>http://repo.spring.io/milestone</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>spring-snapshots</id>
|
|
|
|
<name>Spring Snapshots</name>
|
|
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-milestones</id>
|
|
|
|
<name>Spring Milestones</name>
|
|
|
|
<url>http://repo.spring.io/milestone</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>spring-snapshots</id>
|
|
|
|
<name>Spring Snapshots</name>
|
|
|
|
<url>http://repo.spring.io/snapshot</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
</profile>
|
2014-08-08 02:20:56 +08:00
|
|
|
<profile>
|
|
|
|
<id>prepare</id>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spring-ext</id>
|
|
|
|
<url>http://repo.spring.io/ext-release-local/</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
</profile>
|
2013-08-30 13:28:34 +08:00
|
|
|
<profile>
|
|
|
|
<id>full</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-30 13:28:34 +08:00
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2014-11-12 04:44:31 +08:00
|
|
|
<version>2.10.1</version>
|
2013-08-30 13:28:34 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
2013-09-04 14:44:32 +08:00
|
|
|
<inherited>true</inherited>
|
2013-08-30 13:28:34 +08:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2013-10-08 21:49:46 +08:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>objectstyle</id>
|
|
|
|
<name>ObjectStyle.org Repository</name>
|
|
|
|
<url>http://objectstyle.org/maven2/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
2013-08-30 13:28:34 +08:00
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>snapshot</id>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>milestone</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-30 13:28:34 +08:00
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-milestone-rules</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
2014-04-23 23:51:02 +08:00
|
|
|
<requireJavaVersion>
|
|
|
|
<version>(1.7,1.8)</version>
|
|
|
|
</requireJavaVersion>
|
2013-08-30 13:28:34 +08:00
|
|
|
<requireReleaseDeps />
|
|
|
|
<requireReleaseVersion />
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-05-03 06:03:31 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2013-08-30 13:28:34 +08:00
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2014-04-23 23:51:02 +08:00
|
|
|
<id>enforce-release-rules</id>
|
2013-08-30 13:28:34 +08:00
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
2014-04-23 23:51:02 +08:00
|
|
|
<requireJavaVersion>
|
|
|
|
<version>(1.7,1.8)</version>
|
|
|
|
</requireJavaVersion>
|
2013-08-30 13:28:34 +08:00
|
|
|
<requireReleaseDeps />
|
|
|
|
<requireReleaseVersion />
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2013-08-03 12:48:19 +08:00
|
|
|
</profiles>
|
|
|
|
</project>
|