You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ali akbar Shahriari Garaei (JIRA)" <ji...@apache.org> on 2018/12/21 11:00:00 UTC
[jira] [Created] (MSHADE-310) maven-shade-plugin version 3.2.0 with
pluginManagement tag does not produce jar-with-dependencies file
ali akbar Shahriari Garaei created MSHADE-310:
-------------------------------------------------
Summary: maven-shade-plugin version 3.2.0 with pluginManagement tag does not produce jar-with-dependencies file
Key: MSHADE-310
URL: https://issues.apache.org/jira/browse/MSHADE-310
Project: Maven Shade Plugin
Issue Type: Bug
Affects Versions: 3.2.0
Environment: windows, intellije IDEA, maven
Reporter: ali akbar Shahriari Garaei
When I use maven-shade-plugin version 3.2.0 with pluginManagement tag as below
{code:java}
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<!-- original version 2.1 -->
<version>3.2.0</version>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>jdbc.properties_vb</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/LICENSE*</exclude>
<exclude>META-INF/license.txt</exclude>
<exclude>META-INF/NOTICE*</exclude>
<exclude>META-INF/notice.txt</exclude>
<exclude>LICENSE</exclude>
<exclude>license.txt</exclude>
<exclude>NOTICE</exclude>
<exclude>overview.html</exclude>
<exclude>readme.txt</exclude>
<exclude>testpool.jocl</exclude>
<exclude>XPP3_1.1.4c_MIN_VERSION</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>be.baba.tar.upload.Run</Main-Class>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>{code}
does not produce jar-with-dependencies file in the target folder of my project.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)