项目版本统一管理

old-package
lensfrex 2 years ago
parent 12648a7ad0
commit 4743d9ace0
Signed by: lensfrex
GPG Key ID: 947ADABD8533C476
  1. 28
      mywust-core/pom.xml
  2. 10
      mywust-model/pom.xml
  3. 8
      mywust-network-httpclient/pom.xml
  4. 26
      mywust-network-okhttp/pom.xml
  5. 9
      mywust-network/pom.xml
  6. 2
      mywust-util/pom.xml
  7. 15
      pom.xml

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>mywust</artifactId> <artifactId>mywust</artifactId>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<version>0.0.1-SNAPSHOT</version> <version>${rversion}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -14,45 +14,32 @@
<dependency> <dependency>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust-network</artifactId> <artifactId>mywust-network</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${parent.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust-util</artifactId> <artifactId>mywust-util</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>2.0.3</version> <version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.jregex</groupId>
<artifactId>jregex</artifactId>
<version>1.2_01</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.jsoup/jsoup --> <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
<dependency> <dependency>
<groupId>org.jsoup</groupId> <groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId> <artifactId>jsoup</artifactId>
<version>1.15.3</version> <version>${jsoup.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/oro/oro -->
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.8</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust-model</artifactId> <artifactId>mywust-model</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${parent.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -73,5 +60,8 @@
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j.version>2.0.3</slf4j.version>
<jsoup.version>1.15.3</jsoup.version>
</properties> </properties>
</project> </project>

@ -5,19 +5,11 @@
<parent> <parent>
<artifactId>mywust</artifactId> <artifactId>mywust</artifactId>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<version>0.0.1-SNAPSHOT</version> <version>${rversion}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>mywust-model</artifactId> <artifactId>mywust-model</artifactId>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>

@ -3,10 +3,12 @@
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">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cn.linghang</groupId> <artifactId>mywust</artifactId>
<groupId>cn.linghang</groupId>
<version>${rversion}</version>
</parent>
<artifactId>mywust-network-httpclient</artifactId> <artifactId>mywust-network-httpclient</artifactId>
<version>1.0-SNAPSHOT</version>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>

@ -2,46 +2,46 @@
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.linghang</groupId> <parent>
<artifactId>mywust</artifactId>
<groupId>cn.linghang</groupId>
<version>${rversion}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>mywust-network-okhttp</artifactId> <artifactId>mywust-network-okhttp</artifactId>
<version>1.0-SNAPSHOT</version>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<okhttp.version>3.14.9</okhttp.version>
<slf4j.version>1.7.36</slf4j.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
</dependency>
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId> <artifactId>okhttp</artifactId>
<version>3.14.9</version> <version>${okhttp.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>1.7.36</version> <version>${slf4j.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust-network</artifactId> <artifactId>mywust-network</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust-util</artifactId> <artifactId>mywust-util</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${parent.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>mywust</artifactId> <artifactId>mywust</artifactId>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<version>0.0.1-SNAPSHOT</version> <version>${rversion}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -18,15 +18,10 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
</dependency>
<dependency> <dependency>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust-util</artifactId> <artifactId>mywust-util</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>${parent.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>mywust</artifactId> <artifactId>mywust</artifactId>
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<version>0.0.1-SNAPSHOT</version> <version>${rversion}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

@ -7,7 +7,7 @@
<groupId>cn.linghang</groupId> <groupId>cn.linghang</groupId>
<artifactId>mywust</artifactId> <artifactId>mywust</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version> <version>${rversion}</version>
<modules> <modules>
<module>mywust-core</module> <module>mywust-core</module>
@ -18,7 +18,20 @@
<module>mywust-network-okhttp</module> <module>mywust-network-okhttp</module>
</modules> </modules>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties> <properties>
<rversion>0.0.1</rversion>
<lombok.version>1.18.22</lombok.version>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Loading…
Cancel
Save