initializr/pom.xml

315 lines
9.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2018-07-10 20:29:54 +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">
<modelVersion>4.0.0</modelVersion>
2016-04-14 22:09:18 +08:00
<groupId>io.spring.initializr</groupId>
<artifactId>initializr</artifactId>
2018-07-10 20:29:54 +08:00
<version>0.7.0.BUILD-SNAPSHOT</version>
2016-04-14 21:01:14 +08:00
<packaging>pom</packaging>
<name>Spring Initializr</name>
<description>A web-based quickstart generator for Spring projects</description>
2016-04-14 21:01:14 +08:00
<url>https://github.com/spring-io/initializr</url>
<organization>
<name>Pivotal Software, Inc.</name>
<url>http://www.spring.io</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/spring-io/initializr</connection>
<url>https://github.com/spring-io/initializr</url>
</scm>
<developers>
<developer>
<id>snicoll</id>
<name>Stephane Nicoll</name>
<email>snicoll at pivotal.io</email>
<organization>Pivotal Software, Inc.</organization>
<organizationUrl>http://www.spring.io</organizationUrl>
<roles>
<role>Project lead</role>
</roles>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<main.basedir>${basedir}</main.basedir>
2018-07-31 19:47:49 +08:00
<java.version>1.8</java.version>
<spring.boot.version>2.0.4.RELEASE</spring.boot.version>
<spring-cloud-contract.version>2.0.0.RELEASE</spring-cloud-contract.version>
2018-08-01 00:01:40 +08:00
<spring-javaformat.version>0.0.6</spring-javaformat.version>
</properties>
<modules>
<module>initializr-actuator</module>
<module>initializr-docs</module>
<module>initializr-generator</module>
<module>initializr-web</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
2016-04-14 22:09:18 +08:00
<groupId>io.spring.initializr</groupId>
<artifactId>initializr-actuator</artifactId>
2018-07-10 20:29:54 +08:00
<version>0.7.0.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
2016-04-14 22:09:18 +08:00
<groupId>io.spring.initializr</groupId>
<artifactId>initializr-generator</artifactId>
2018-07-10 20:29:54 +08:00
<version>0.7.0.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
2016-04-14 22:09:18 +08:00
<groupId>io.spring.initializr</groupId>
<artifactId>initializr-generator</artifactId>
2018-07-10 20:29:54 +08:00
<version>0.7.0.BUILD-SNAPSHOT</version>
<type>test-jar</type>
</dependency>
<dependency>
2016-04-14 22:09:18 +08:00
<groupId>io.spring.initializr</groupId>
<artifactId>initializr-web</artifactId>
2018-07-10 20:29:54 +08:00
<version>0.7.0.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
2016-04-14 22:09:18 +08:00
<groupId>io.spring.initializr</groupId>
<artifactId>initializr-web</artifactId>
2018-07-10 20:29:54 +08:00
<version>0.7.0.BUILD-SNAPSHOT</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-dependencies</artifactId>
2018-07-31 19:47:49 +08:00
<version>${spring-cloud-contract.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.vaadin.external.google</groupId>
<artifactId>android-json</artifactId>
<version>0.0.20131108.vaadin1</version>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.5</version>
</dependency>
2017-02-02 01:35:06 +08:00
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.2</version>
2017-02-28 17:07:05 +08:00
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
</exclusion>
</exclusions>
2017-02-02 01:35:06 +08:00
</dependency>
</dependencies>
</dependencyManagement>
<build>
2016-04-14 22:01:19 +08:00
<plugins>
<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>
<plugin>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring-javaformat.version}</version>
<executions>
<execution>
<phase>validate</phase>
<configuration>
<skip>${disable.checks}</skip>
</configuration>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
2018-08-01 00:01:40 +08:00
<version>8.11</version>
</dependency>
<dependency>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-checkstyle</artifactId>
<version>${spring-javaformat.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>checkstyle-validation</id>
<phase>validate</phase>
<configuration>
<skip>${disable.checks}</skip>
<configLocation>io/spring/javaformat/checkstyle/checkstyle.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
2016-04-14 22:01:19 +08:00
</plugins>
<pluginManagement>
<plugins>
2017-02-02 20:31:00 +08:00
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.17</version>
2017-02-02 20:31:00 +08:00
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.5</version>
2017-02-02 20:31:00 +08:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
2017-02-02 20:31:00 +08:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
2017-02-02 20:31:00 +08:00
</plugin>
2016-04-14 22:01:19 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
2016-04-14 22:01:19 +08:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
<excludes>
<exclude>**/Abstract*.java</exclude>
<exclude>**/*SmokeTests.java</exclude>
</excludes>
</configuration>
</plugin>
2016-07-17 16:07:44 +08:00
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.3</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>full</id>
<modules>
<module>initializr-service</module>
</modules>
</profile>
2018-07-11 19:59:55 +08:00
<profile>
<id>m2e</id>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<build>
<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-checkstyle-plugin
</artifactId>
<versionRange>
[3.0.0,)
</versionRange>
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>