Thanks Karl for the response. I just logged an issue as follows. It was caused by the bad packaging (it's 'pom' instead of 'jar'). Would you comment on it? Thanks.
https://issues.apache.org/jira/browse/MSHADE-198 Regards, Kai -----Original Message----- From: Karl Heinz Marbaise [mailto:[email protected]] Sent: Monday, July 13, 2015 2:04 PM To: Maven Users List Subject: Re: Maven shade plugin generates uber-jar but in a file name like *.pom 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
