Hi,

just simply use

<finalName>client-api-all</finalName>
..

Kind regards
Karl Heinz Marbaise
On 7/13/15 1:02 AM, Zheng, Kai wrote:
Hi experts,

With the following, it generates a uber-jar, but the generated jar file name 
isn't expected, being client-api-all.jar.pom. Note the content is correct, 
containing classes files, not any POM stuff.
Would anyone help? Thanks a lot.

           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-shade-plugin</artifactId>
             <version>2.4</version>
             <executions>
               <execution>
                 <phase>package</phase>
                 <goals>
                   <goal>shade</goal>
                 </goals>
                 <configuration>
                   <finalName>client-api-all.jar</finalName>
                 </configuration>
               </execution>
             </executions>
           </plugin>

Regards,
Kai



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to