Skip to content

Commit

Permalink
1.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chensoul committed Nov 16, 2024
1 parent 5d88fc4 commit a6d2b99
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:

- name: Set up Maven Central Repository
uses: actions/setup-java@v4
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
with:
distribution: 'temurin'
java-version: 17
Expand All @@ -52,6 +53,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # gpg --armor --export-secret-keys YOUR_ID

- name: Deploy to Maven Central Repository
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_TOKEN: ${{ secrets.OSSRH_TOKEN }}
Expand Down
44 changes: 24 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,28 @@
<packaging>pom</packaging>
<version>1.3.0</version>

<name>chensoul-parent</name>
<description>chensoul-parent</description>
<url>https://github.com/chensoul/chensoul-parent</url>

<scm>
<!-- 使用 https:因为 publish-scm 插件-->
<url>https://github.com/chensoul/chensoul-parent.git</url>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<tag>HEAD</tag>
</scm>

<issueManagement>
<system>Github</system>
<url>https://github.com/chensoul/chensoul-parent/issues</url>
</issueManagement>

<ciManagement>
<system>Github Actions</system>
<url>https://github.com/chensoul/chensoul-parent/actions</url>
</ciManagement>

<licenses>
<license>
<name>Apache License, version 2.0</name>
Expand All @@ -35,24 +57,6 @@
</developer>
</developers>

<scm>
<!-- 使用 https:因为 publish-scm 插件-->
<url>https://github.com/chensoul/chensoul-parent.git</url>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<tag>HEAD</tag>
</scm>

<issueManagement>
<system>Github</system>
<url>https://github.com/chensoul/chensoul-parent/issues</url>
</issueManagement>

<ciManagement>
<system>Github Actions</system>
<url>https://github.com/chensoul/chensoul-parent/actions</url>
</ciManagement>

<properties>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -61,7 +65,6 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>

<!-- The spring-boot version should be the same as the parent version above -->
<spring-boot.version>3.3.5</spring-boot.version>

<!-- Plugin versions -->
Expand All @@ -78,6 +81,7 @@
<jib-maven-plugin.version>3.4.4</jib-maven-plugin.version>
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
<sonar-maven-plugin.version>5.0.0.4389</sonar-maven-plugin.version>
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>

<jacoco.minimum.coverage>0.80</jacoco.minimum.coverage>
</properties>
Expand Down Expand Up @@ -222,7 +226,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.version}</version>
<version>${spotless-maven-plugin.version}</version>
<configuration>
<java>
<palantirJavaFormat>
Expand Down

0 comments on commit a6d2b99

Please sign in to comment.