JAR configuration
<goal>shade</goal>
</goals>
<configuration>
+ <minimizeJar>false</minimizeJar>
+ <keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<mainClass>eu.fasten.analyzer.restapiplugin.Main</mainClass>
</transformer>
</transformers>
+ <!-- Note that this works when maven is ran in the root directory of the project -->
+ <outputDirectory>${session.executionRootDirectory}/docker/plugins/</outputDirectory>
+ <shadedArtifactAttached>true</shadedArtifactAttached>
+ <shadedClassifierName>with-dependencies</shadedClassifierName>
</configuration>
</execution>
</executions>
