mirror of
https://gitee.com/fujieid/jap.git
synced 2024-12-02 03:17:33 +08:00
🔥 update pom.xml
This commit is contained in:
parent
d3e8c489db
commit
63df0f8848
1
.gitignore
vendored
1
.gitignore
vendored
@ -63,3 +63,4 @@ build/
|
|||||||
/jap-mfa/pom.xml.versionsBackup
|
/jap-mfa/pom.xml.versionsBackup
|
||||||
/docs/bin/codecov.sh
|
/docs/bin/codecov.sh
|
||||||
/jap-ids/pom.xml.versionsBackup
|
/jap-ids/pom.xml.versionsBackup
|
||||||
|
/jap-bom/pom.xml.versionsBackup
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a target="_blank" href="https://search.maven.org/search?q=jap">
|
<a target="_blank" href="https://search.maven.org/search?q=jap">
|
||||||
<img src="https://img.shields.io/badge/Maven%20Central-1.0.1%20alpha.1-blue" ></img>
|
<img src="https://img.shields.io/badge/Maven%20Central-1.0.1-blue" ></img>
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE">
|
<a target="_blank" href="https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE">
|
||||||
<img src="https://img.shields.io/badge/license-LGPL%203.0-red" ></img>
|
<img src="https://img.shields.io/badge/license-LGPL%203.0-red" ></img>
|
||||||
|
@ -10,7 +10,7 @@ echo "当前路径:$pwd"
|
|||||||
if [ -n "$1" ];then
|
if [ -n "$1" ];then
|
||||||
new_version="$1"
|
new_version="$1"
|
||||||
old_version=`cat $pwd/docs/bin/version.txt`
|
old_version=`cat $pwd/docs/bin/version.txt`
|
||||||
echo "$old_version 替换为新版本 $new_version"
|
echo "将项目版本 v$old_version 修改为 v$new_version"
|
||||||
else
|
else
|
||||||
# 参数错误,退出
|
# 参数错误,退出
|
||||||
echo "ERROR: 请指定新版本!"
|
echo "ERROR: 请指定新版本!"
|
||||||
@ -22,9 +22,14 @@ if [ ! -n "$old_version" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 替换README.md等文件中的版本
|
echo "替换 $pwd/README.md"
|
||||||
sed -i "s/${old_version}/${new_version}/g" $pwd/README.md
|
sed -i "s/${old_version}/${new_version}/g" $pwd/README.md
|
||||||
|
echo "替换 $pwd/README.en.md"
|
||||||
sed -i "s/${old_version}/${new_version}/g" $pwd/README.en.md
|
sed -i "s/${old_version}/${new_version}/g" $pwd/README.en.md
|
||||||
|
echo "替换 $pwd/jap-bom/pom.xml"
|
||||||
|
sed -i "s/${old_version}/${new_version}/g" $pwd/jap-bom/pom.xml
|
||||||
|
echo "替换 $pwd/pom.xml"
|
||||||
|
sed -i "s/${old_version}/${new_version}/g" $pwd/pom.xml
|
||||||
|
|
||||||
# 保留新版本号
|
# 保留新版本号
|
||||||
echo "$new_version" > $pwd/docs/bin/version.txt
|
echo "$new_version" > $pwd/docs/bin/version.txt
|
||||||
|
@ -13,7 +13,7 @@ if [ ! -n "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 替换所有模块pom.xml中的版本
|
# 替换所有模块pom.xml中的版本
|
||||||
mvn versions:set -DnewVersion=$1
|
#mvn versions:set -DnewVersion=$1
|
||||||
|
|
||||||
# 替换其它地方的版本
|
# 替换其它地方的版本
|
||||||
source $(pwd)/docs/bin/repVersion.sh "$1"
|
source $(pwd)/docs/bin/repVersion.sh "$1"
|
||||||
|
@ -1 +1 @@
|
|||||||
1.0.1
|
1.0.2
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-bom</artifactId>
|
<artifactId>jap-bom</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
<name>${project.artifactId}</name>
|
<name>${project.artifactId}</name>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<description>
|
<description>
|
||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- jap version -->
|
<!-- jap version -->
|
||||||
<revision>1.0.1</revision>
|
<jap.version>1.0.2-SNAPSHOT</jap.version>
|
||||||
|
|
||||||
<junit.version>4.13.1</junit.version>
|
<junit.version>4.13.1</junit.version>
|
||||||
<mockito.version>2.23.4</mockito.version>
|
<mockito.version>2.23.4</mockito.version>
|
||||||
@ -37,42 +37,42 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-core</artifactId>
|
<artifactId>jap-core</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-simple</artifactId>
|
<artifactId>jap-simple</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-social</artifactId>
|
<artifactId>jap-social</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-oauth2</artifactId>
|
<artifactId>jap-oauth2</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-sso</artifactId>
|
<artifactId>jap-sso</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-oidc</artifactId>
|
<artifactId>jap-oidc</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-mfa</artifactId>
|
<artifactId>jap-mfa</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-ids</artifactId>
|
<artifactId>jap-ids</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- junit start -->
|
<!-- junit start -->
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
6
pom.xml
6
pom.xml
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap</artifactId>
|
<artifactId>jap</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>jap</name>
|
<name>jap</name>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- jap version -->
|
<!-- jap version -->
|
||||||
<revision>1.0.1</revision>
|
<jap.version>1.0.2-SNAPSHOT</jap.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
@ -134,7 +134,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fujieid</groupId>
|
<groupId>com.fujieid</groupId>
|
||||||
<artifactId>jap-bom</artifactId>
|
<artifactId>jap-bom</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${jap.version}</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
Loading…
Reference in New Issue
Block a user