Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHOENIX-6495 Include phoenix-tools jar in assembly #1253

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions phoenix-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@
</arguments>
</configuration>
</execution>
<execution>
<id>embedded client without version</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>ln</executable>
<workingDirectory>${project.basedir}/../phoenix-client-parent/phoenix-client-embedded/target</workingDirectory>
<arguments>
<argument>-fnsv</argument>
<argument>
phoenix-client-embedded-${hbase.suffix}-${project.version}.jar
</argument>
<argument>
<!-- We are overwriting the unshaded client JAR, but we don't care -->
phoenix-client-embedded-${hbase.suffix}.jar
</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>server without version</id>
<phase>compile</phase>
Expand All @@ -83,6 +104,48 @@
</arguments>
</configuration>
</execution>
<execution>
<id>pherf without version</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>ln</executable>
<workingDirectory>${project.basedir}/../phoenix-pherf/target</workingDirectory>
<arguments>
<argument>-fnsv</argument>
<argument>
phoenix-pherf-${project.version}.jar
</argument>
<argument>
<!-- We are overwriting the unshaded server JAR, but we don't care -->
phoenix-pherf.jar
</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>tools without version</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>ln</executable>
<workingDirectory>${project.basedir}/../phoenix-tools/target</workingDirectory>
<arguments>
<argument>-fnsv</argument>
<argument>
phoenix-tools-${project.version}.jar
</argument>
<argument>
<!-- We are overwriting the unshaded server JAR, but we don't care -->
phoenix-tools.jar
</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- No jars created for this module -->
Expand Down Expand Up @@ -144,6 +207,10 @@
<groupId>org.apache.phoenix</groupId>
<artifactId>phoenix-tracing-webapp</artifactId>
</dependency>
<dependency>
<groupId>org.apache.phoenix</groupId>
<artifactId>phoenix-tools</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.woodstox</groupId>
Expand Down
12 changes: 12 additions & 0 deletions phoenix-assembly/src/build/components/all-common-jars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,39 @@
<outputDirectory>/</outputDirectory>
<includes>
<include>phoenix-client-${hbase.suffix}-${project.version}.jar</include>
<include>phoenix-client-${hbase.suffix}.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../phoenix-client-parent/phoenix-client-embedded/target</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>phoenix-client-embedded-${hbase.suffix}-${project.version}.jar</include>
<include>phoenix-client-embedded-${hbase.suffix}.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../phoenix-server/target</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>phoenix-server-${hbase.suffix}-${project.version}.jar</include>
<include>phoenix-server-${hbase.suffix}.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../phoenix-pherf/target</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>phoenix-pherf-${project.version}.jar</include>
<include>phoenix-pherf.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../phoenix-tools/target</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>phoenix-tools-${project.version}.jar</include>
<include>phoenix-tools.jar</include>
</includes>
</fileSet>
</fileSets>
Expand Down