211 lines
8.3 KiB
XML
211 lines
8.3 KiB
XML
<?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>
|
|
<groupId>org.redkale</groupId>
|
|
<artifactId>redkale</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>RedkaleProject</name>
|
|
<url>http://redkale.org</url>
|
|
<description>redkale -- java framework</description>
|
|
<version>2.7.0-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<junit.version>5.7.0</junit.version>
|
|
<maven-plugin.version>3.2.0</maven-plugin.version>
|
|
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
|
|
<maven-compiler-plugin.version>3.9.0</maven-compiler-plugin.version>
|
|
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
|
|
<maven-failsafe-plugin.version>3.0.0</maven-failsafe-plugin.version>
|
|
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
|
|
<palantir-java-format.version>2.46.0</palantir-java-format.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache 2</name>
|
|
<url>https://www.apache.org/licenses/</url>
|
|
<distribution>repo</distribution>
|
|
<comments>Apache License</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>Redkale</id>
|
|
<name>redkale</name>
|
|
<email>redkale@qq.com</email>
|
|
<url>https://redkale.org</url>
|
|
<roles>
|
|
<role>Project Manager</role>
|
|
<role>Architect</role>
|
|
</roles>
|
|
<organization>redkale</organization>
|
|
<organizationUrl>https://redkale.org</organizationUrl>
|
|
<properties>
|
|
<dept>No</dept>
|
|
</properties>
|
|
<timezone>8</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<scm>
|
|
<url>https://github.com/redkale/redkale</url>
|
|
<connection>scm:git:git@github.com/redkale/redkale.git</connection>
|
|
<developerConnection>scm:git:git@github.com:redkale/redkale.git</developerConnection>
|
|
</scm>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<compilerArgument>-parameters</compilerArgument>
|
|
<encoding>UTF-8</encoding>
|
|
<compilerArguments>
|
|
<verbose />
|
|
</compilerArguments>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${maven-plugin.version}</version>
|
|
<configuration>
|
|
<archive>
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
<manifest>
|
|
<mainClass>org.redkale.boot.Application</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${maven-gpg-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${maven-plugin.version}</version>
|
|
<configuration>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<descriptors>
|
|
<descriptor>assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>redkale</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.diffplug.spotless</groupId>
|
|
<artifactId>spotless-maven-plugin</artifactId>
|
|
<version>${spotless-maven-plugin.version}</version>
|
|
<configuration>
|
|
<formats>
|
|
<format>
|
|
<includes>
|
|
<include>src/**</include>
|
|
</includes>
|
|
<trimTrailingWhitespace/>
|
|
<endWithNewline/>
|
|
<indent>
|
|
<tabs>true</tabs>
|
|
<spacesPerTab>4</spacesPerTab>
|
|
</indent>
|
|
</format>
|
|
</formats>
|
|
<java>
|
|
<palantirJavaFormat>
|
|
<version>${palantir-java-format.version}</version>
|
|
<style>PALANTIR</style>
|
|
<formatJavadoc>true</formatJavadoc>
|
|
</palantirJavaFormat>
|
|
</java>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |