|
|
|
<?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-dependencies</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<relativePath>../spring-boot-dependencies</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>spring-boot-parent</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Spring Boot Parent</name>
|
|
|
|
<description>Spring Boot Parent</description>
|
|
|
|
<organization>
|
|
|
|
<name>Pivotal Software, Inc.</name>
|
|
|
|
<url>https://spring.io</url>
|
|
|
|
</organization>
|
|
|
|
<properties>
|
|
|
|
<main.basedir>${basedir}/../..</main.basedir>
|
|
|
|
<disable.checks>false</disable.checks>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<maven.version>3.5.4</maven.version>
|
|
|
|
<maven-resolver.version>1.1.1</maven-resolver.version>
|
|
|
|
<spock.version>1.0-groovy-2.4</spock.version>
|
|
|
|
<testcontainers.version>1.10.6</testcontainers.version>
|
|
|
|
<dependency-management-plugin.version>1.0.6.RELEASE</dependency-management-plugin.version>
|
|
|
|
</properties>
|
|
|
|
<scm>
|
|
|
|
<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>
|
|
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
|
|
<system>Github</system>
|
|
|
|
<url>https://github.com/spring-projects/spring-boot/issues</url>
|
|
|
|
</issueManagement>
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Internal unpublished Spring Boot dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-test-support</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Additional Spring Boot only Dependencies (not useful for users) -->
|
|
|
|
<dependency>
|
|
|
|
<!-- deprecated but recent version required by 3rd party libs -->
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.17</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<version>1.3.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nhaarman</groupId>
|
|
|
|
<artifactId>mockito-kotlin</artifactId>
|
|
|
|
<version>1.6.0</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.plexus</groupId>
|
|
|
|
<artifactId>plexus-sec-dispatcher</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.sisu</groupId>
|
|
|
|
<artifactId>sisu-inject-plexus</artifactId>
|
|
|
|
<version>2.6.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
<version>3.11.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>mockwebserver</artifactId>
|
|
|
|
<version>3.9.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.vaadin.external.google</groupId>
|
|
|
|
<artifactId>android-json</artifactId>
|
|
|
|
<version>0.0.20131108.vaadin1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.spring.gradle</groupId>
|
|
|
|
<artifactId>dependency-management-plugin</artifactId>
|
|
|
|
<version>${dependency-management-plugin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jline</groupId>
|
|
|
|
<artifactId>jline</artifactId>
|
|
|
|
<version>2.11</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.jopt-simple</groupId>
|
|
|
|
<artifactId>jopt-simple</artifactId>
|
|
|
|
<version>5.0.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<version>1.18</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ivy</groupId>
|
|
|
|
<artifactId>ivy</artifactId>
|
|
|
|
<version>2.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-archiver</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
</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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-settings-builder</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-model-builder</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-resolver-provider</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-connector-basic</artifactId>
|
|
|
|
<version>${maven-resolver.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-transport-file</artifactId>
|
|
|
|
<version>${maven-resolver.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-transport-http</artifactId>
|
|
|
|
<version>${maven-resolver.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
|
|
<artifactId>maven-resolver-impl</artifactId>
|
|
|
|
<version>${maven-resolver.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-common-artifact-filters</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>${maven-shade-plugin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugin-tools</groupId>
|
|
|
|
<artifactId>maven-plugin-annotations</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-archiver</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.plexus</groupId>
|
|
|
|
<artifactId>plexus-build-api</artifactId>
|
|
|
|
<version>0.0.7</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-core</artifactId>
|
|
|
|
<version>${spock.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-spring</artifactId>
|
|
|
|
<version>${spock.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>neo4j</artifactId>
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>testcontainers</artifactId>
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.zeroturnaround</groupId>
|
|
|
|
<artifactId>zt-zip</artifactId>
|
|
|
|
<version>1.13</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Generally Useful Test Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</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>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<jvmTarget>${java.version}</jvmTarget>
|
|
|
|
<apiVersion>1.1</apiVersion>
|
|
|
|
<languageVersion>1.1</languageVersion>
|
|
|
|
<javaParameters>true</javaParameters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
|
|
<version>1.5.5</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-plugin-plugin</artifactId>
|
|
|
|
<version>3.5</version>
|
|
|
|
</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
11 years ago
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
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
11 years ago
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
|
|
<version>1.3.0</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>1.6.7</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmavenplus</groupId>
|
|
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
|
|
|
<version>1.6.1</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
|
|
|
<version>3.3.0.603</version>
|
|
|
|
</plugin>
|
|
|
|
<!--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.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
|
|
<versionRange>[1,2)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-enforcer-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[1.3.1,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</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>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-plugin-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[3.2,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>descriptor</goal>
|
|
|
|
<goal>helpmojo</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<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>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-checkstyle-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[2.16,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>
|
|
|
|
check
|
|
|
|
</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-invoker-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[1.0.0,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>
|
|
|
|
install
|
|
|
|
</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.codehaus.mojo
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
flatten-maven-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[1.0.0,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>regex-property</id>
|
|
|
|
<goals>
|
|
|
|
<goal>regex-property</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<name>modulename</name>
|
|
|
|
<value>${project.artifactId}</value>
|
|
|
|
<regex>-</regex>
|
|
|
|
<replacement>.</replacement>
|
|
|
|
<failIfNoMatch>true</failIfNoMatch>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- Tidy up all POMs before they are published -->
|
|
|
|
<id>flatten</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<updatePomFile>true</updatePomFile>
|
|
|
|
<flattenMode>oss</flattenMode>
|
|
|
|
<pomElements>
|
|
|
|
<parent>expand</parent>
|
|
|
|
<distributionManagement>remove</distributionManagement>
|
|
|
|
<repositories>remove</repositories>
|
|
|
|
</pomElements>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<parameters>true</parameters>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-rules</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<version>[1.8,)</version>
|
|
|
|
</requireJavaVersion>
|
|
|
|
<requireMavenVersion>
|
|
|
|
<version>[3.5.0,)</version>
|
|
|
|
</requireMavenVersion>
|
|
|
|
<requireProperty>
|
|
|
|
<property>main.basedir</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>project.name</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>project.description</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireReleaseDeps>
|
|
|
|
<onlyWhenRelease>true</onlyWhenRelease>
|
|
|
|
</requireReleaseDeps>
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>false</addDefaultImplementationEntries>
|
|
|
|
<addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<Implementation-Title>${project.name}</Implementation-Title>
|
|
|
|
<Automatic-Module-Name>${modulename}</Automatic-Module-Name>
|
|
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
|
|
<Built-By>Spring</Built-By>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<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>
|
|
|
|
<java.awt.headless>true</java.awt.headless>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<argLine>-Xmx1024m</argLine>
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
|
|
<runOrder>alphabetical</runOrder>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>fast</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>fast</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<disable.checks>true</disable.checks>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>full</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>full</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.7</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>eclipse.profile</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>m2e.version</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<m2e.jaxrs.activation>false</m2e.jaxrs.activation>
|
|
|
|
<m2e.jpa.activation>false</m2e.jpa.activation>
|
|
|
|
<m2e.jsf.activation>false</m2e.jsf.activation>
|
|
|
|
<m2e.cdi.activation>false</m2e.cdi.activation>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|