Fix jar shading

Fixes #297
This commit is contained in:
Nico Mexis 2021-06-22 14:44:48 +02:00
parent 85ba5bbb11
commit 58e8bfb17f
No known key found for this signature in database
GPG key ID: 27D6E17CE092AB78

32
pom.xml
View file

@ -29,8 +29,8 @@
<groupId>org.apktool</groupId> <groupId>org.apktool</groupId>
<artifactId>apktool</artifactId> <artifactId>apktool</artifactId>
<version>2.3.0</version> <version>2.3.0</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/libs/apktool_2.3.0.jar</systemPath> <systemPath>${project.basedir}/libs/apktool_2.3.0.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ow2.asm</groupId> <groupId>org.ow2.asm</groupId>
@ -131,15 +131,15 @@
<groupId>com.jd</groupId> <groupId>com.jd</groupId>
<artifactId>jd-gui</artifactId> <artifactId>jd-gui</artifactId>
<version>1.6.6</version> <version>1.6.6</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/libs/jd-gui-1.6.6-no-asm-rsta.jar</systemPath> <systemPath>${project.basedir}/libs/jd-gui-1.6.6-no-asm-rsta.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>eu.bibl.banalysis</groupId> <groupId>eu.bibl.banalysis</groupId>
<artifactId>byteanalysis</artifactId> <artifactId>byteanalysis</artifactId>
<version>1.0</version> <version>1.0</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${project.basedir}/libs/byteanalysis-1.0.jar</systemPath> <systemPath>${project.basedir}/libs/byteanalysis-1.0.jar</systemPath>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.tinyjee.jgraphx</groupId> <groupId>org.tinyjee.jgraphx</groupId>
@ -228,6 +228,26 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>unpack</id>
<!-- In process resource phase such that it doesn't
override other dependencies or BCV's own files -->
<phase>process-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeScope>system</includeScope>
<outputDirectory>${basedir}/target/classes</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>