Refactor: 提交 Jar 到 SonaType 中央仓库相关配置变更.

pull/10/head
chen.ma 3 years ago
parent 2dcd4f264d
commit d9653a3ec9

@ -4,14 +4,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
<artifactId>auth</artifactId>
<packaging>jar</packaging>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -15,6 +15,10 @@
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -15,6 +15,10 @@
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -43,7 +47,7 @@
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>common</artifactId>
</dependency>
@ -63,7 +67,7 @@
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>log-record-tool</artifactId>
</dependency>
</dependencies>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -15,19 +15,23 @@
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>config</artifactId>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>discovery</artifactId>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>auth</artifactId>
</dependency>
</dependencies>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -14,6 +14,10 @@
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -26,7 +30,7 @@
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>common</artifactId>
</dependency>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -15,6 +15,10 @@
<name>${project.artifactId}</name>
<description>Demo project for Spring Boot</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -33,13 +37,13 @@
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>dynamic-threadpool-spring-boot-starter</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-spring-boot-starter</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>open-change-tool</artifactId>
</dependency>
</dependencies>

@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
<artifactId>dynamic-threadpool-spring-boot-starter</artifactId>
<artifactId>hippo4j-spring-boot-starter</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
@ -42,7 +42,7 @@
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>common</artifactId>
</dependency>
@ -84,6 +84,19 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

@ -3,8 +3,8 @@
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>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
@ -21,7 +21,7 @@
<module>discovery</module>
<module>example</module>
<module>tools</module>
<module>dynamic-threadpool-spring-boot-starter</module>
<module>hippo4j-spring-boot-starter</module>
</modules>
<properties>
@ -43,6 +43,8 @@
<mybatis-plus.version>3.4.2</mybatis-plus.version>
<spring-boot.version>2.3.2.RELEASE</spring-boot.version>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@ -90,43 +92,43 @@
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>common</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>config</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>console</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>discovery</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>log-record-tool</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>auth</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>open-change-tool</artifactId>
<version>${revision}</version>
</dependency>
@ -185,11 +187,18 @@
<developers>
<developer>
<id>acmenlt</id>
<name>chen.ma</name>
<email>m7798432@163.com</email>
<url>https://github.com/acmenlt</url>
</developer>
</developers>
<issueManagement>
<system>Github Issue</system>
<url>https://github.com/acmenlt/dynamic-threadpool/issues</url>
</issueManagement>
<build>
<finalName>${project.artifactId}</finalName>
@ -219,29 +228,6 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
@ -285,7 +271,77 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<additionalparam>${javadoc.opts}</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- 禁用注释检查 -->
<profile>
<id>disable-javadoc-doclint</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
<scm>
<connection>scm:git@github.com:acmenlt/dynamic-threadpool</connection>
<developerConnection>scm:git@github.com:acmenlt/dynamic-threadpool.git</developerConnection>
<url>git@github.com:acmenlt/dynamic-threadpool.git</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -15,19 +15,23 @@
<name>${project.artifactId}</name>
<description>${project.artifactId}</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>config</artifactId>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>console</artifactId>
</dependency>
<dependency>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>discovery</artifactId>
</dependency>
</dependencies>

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>tools</artifactId>
<version>${revision}</version>
</parent>
@ -15,6 +15,10 @@
<name>${project.artifactId}</name>
<description>操作日志记录工具类.</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<groupId>io.github.acmenlt</groupId>
<artifactId>tools</artifactId>
<version>${revision}</version>
</parent>
@ -15,6 +15,10 @@
<name>${project.artifactId}</name>
<description>监控 GitHub 项目 Star、Fork 变更, 有变化则发起通知.</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>

@ -4,8 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId>
<groupId>io.github.acmenlt</groupId>
<artifactId>hippo4j-all</artifactId>
<version>${revision}</version>
</parent>
@ -15,6 +15,10 @@
<name>tools</name>
<description>动态线程池工具类模块</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<modules>
<!-- 日志记录 -->
<module>log-record-tool</module>

Loading…
Cancel
Save