| <?xml version="1.0" encoding="UTF-8"?> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.jf</groupId> |
| <artifactId>baksmali</artifactId> |
| <version>${aversion}</version> |
| <parent> |
| <groupId>org.jf</groupId> |
| <artifactId>smali-pom</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| </parent> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| <archive> |
| <manifest> |
| <mainClass>org.jf.baksmali.main</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.github.wvengen</groupId> |
| <artifactId>proguard-maven-plugin</artifactId> |
| <version>2.0.5</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>proguard</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <proguardVersion>4.8</proguardVersion> |
| <obfuscate>false</obfuscate> |
| <includeDependency>false</includeDependency> |
| <injar>${project.build.finalName}-jar-with-dependencies.jar</injar> |
| <outjar>${project.build.finalName}-jar-with-dependencies-small.jar</outjar> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| <options> |
| <option>-keep public class org.jf.baksmali.main { |
| public static void main(java.lang.String[]); |
| }</option> |
| <option>-keepclassmembers enum * { |
| public static **[] values(); |
| public static ** valueOf(java.lang.String); |
| }</option> |
| <option>-dontwarn junit.**</option> |
| <option>-dontnote junit.**</option> |
| <option>-dontwarn org.junit.**</option> |
| <option>-dontnote org.junit.**</option> |
| <option>-dontwarn com.google.common.base.**</option> |
| <option>-dontnote com.google.common.base.**</option> |
| </options> |
| <libs> |
| <lib>${java.home}/lib/rt.jar</lib> |
| </libs> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>net.sf.proguard</groupId> |
| <artifactId>proguard-base</artifactId> |
| <version>4.8</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| <resources> |
| <resource> |
| <directory>src/main/resources/properties</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.jf</groupId> |
| <artifactId>dexlib</artifactId> |
| <version>${version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jf</groupId> |
| <artifactId>util</artifactId> |
| <version>${version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>1.3.9</version> |
| </dependency> |
| </dependencies> |
| </project> |