Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.2 4346baa5b -> b1f487fc9
PHOENIX-4781 Fix phoenix-client and phoenix-server jar naming convention Co-authored-by: Karan Mehta <karanmeht...@apache.org> Co-authored-by: Vincent Poon <vincentp...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b1f487fc Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b1f487fc Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b1f487fc Branch: refs/heads/4.x-HBase-1.2 Commit: b1f487fc960cf6933237f297a9f3ae5ec0354164 Parents: 4346baa Author: Vincent Poon <vincentp...@apache.org> Authored: Thu Nov 29 17:47:02 2018 -0800 Committer: Vincent Poon <vincentp...@apache.org> Committed: Fri Nov 30 10:53:05 2018 -0800 ---------------------------------------------------------------------- bin/phoenix_utils.py | 2 +- phoenix-client/pom.xml | 6 +++--- phoenix-server/pom.xml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/b1f487fc/bin/phoenix_utils.py ---------------------------------------------------------------------- diff --git a/bin/phoenix_utils.py b/bin/phoenix_utils.py index 98a0896..1b5a2d6 100755 --- a/bin/phoenix_utils.py +++ b/bin/phoenix_utils.py @@ -68,7 +68,7 @@ def findClasspath(command_name): return subprocess.Popen(command, shell=True, stdout=subprocess.PIPE).stdout.read() def setPath(): - PHOENIX_CLIENT_JAR_PATTERN = "phoenix-*-client.jar" + PHOENIX_CLIENT_JAR_PATTERN = "phoenix-client-*.jar" PHOENIX_THIN_CLIENT_JAR_PATTERN = "phoenix-*-thin-client.jar" PHOENIX_QUERYSERVER_JAR_PATTERN = "phoenix-*-queryserver.jar" PHOENIX_LOADBALANCER_JAR_PATTERN = "phoenix-load-balancer-*[!t][!e][!s][!t][!s].jar" http://git-wip-us.apache.org/repos/asf/phoenix/blob/b1f487fc/phoenix-client/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-client/pom.xml b/phoenix-client/pom.xml index 96e5e09..e7f6b45 100644 --- a/phoenix-client/pom.xml +++ b/phoenix-client/pom.xml @@ -60,7 +60,7 @@ <executions> <execution> <id>default-jar</id> - <phase>none</phase> + <phase>package</phase> </execution> </executions> </plugin> @@ -80,7 +80,7 @@ </execution> </executions> <configuration> - <file>${basedir}/target/phoenix-${project.version}-client.jar</file> + <file>${basedir}/target/phoenix-client-${project.version}.jar</file> <pomFile>${basedir}/pom.xml</pomFile> </configuration> </plugin> @@ -94,7 +94,7 @@ <goal>shade</goal> </goals> <configuration> - <finalName>phoenix-${project.version}-client</finalName> + <finalName>phoenix-client-${project.version}</finalName> <shadedArtifactAttached>false</shadedArtifactAttached> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <shadeTestJar>false</shadeTestJar> http://git-wip-us.apache.org/repos/asf/phoenix/blob/b1f487fc/phoenix-server/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-server/pom.xml b/phoenix-server/pom.xml index afd3dbf..7400b9f 100644 --- a/phoenix-server/pom.xml +++ b/phoenix-server/pom.xml @@ -64,7 +64,7 @@ <executions> <execution> <id>default-jar</id> - <phase>none</phase> + <phase>package</phase> </execution> </executions> </plugin> @@ -84,7 +84,7 @@ </execution> </executions> <configuration> - <file>${basedir}/target/phoenix-${project.version}-server.jar</file> + <file>${basedir}/target/phoenix-server-${project.version}.jar</file> <pomFile>${basedir}/pom.xml</pomFile> </configuration> </plugin> @@ -99,7 +99,7 @@ <goal>shade</goal> </goals> <configuration> - <finalName>phoenix-${project.version}-server</finalName> + <finalName>phoenix-server-${project.version}</finalName> <shadedArtifactAttached>false</shadedArtifactAttached> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <shadeTestJar>false</shadeTestJar>