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

Reply via email to