maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng, Kai" <kai.zh...@intel.com>
Subject Maven shade plugin generates uber-jar but in a file name like *.pom
Date Sun, 12 Jul 2015 23:02:23 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message