You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/07/19 10:40:00 UTC
[jira] [Closed] (MSHADE-198) In a POM with pom packaging, it
generates uber-jar successfully but in a file name ended with .pom
[ https://issues.apache.org/jira/browse/MSHADE-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MSHADE-198.
---------------------------------
Resolution: Not A Problem
> In a POM with pom packaging, it generates uber-jar successfully but in a file name ended with .pom
> --------------------------------------------------------------------------------------------------
>
> Key: MSHADE-198
> URL: https://issues.apache.org/jira/browse/MSHADE-198
> Project: Maven Shade Plugin
> Issue Type: Improvement
> Reporter: Kai Zheng
> Priority: Major
>
> In a POM with jar packaging, it generates the uber-jar successfully but in a file name ended with .pom. The POM body is as follows.
> {noformat}
> <parent>
> <groupId>org.apache.kerby</groupId>
> <artifactId>kerby-kerb</artifactId>
> <version>1.0-SNAPSHOT</version>
> </parent>
> <artifactId>kerb-client-api-all</artifactId>
> <name>Kerby-kerb client api all</name>
> <description>Kerby-kerb client api all</description>
> <packaging>pom</packaging>
> <dependencies>
> <dependency>
> <groupId>org.apache.kerby</groupId>
> <artifactId>kerb-client</artifactId>
> <version>${project.version}</version>
> </dependency>
> </dependencies>
> <profiles>
> <profile>
> <id>dist</id>
> <build>
> <plugins>
> <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>
> <artifactSet>
> <excludes>
> <exclude>junit:junit</exclude>
> <exclude>org.slf4j:slf4j-api</exclude>
> <exclude>org.apache.kerby:kerby-asn1</exclude>
> </excludes>
> </artifactSet>
> </configuration>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> </profile>
> </profiles>
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)