Skip to content

Commit

Permalink
update version to 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
woodwhales committed Sep 18, 2021
1 parent dea3674 commit 67025d3
Showing 1 changed file with 68 additions and 32 deletions.
100 changes: 68 additions & 32 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

<groupId>cn.woodwhales.common</groupId>
<artifactId>woodwhales-common</artifactId>
<version>3.4.0</version>
<version>3.5.0</version>
<name>woodwhales-common</name>

<!-- 项目描述 -->
<description>https://github.com/woodwhales</description>
<url>https://github.com/woodwhales/woodwhales-common</url>

Expand Down Expand Up @@ -38,24 +39,35 @@
</properties>

<licenses>
<!-- 开源协议 -->
<license>
<name>The Apache Software License, Version2.0</name>
<url>http://www.apache.org/licenses/</url>
<distribution>repo</distribution>
</license>
</licenses>

<!-- scm -->
<scm>
<url>scm:git:[email protected]:woodwhales/woodwhales-common.git</url>
<connection>scm:git:[email protected]:woodwhales/woodwhales-common.git</connection>
<developerConnection>scm:git:[email protected]:woodwhales/woodwhales-common.git</developerConnection>
<tag>master</tag>
<url>https://github.com/woodwhales/woodwhales-common</url>
<connection>scm:git:git://github.com:woodwhales/woodwhales-common.git</connection>
<developerConnection>scm:git:git://github.com:woodwhales/woodwhales-common.git</developerConnection>
</scm>
<!-- issues -->
<issueManagement>
<system>GitHub Issue Management</system>
<url>https://github.com/woodwhales/woodwhales-common/issues</url>
</issueManagement>

<!-- 开发者信息 -->
<developers>
<developer>
<id>woodwhales</id>
<name>woodwhales</name>
<email>[email protected]</email>
<url>https://woodwhales.cn/</url>
<timezone>+8</timezone>
</developer>
</developers>

Expand Down Expand Up @@ -183,32 +195,38 @@
</dependency>
</dependencies>

<!-- distributionManagement -->
<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>

<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>central</id>-->
<!-- <name>aliyun maven</name>-->
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
<!-- <layout>default</layout>-->
<!-- &lt;!&ndash; 是否开启发布版构件下载 &ndash;&gt;-->
<!-- <releases>-->
<!-- <enabled>true</enabled>-->
<!-- </releases>-->
<!-- &lt;!&ndash; 是否开启快照版构件下载 &ndash;&gt;-->
<!-- <snapshots>-->
<!-- <enabled>false</enabled>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- </repositories>-->
<repositories>
<repository>
<id>central</id>
<name>aliyun maven</name>
<url>https://maven.aliyun.com/repository/public</url>
<layout>default</layout>
<!-- 是否开启发布版构件下载 -->
<releases>
<enabled>true</enabled>
</releases>
<!-- 是否开启快照版构件下载 -->
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<build>
<plugins>
<!-- 将git信息打包至jar文件中 -->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
Expand Down Expand Up @@ -242,6 +260,7 @@
<!--<format>json</format>-->
</configuration>
</plugin>
<!-- maven 编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -253,51 +272,68 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- maven 编译时跳过单元测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<!-- 指定编码格式,否则在DOS下运行mvn命令时当发生文件资源copy时将使用系统默认使用GBK编码 -->
<encoding>UTF-8</encoding>
<skip>true</skip>
</configuration>
</plugin>
<!-- maven 打包资源文件插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<skip>true</skip>
<!-- 指定编码格式,否则在DOS下运行mvn命令时当发生文件资源copy时将使用系统默认使用GBK编码 -->
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- maven 打包时附带源码文件插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 这个是必须要的,不如提交到官方仓库的时候会不通过 -->
<!-- 生成 javadoc 插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<phase>package</phase>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--<plugin>
<!-- sonatype staging 插件 -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- maven-gpg 插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
Expand All @@ -310,7 +346,7 @@
</goals>
</execution>
</executions>
</plugin>-->
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 67025d3

Please sign in to comment.