Skip to content

Commit

Permalink
[maven-release-plugin] prepare release rocketmq-client-java-5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-ai committed Aug 1, 2022
1 parent 034d51f commit db03197
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 40 deletions.
6 changes: 2 additions & 4 deletions java/client-apis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<parent>
<artifactId>rocketmq-client-java-parent</artifactId>
<groupId>org.apache.rocketmq</groupId>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
40 changes: 14 additions & 26 deletions java/client-shade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<parent>
<artifactId>rocketmq-client-java-parent</artifactId>
<groupId>org.apache.rocketmq</groupId>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -62,10 +60,8 @@
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" />
</transformers>
<filters>
<filter>
Expand Down Expand Up @@ -188,33 +184,25 @@
<target>
<unzip dest="${classesShadedDir}">
<fileset dir="${project.build.directory}">
<include name="${shadeJarName}"/>
<include name="${shadeJarName}" />
</fileset>
</unzip>
<move file="${classesShadedNativeDir}/io_grpc_netty_shaded_netty_tcnative_windows_x86_64.dll"
tofile="${classesShadedNativeDir}/${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_windows_x86_64.dll"/>
<move file="${classesShadedNativeDir}/io_grpc_netty_shaded_netty_tcnative_windows_x86_64.dll" tofile="${classesShadedNativeDir}/${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_windows_x86_64.dll" />

<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_linux_aarch_64.so"
tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_linux_aarch_64.so"/>
<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_linux_aarch_64.so" tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_linux_aarch_64.so" />

<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64.so"
tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_linux_x86_64.so"/>
<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64.so" tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_linux_x86_64.so" />

<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib"
tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib"/>
<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib" tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib" />

<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so"
tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so"/>
<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so" tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so" />

<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib"
tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib"/>
<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib" tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib" />

<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_transport_native_epoll_aarch_64.so"
tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_transport_native_epoll_aarch_64.so"/>
<move file="${classesShadedNativeDir}/libio_grpc_netty_shaded_netty_transport_native_epoll_aarch_64.so" tofile="${classesShadedNativeDir}/lib${shadingNettyNativePrefix}_io_grpc_netty_shaded_netty_transport_native_epoll_aarch_64.so" />

<jar destfile="${project.build.directory}/${shadeJarName}"
basedir="${classesShadedDir}"/>
<!-- <delete dir="${classesShadedDir}"/> -->
<jar destfile="${project.build.directory}/${shadeJarName}" basedir="${classesShadedDir}" />
<!-- <delete dir="${classesShadedDir}" /> -->
</target>
</configuration>
</execution>
Expand Down
6 changes: 2 additions & 4 deletions java/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@
limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<parent>
<artifactId>rocketmq-client-java-parent</artifactId>
<groupId>org.apache.rocketmq</groupId>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
10 changes: 4 additions & 6 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
Expand All @@ -28,7 +26,7 @@
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client-java-parent</artifactId>
<packaging>pom</packaging>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.0</version>
<modules>
<module>client-apis</module>
<module>client</module>
Expand Down Expand Up @@ -303,7 +301,7 @@
<requireJavaVersion>
<version>11</version>
</requireJavaVersion>
<dependencyConvergence/>
<dependencyConvergence />
<!-- Ban lombok -->
<bannedDependencies>
<excludes>
Expand Down Expand Up @@ -341,6 +339,6 @@
<url>git@github.com:apache/rocketmq-clients.git</url>
<connection>scm:git:git@github.com:apache/rocketmq-clients.git</connection>
<developerConnection>scm:git:git@github.com:apache/rocketmq-clients.git</developerConnection>
<tag>HEAD</tag>
<tag>rocketmq-client-java-5.0.0</tag>
</scm>
</project>

0 comments on commit db03197

Please sign in to comment.