Skip to content

Commit

Permalink
deploy release jar #777
Browse files Browse the repository at this point in the history
  • Loading branch information
shanwb committed Jan 12, 2024
1 parent 5c8befe commit ce7317e
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jcommon/aop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>1.4-jdk20-SNAPSHOT</version>
</parent>
<artifactId>aop</artifactId>
<version>1.4-jdk21-SNAPSHOT</version>
<version>${submodule-release.version}</version>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
Expand Down
2 changes: 1 addition & 1 deletion jcommon/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
<version>1.4-jdk20-SNAPSHOT</version>
</parent>
<artifactId>api</artifactId>
<version>1.4.1-jdk20-SNAPSHOT</version>
<version>${submodule-release.version}</version>
</project>
1 change: 1 addition & 0 deletions jcommon/crypto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<version>1.4-jdk20-SNAPSHOT</version>
</parent>
<artifactId>crypto</artifactId>
<version>${submodule-release.version}</version>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
2 changes: 1 addition & 1 deletion jcommon/docean-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>1.4-jdk20-SNAPSHOT</version>
</parent>
<artifactId>docean-plugin</artifactId>
<version>1.4-jdk21-SNAPSHOT</version>
<version>${submodule-release.version}</version>
<packaging>pom</packaging>
<modules>
<module>docean-plugin-aop</module>
Expand Down
5 changes: 3 additions & 2 deletions jcommon/docean/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@
<version>1.4-jdk20-SNAPSHOT</version>
</parent>
<artifactId>docean</artifactId>
<version>1.4-jdk21-SNAPSHOT</version>
<version>${submodule-release.version}</version>
<properties>
<netty.version>4.1.97.Final</netty.version>
</properties>
<dependencies>
<dependency>
<groupId>run.mone</groupId>
<artifactId>easy</artifactId>
<version>1.4-jdk21-SNAPSHOT</version>
<!-- <version>1.4-jdk21-SNAPSHOT</version>-->
<version>1.5.0-jdk21</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
Expand Down
2 changes: 1 addition & 1 deletion jcommon/easy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>1.4-jdk20-SNAPSHOT</version>
</parent>
<artifactId>easy</artifactId>
<version>1.4-jdk21-SNAPSHOT</version>
<version>${submodule-release.version}</version>
<dependencies>
<dependency>
<groupId>cglib</groupId>
Expand Down
47 changes: 46 additions & 1 deletion jcommon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@
</snapshotRepository>
</distributionManagement>
<properties>
<maven.jcommonDirectory>~/</maven.jcommonDirectory>
<maven.jcommonDirectory>./</maven.jcommonDirectory>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<submodule-release.version>1.5.0-jdk21</submodule-release.version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -175,6 +176,31 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.4.0</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version> <!-- 版本号根据您的 Maven 版本可能有所不同 -->
<configuration>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>


<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
Expand Down Expand Up @@ -203,6 +229,25 @@
<attach>true</attach>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<executable>gpg</executable>
<keyname>your key</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit ce7317e

Please sign in to comment.