Updates the POM file of the OPALPlugin to inlcude all the dependencies into the JAR file.
<name>javacg-opal</name>
<dependencies>
+ <dependency>
+ <groupId>eu.fasten</groupId>
+ <artifactId>core</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+<!-- <scope>provided</scope>-->
+ </dependency>
<dependency>
<groupId>de.opal-project</groupId>
<artifactId>bytecode-representation_2.11</artifactId>
<version>1.5.0</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>info.picocli</groupId>
+ <artifactId>picocli</artifactId>
+ <version>4.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.26</version>
+ </dependency>
</dependencies>
<build>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
+ <version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goal>shade</goal>
</goals>
<configuration>
-<!-- <artifactSet>-->
+ <minimizeJar>true</minimizeJar>
+ <keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
+<!-- <createDependencyReducedPom>false</createDependencyReducedPom>-->
+ <artifactSet>
<!-- <excludes>-->
<!-- <exclude>com.typesafe.play:play-json_2.11:*</exclude>-->
<!-- <exclude>com.typesafe.play:play-functional_2.11:*</exclude>-->
<!-- </excludes>-->
-<!-- </artifactSet>-->
+ <includes>
+ <include>*:*</include>
+ </includes>
+ </artifactSet>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<filter>
<artifact>*:*</artifact>
<excludes>
+ <exclude></exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
