[ 
https://issues.apache.org/jira/browse/PHOENIX-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233084#comment-15233084
 ] 

ASF GitHub Bot commented on PHOENIX-2535:
-----------------------------------------

Github user ss77892 commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/159#discussion_r59098717
  
    --- Diff: phoenix-server-client/pom.xml ---
    @@ -26,29 +26,126 @@
     
       <properties>
         <top.dir>${project.basedir}/..</top.dir>
    +    <shaded.package>org.apache.phoenix.shaded</shaded.package>
       </properties>
     
       <build>
         <plugins>
           <plugin>
    -        <artifactId>maven-assembly-plugin</artifactId>
    -        <executions>
    -          <execution>
    -            <id>thin-client</id>
    -            <phase>package</phase>
    -            <goals>
    -              <goal>single</goal>
    -            </goals>
    -            <configuration>
    -              <attach>false</attach>
    -              <finalName>phoenix-${project.version}</finalName>
    -              <descriptors>
    -                <descriptor>src/build/thin-client.xml</descriptor>
    -              </descriptors>
    -            </configuration>
    -          </execution>
    -        </executions>
    -      </plugin>
    +      <artifactId>maven-assembly-plugin</artifactId>
    +      <configuration>
    +        <skipAssembly>true</skipAssembly>
    +      </configuration>
    +    </plugin>
    +    <plugin>
    +      <groupId>org.apache.maven.plugins</groupId>
    +      <artifactId>maven-shade-plugin</artifactId>
    +      <executions>
    +        <execution>
    +          <id>thin-client</id>
    +          <phase>package</phase>
    +          <goals>
    +            <goal>shade</goal>
    +          </goals>
    +          <configuration>
    +            <createSourcesJar>false</createSourcesJar>
    +            <shadedArtifactAttached>false</shadedArtifactAttached>
    +            
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
    +            <shadeTestJar>false</shadeTestJar>
    +            <finalName>phoenix-${project.version}-thin-client</finalName>
    +            <!--artifactSet>
    --- End diff --
    
    Fixed in next commit


> Create shaded clients (thin + thick) 
> -------------------------------------
>
>                 Key: PHOENIX-2535
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2535
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Sergey Soldatov
>             Fix For: 4.8.0
>
>         Attachments: PHOENIX-2535-1.patch, PHOENIX-2535-2.patch, 
> PHOENIX-2535-3.patch, PHOENIX-2535-4.patch, PHOENIX-2535-5.patch
>
>
> Having shaded client artifacts helps greatly in minimizing the dependency 
> conflicts at the run time. We are seeing more of Phoenix JDBC client being 
> used in Storm topologies and other settings where guava versions become a 
> problem. 
> I think we can do a parallel artifact for the thick client with shaded 
> dependencies and also using shaded hbase. For thin client, maybe shading 
> should be the default since it is new? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to