-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
413 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,294 @@ | ||
<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"> | ||
<parent> | ||
<groupId>org.ballcat</groupId> | ||
<artifactId>ballcat-dependencies</artifactId> | ||
<version>${revision}</version> | ||
<relativePath>../ballcat-dependencies</relativePath> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>ballcat-parent</artifactId> | ||
<version>${revision}</version> | ||
<packaging>pom</packaging> | ||
<name>ballcat-parent</name> | ||
<url>https://github.com/ballcat-projects/ballcat</url> | ||
<description>Ballcat Parent</description> | ||
|
||
<properties> | ||
<!-- maven 配置 --> | ||
<java.version>1.8</java.version> | ||
<maven.compiler.source>${java.version}</maven.compiler.source> | ||
<maven.compiler.target>${java.version}</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<!-- lombok 代码简化处理器 --> | ||
<dependency> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<!--环境变量--> | ||
<profiles> | ||
<profile> | ||
<id>ossrh</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<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-javadoc-plugin</artifactId> | ||
<configuration> | ||
<additionalJOption>-J-Dfile.encoding=UTF-8</additionalJOption> | ||
<doclint>none</doclint> | ||
<tags> | ||
<tag> | ||
<name>date</name> | ||
</tag> | ||
</tags> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<configuration> | ||
<autoVersionSubmodules>true</autoVersionSubmodules> | ||
<goals>deploy</goals> | ||
<releaseProfiles>release</releaseProfiles> | ||
<useReleaseProfile>false</useReleaseProfile> | ||
</configuration> | ||
</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> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>ossrh</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>dev</id> | ||
<properties> | ||
<profiles.active>dev</profiles.active> | ||
</properties> | ||
<activation> | ||
<!-- 默认环境 --> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
</profile> | ||
<profile> | ||
<id>test</id> | ||
<properties> | ||
<profiles.active>test</profiles.active> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>prod</id> | ||
<properties> | ||
<profiles.active>prod</profiles.active> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
<configuration> | ||
<excludes> | ||
<exclude> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
</exclude> | ||
</excludes> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>build-info</goal> | ||
<goal>repackage</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>io.spring.javaformat</groupId> | ||
<artifactId>spring-javaformat-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>validate</goal> | ||
</goals> | ||
<inherited>true</inherited> | ||
<phase>validate</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<annotationProcessorPaths> | ||
<path> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
<version>${lombok.version}</version> | ||
</path> | ||
<!-- spring-boot 配置处理 --> | ||
<path> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-configuration-processor</artifactId> | ||
<version>${spring-boot.version}</version> | ||
</path> | ||
</annotationProcessorPaths> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
<source>${maven.compiler.source}</source> | ||
<target>${maven.compiler.target}</target> | ||
</configuration> | ||
</plugin> | ||
<!-- 测试插件 --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>-Dfile.encoding=UTF-8</argLine> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>flatten-maven-plugin</artifactId> | ||
<configuration> | ||
<flattenMode>resolveCiFriendliesOnly</flattenMode> | ||
<updatePomFile>true</updatePomFile> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>flatten</goal> | ||
</goals> | ||
<id>flatten</id> | ||
<phase>process-resources</phase> | ||
</execution> | ||
<execution> | ||
<goals> | ||
<goal>clean</goal> | ||
</goals> | ||
<id>flatten.clean</id> | ||
<phase>clean</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- git hook 配置 --> | ||
<plugin> | ||
<groupId>com.rudikershaw.gitbuildhook</groupId> | ||
<artifactId>git-build-hook-maven-plugin</artifactId> | ||
<inherited>false</inherited> | ||
<configuration> | ||
<gitConfig> | ||
<!-- The location of the directory you are using to store the Git hooks in your project. --> | ||
<core.hooksPath>.etc/git-hooks/</core.hooksPath> | ||
</gitConfig> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<!-- Sets git config specified under configuration > gitConfig. --> | ||
<goal>configure</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- checkstyle 配置 --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<inherited>true</inherited> | ||
<executions> | ||
<execution> | ||
<id>checkstyle-validation</id> | ||
<phase>validate</phase> | ||
<configuration> | ||
<configLocation>src/checkstyle/checkstyle.xml</configLocation> | ||
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> | ||
<consoleOutput>true</consoleOutput> | ||
<failsOnError>true</failsOnError> | ||
<includeTestSourceDirectory>true</includeTestSourceDirectory> | ||
</configuration> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<developers> | ||
<developer> | ||
<name>hccake</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
<licenses> | ||
<license> | ||
<name>Apache License, Version 2.0</name> | ||
<url>https://www.apache.org/licenses/LICENSE-2.0</url> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<url>https://github.com/ballcat-projects/ballcat</url> | ||
<connection>https://github.com/ballcat-projects/ballcat.git</connection> | ||
<developerConnection>https://github.com/hccake</developerConnection> | ||
</scm> | ||
</project> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.