From 026efc2b8a674ff56565be47ed847c033c65a139 Mon Sep 17 00:00:00 2001 From: yukon Date: Mon, 16 Jan 2017 16:27:10 +0800 Subject: [PATCH] [ROCKETMQ-62] Polish Maven assembly release --- client/deploy.bat | 16 ------------- client/install.bat | 17 -------------- client/pom.xml | 50 ----------------------------------------- pom.xml | 56 +++++++++++++++++++++++++++------------------- release-client.xml | 2 +- release.xml | 2 +- 6 files changed, 35 insertions(+), 108 deletions(-) delete mode 100644 client/deploy.bat delete mode 100644 client/install.bat diff --git a/client/deploy.bat b/client/deploy.bat deleted file mode 100644 index ffc21442..00000000 --- a/client/deploy.bat +++ /dev/null @@ -1,16 +0,0 @@ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -mvn -Dmaven.test.skip=true deploy -Pclient-shade diff --git a/client/install.bat b/client/install.bat deleted file mode 100644 index 31efffdf..00000000 --- a/client/install.bat +++ /dev/null @@ -1,17 +0,0 @@ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -mvn -Dmaven.test.skip=true clean package install -Pclient-shade -U - diff --git a/client/pom.xml b/client/pom.xml index 212804ae..1adfb6ea 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -29,56 +29,6 @@ rocketmq-client rocketmq-client ${project.version} - - - client-shade - - - - org.apache.maven.plugins - maven-shade-plugin - 2.4.3 - - - package - - shade - - - - - false - false - true - false - true - - - com.alibaba:fastjson - io.netty:netty-all - org.apache.rocketmq:rocketmq-client - org.apache.rocketmq:rocketmq-common - org.apache.rocketmq:rocketmq-remoting - - - - - io.netty - org.apache.rocketmq.shade.io.netty - - - com.alibaba.fastjson - org.apache.rocketmq.shade.com.alibaba.fastjson - - - - - - - - - - junit diff --git a/pom.xml b/pom.xml index 9484b0fe..dbd43ca9 100644 --- a/pom.xml +++ b/pom.xml @@ -235,29 +235,6 @@ - - maven-assembly-plugin - 2.6 - - apache-rocketmq - - release.xml - - - - - - maven-javadoc-plugin 2.10.4 @@ -399,6 +376,39 @@ + + release-server + + + + maven-assembly-plugin + 2.6 + + apache-rocketmq + + release.xml + + + + + + + + release-client + + + + maven-assembly-plugin + + apache-rocketmq + + release-client.xml + + + + + + diff --git a/release-client.xml b/release-client.xml index b9f4073f..949e81b0 100644 --- a/release-client.xml +++ b/release-client.xml @@ -18,7 +18,7 @@ client - apache-rocketmq-client-java + apache-rocketmq dir tar.gz diff --git a/release.xml b/release.xml index 40a56df0..decb5120 100644 --- a/release.xml +++ b/release.xml @@ -17,7 +17,7 @@ --> - broker + server apache-rocketmq dir -- GitLab