Optimize project version management #181

This commit is contained in:
hongqiaowei
2021-05-13 11:49:51 +08:00
parent 66575095c3
commit a99e08bf21
6 changed files with 13 additions and 16 deletions

View File

@@ -12,10 +12,9 @@
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-bootstrap</artifactId> <artifactId>fizz-bootstrap</artifactId>
<version>2.0.0-beta4</version> <version>2.0.0-beta5</version>
<properties> <properties>
<fizz.version>2.0.0-beta4</fizz.version>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<spring-framework.version>5.2.15.RELEASE</spring-framework.version> <spring-framework.version>5.2.15.RELEASE</spring-framework.version>
<reactor-bom.version>Dysprosium-SR20</reactor-bom.version> <reactor-bom.version>Dysprosium-SR20</reactor-bom.version>
@@ -36,13 +35,13 @@
<dependency> <dependency>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-common</artifactId> <artifactId>fizz-common</artifactId>
<version>${fizz.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-spring-boot-starter</artifactId> <artifactId>fizz-spring-boot-starter</artifactId>
<version>${fizz.version}</version> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -112,7 +111,7 @@
</goals> </goals>
<configuration> <configuration>
<target> <target>
<copy file="${basedir}/target/fizz-bootstrap-${fizz.version}.jar" <copy file="${basedir}/target/fizz-bootstrap-${project.version}.jar"
tofile="${basedir}/target/fizz-gateway-community/fizz-gateway-community.jar" /> tofile="${basedir}/target/fizz-gateway-community/fizz-gateway-community.jar" />
</target> </target>
</configuration> </configuration>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<version>2.0.0-beta4</version> <version>2.0.0-beta5</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<version>2.0.0-beta4</version> <version>2.0.0-beta5</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<version>2.0.0-beta4</version> <version>2.0.0-beta5</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>fizz-gateway-community</artifactId> <artifactId>fizz-gateway-community</artifactId>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<version>2.0.0-beta4</version> <version>2.0.0-beta5</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

12
pom.xml
View File

@@ -4,8 +4,6 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<properties> <properties>
<!--<project.root>${project.basedir}</project.root>-->
<fizz.version>2.0.0-beta4</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.15.RELEASE</spring-framework.version> <spring-framework.version>5.2.15.RELEASE</spring-framework.version>
@@ -32,7 +30,7 @@
<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>
<version>2.0.0-beta4</version> <version>2.0.0-beta5</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>fizz-common</module> <module>fizz-common</module>
@@ -66,7 +64,7 @@
<dependency> <dependency>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-common</artifactId> <artifactId>fizz-common</artifactId>
<version>${fizz.version}</version> <version>${project.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>com.networknt</groupId> <groupId>com.networknt</groupId>
@@ -77,12 +75,12 @@
<dependency> <dependency>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-core</artifactId> <artifactId>fizz-core</artifactId>
<version>${fizz.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fizzgate</groupId> <groupId>com.fizzgate</groupId>
<artifactId>fizz-plugin</artifactId> <artifactId>fizz-plugin</artifactId>
<version>${fizz.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
@@ -391,7 +389,7 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<properties> <properties>
<fizz.version>2.0.0-beta4</fizz.version> <xxx>yyy</xxx>
</properties> </properties>
</profile>--> </profile>-->
<!-- mvn clean deploy -P release --> <!-- mvn clean deploy -P release -->