prepare for deploying maven central repository (#131)

This commit is contained in:
hongqiaowei
2021-04-20 10:45:39 +08:00
parent 471faaa581
commit 9351e5abc5
7 changed files with 45 additions and 34 deletions

View File

@@ -2,17 +2,33 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>fizz-gateway-community</artifactId>
<groupId>we</groupId>
<version>1.5.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.13.RELEASE</version>
<relativePath/>
</parent>
<groupId>com.fizzgate</groupId>
<artifactId>fizz-bootstrap</artifactId> <artifactId>fizz-bootstrap</artifactId>
<version>1.5.0</version>
<properties> <properties>
<java.version>1.8</java.version>
<spring-framework.version>5.2.14.RELEASE</spring-framework.version>
<reactor-bom.version>Dysprosium-SR19</reactor-bom.version>
<lettuce.version>5.3.7.RELEASE</lettuce.version>
<netty.version>4.1.63.Final</netty.version>
<httpcore.version>4.4.14</httpcore.version>
<log4j2.version>2.13.3</log4j2.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<lombok.version>1.18.18</lombok.version>
<apache.dubbo.version>2.7.5</apache.dubbo.version>
<grpc.version>1.16.1</grpc.version>
<mockito.version>3.4.6</mockito.version>
<curator.version>4.0.1</curator.version>
<zookeeper.version>3.5.9</zookeeper.version>
</properties> </properties>
<dependencies> <dependencies>
@@ -24,7 +40,7 @@
<systemPath>${project.basedir}/../lib/json-schema-validator-i18n-support-1.0.39_4.jar</systemPath> <systemPath>${project.basedir}/../lib/json-schema-validator-i18n-support-1.0.39_4.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-spring-boot-starter</artifactId> <artifactId>fizz-spring-boot-starter</artifactId>
<version>1.5.0</version> <version>1.5.0</version>
</dependency> </dependency>

View File

@@ -56,7 +56,7 @@ public class FizzBootstrapApplication {
protected void onClose() { protected void onClose() {
super.onClose(); super.onClose();
if (AggregateRedisConfig.proxyLettuceConnectionFactory != null) { if (AggregateRedisConfig.proxyLettuceConnectionFactory != null) {
LOGGER.info("FizzGatewayApplication stopped."); LOGGER.info("FizzBootstrapApplication stopped.");
// set LogSendAppender.logEnabled to false to stop send log to fizz-manager // set LogSendAppender.logEnabled to false to stop send log to fizz-manager
LogSendAppender.logEnabled = Boolean.FALSE; LogSendAppender.logEnabled = Boolean.FALSE;
try { try {

View File

@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<version>1.5.0</version> <version>1.5.0</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
@@ -100,7 +100,6 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<version>1.5.0</version> <version>1.5.0</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
@@ -25,13 +25,9 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-common</artifactId> <artifactId>fizz-common</artifactId>
</dependency> </dependency>
<!--<dependency>
<groupId>we</groupId>
<artifactId>fizz-plugin</artifactId>
</dependency>-->
<dependency> <dependency>
<groupId>org.springframework.session</groupId> <groupId>org.springframework.session</groupId>

View File

@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<version>1.5.0</version> <version>1.5.0</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
@@ -25,11 +25,11 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-common</artifactId> <artifactId>fizz-common</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-core</artifactId> <artifactId>fizz-core</artifactId>
</dependency> </dependency>

View File

@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<version>1.5.0</version> <version>1.5.0</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
@@ -252,15 +252,15 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-common</artifactId> <artifactId>fizz-common</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-core</artifactId> <artifactId>fizz-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-plugin</artifactId> <artifactId>fizz-plugin</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>

22
pom.xml
View File

@@ -8,9 +8,9 @@
<fizz.version>1.5.0</fizz.version> <fizz.version>1.5.0</fizz.version>
<!--<java.version>1.8</java.version>--> <!--<java.version>1.8</java.version>-->
<spring-boot.version>2.2.13.RELEASE</spring-boot.version> <spring-boot.version>2.2.13.RELEASE</spring-boot.version>
<spring-framework.version>5.2.13.RELEASE</spring-framework.version> <spring-framework.version>5.2.14.RELEASE</spring-framework.version>
<reactor-bom.version>Dysprosium-SR18</reactor-bom.version> <reactor-bom.version>Dysprosium-SR19</reactor-bom.version>
<lettuce.version>5.3.6.RELEASE</lettuce.version> <lettuce.version>5.3.7.RELEASE</lettuce.version>
<nacos.version>0.2.7</nacos.version> <nacos.version>0.2.7</nacos.version>
<netty.version>4.1.63.Final</netty.version> <netty.version>4.1.63.Final</netty.version>
<httpcore.version>4.4.14</httpcore.version> <httpcore.version>4.4.14</httpcore.version>
@@ -28,7 +28,7 @@
<version>2.2.13.RELEASE</version> <version>2.2.13.RELEASE</version>
<relativePath/> <relativePath/>
</parent> </parent>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>
<description>fizz gateway community</description> <description>fizz gateway community</description>
@@ -38,7 +38,7 @@
<module>fizz-common</module> <module>fizz-common</module>
<module>fizz-core</module> <module>fizz-core</module>
<module>fizz-plugin</module> <module>fizz-plugin</module>
<module>fizz-bootstrap</module> <!--<module>fizz-bootstrap</module>-->
<module>fizz-spring-boot-starter</module> <module>fizz-spring-boot-starter</module>
</modules> </modules>
@@ -72,17 +72,17 @@
</dependency>--> </dependency>-->
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-common</artifactId> <artifactId>fizz-common</artifactId>
<version>${fizz.version}</version> <version>${fizz.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-core</artifactId> <artifactId>fizz-core</artifactId>
<version>${fizz.version}</version> <version>${fizz.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>we</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-plugin</artifactId> <artifactId>fizz-plugin</artifactId>
<version>${fizz.version}</version> <version>${fizz.version}</version>
</dependency> </dependency>
@@ -357,7 +357,6 @@
<artifactId>kxml2</artifactId> <artifactId>kxml2</artifactId>
<version>2.3.0</version> <version>2.3.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
@@ -397,7 +396,8 @@
<fizz.version>1.5.0</fizz.version> <fizz.version>1.5.0</fizz.version>
</properties> </properties>
</profile>--> </profile>-->
<!--<profile> <!-- mvn clean deploy -P release -->
<profile>
<id>release</id> <id>release</id>
<build> <build>
<plugins> <plugins>
@@ -482,7 +482,7 @@
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
</profile>--> </profile>
</profiles> </profiles>
</project> </project>