initializr/pom.xml

255 lines
7.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2019-08-18 20:07:02 +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 https://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>
<version>${revision}</version>
2016-04-14 21:01:14 +08:00
<packaging>pom</packaging>
<name>Spring Initializr</name>
2019-10-06 01:35:23 +08:00
<description>JVM-based project generator</description>
2016-04-14 21:01:14 +08:00
<url>https://github.com/spring-io/initializr</url>
<organization>
<name>Pivotal Software, Inc.</name>
2019-08-18 20:07:02 +08:00
<url>https://www.spring.io</url>
2016-04-14 21:01:14 +08:00
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
2016-04-14 21:01:14 +08:00
</license>
</licenses>
<scm>
2019-10-06 01:32:42 +08:00
<url>${git.url}</url>
<connection>${git.connection}</connection>
<developerConnection>${git.developerConnection}</developerConnection>
2016-04-14 21:01:14 +08:00
</scm>
<developers>
<developer>
<id>snicoll</id>
<name>Stephane Nicoll</name>
<email>snicoll at pivotal.io</email>
<organization>Pivotal Software, Inc.</organization>
2019-08-18 20:07:02 +08:00
<organizationUrl>https://www.spring.io</organizationUrl>
2016-04-14 21:01:14 +08:00
<roles>
<role>Project lead</role>
</roles>
</developer>
</developers>
<properties>
<revision>0.20.0-SNAPSHOT</revision>
2018-08-01 00:12:46 +08:00
<disable.checks>false</disable.checks>
2019-10-06 01:32:42 +08:00
<git.url>https://github.com/spring-io/initializr</git.url>
<git.connection>scm:git:https://github.com/spring-io/initializr</git.connection>
<git.developerConnection>scm:git:ssh://git@github.com/spring-io/initializr.git</git.developerConnection>
2018-08-01 00:08:21 +08:00
<main.basedir>${basedir}</main.basedir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<modules>
<module>initializr-actuator</module>
2019-08-15 13:53:46 +08:00
<module>initializr-bom</module>
<module>initializr-docs</module>
<module>initializr-generator</module>
<module>initializr-generator-spring</module>
<module>initializr-generator-test</module>
<module>initializr-metadata</module>
2019-08-15 13:53:46 +08:00
<module>initializr-parent</module>
2019-03-20 21:11:46 +08:00
<module>initializr-service-sample</module>
<module>initializr-version-resolver</module>
<module>initializr-web</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
2023-04-03 22:14:37 +08:00
<version>3.1.1</version>
<inherited>false</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>default</id>
<activation>
<property>
<name>!disable-initializr-default-profile</name>
</property>
</activation>
<properties>
2023-05-18 17:54:50 +08:00
<spring-javaformat.version>0.0.39</spring-javaformat.version>
2021-10-09 17:32:35 +08:00
<nohttp-checkstyle.version>0.0.10</nohttp-checkstyle.version>
</properties>
<build>
<plugins>
<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.2.1</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
2022-05-26 00:45:24 +08:00
<version>9.3</version>
</dependency>
<dependency>
<groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-checkstyle</artifactId>
<version>${spring-javaformat.version}</version>
</dependency>
2019-08-18 20:07:49 +08:00
<dependency>
<groupId>io.spring.nohttp</groupId>
<artifactId>nohttp-checkstyle</artifactId>
<version>${nohttp-checkstyle.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>checkstyle-validation</id>
<phase>validate</phase>
<configuration>
<skip>${disable.checks}</skip>
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
2019-08-18 20:07:49 +08:00
<execution>
<id>nohttp-checkstyle-validation</id>
<phase>validate</phase>
<configuration>
<skip>${disable.checks}</skip>
<configLocation>src/checkstyle/nohttp-checkstyle.xml</configLocation>
<suppressionsLocation>src/checkstyle/nohttp-checkstyle-suppressions.xml</suppressionsLocation>
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
<sourceDirectories>${basedir}</sourceDirectories>
<includes>**/*</includes>
<excludes>**/.git/**/*,**/.idea/**/*,**/target/**/,**/.flattened-pom.xml,**/*.class</excludes>
</configuration>
<goals>
<goal>check</goal>
</goals>
<inherited>false</inherited>
</execution>
</executions>
</plugin>
</plugins>
</build>
</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>
2019-10-06 01:37:17 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<versionRange>[3.0.0,)</versionRange>
2018-07-11 19:59:55 +08:00
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
2019-10-06 01:37:17 +08:00
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>flatten</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
2018-07-11 19:59:55 +08:00
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2018-08-01 00:12:46 +08:00
<profile>
<id>fast</id>
<activation>
<property>
<name>fast</name>
</property>
</activation>
<properties>
<disable.checks>true</disable.checks>
</properties>
</profile>
</profiles>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>