• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4    <modelVersion>4.0.0</modelVersion>
5    <groupId>org.jf</groupId>
6    <artifactId>baksmali</artifactId>
7    <version>${aversion}</version>
8    <parent>
9        <groupId>org.jf</groupId>
10        <artifactId>smali-pom</artifactId>
11        <version>1.0-SNAPSHOT</version>
12    </parent>
13    <build>
14        <plugins>
15            <!--<plugin>
16                <groupId>org.jf</groupId>
17                <artifactId>maven-smali-plugin</artifactId>
18                <executions>
19                    <execution>
20                        <id>junit-tests</id>
21                        <phase>test-compile</phase>
22                        <goals>
23                            <goal>assemble</goal>
24                        </goals>
25                        <configuration>
26                            <sourceDirectory>src/test/smali</sourceDirectory>
27                            <outputFile>target/test/classes.dex</outputFile>
28                        </configuration>
29                    </execution>
30                </executions>
31            </plugin>
32            <plugin>
33                <groupId>org.codehaus.mojo</groupId>
34                <artifactId>exec-maven-plugin</artifactId>
35                <version>1.1</version>
36                <executions>
37                    <execution>
38                        <phase>test</phase>
39                        <goals>
40                            <goal>exec</goal>
41                        </goals>
42                    </execution>
43                </executions>
44                <configuration>
45                    <executable>java</executable>
46                    <workingDirectory>${basedir}</workingDirectory>
47                    <arguments>
48                        <argument>-classpath</argument>
49                        <classpath/>
50                        <argument>org.jf.baksmali.main</argument>
51                        <argument>-dis</argument>
52                        <argument>${project.build.directory}/test/classes.dex</argument>
53                        <argument>${project.build.directory}/test/out</argument>
54                    </arguments>
55                </configuration>
56            </plugin>-->
57            <plugin>
58                <artifactId>maven-assembly-plugin</artifactId>
59                <configuration>
60                    <descriptorRefs>
61                        <descriptorRef>jar-with-dependencies</descriptorRef>
62                    </descriptorRefs>
63                    <archive>
64                        <manifest>
65                            <mainClass>org.jf.baksmali.main</mainClass>
66                        </manifest>
67                    </archive>
68                </configuration>
69            </plugin>
70        </plugins>
71        <resources>
72            <resource>
73                <directory>src/main/resources/properties</directory>
74                <filtering>true</filtering>
75            </resource>
76        </resources>
77    </build>
78    <dependencies>
79        <dependency>
80            <groupId>org.jf</groupId>
81            <artifactId>dexlib</artifactId>
82            <version>${version}</version>
83        </dependency>
84        <dependency>
85            <groupId>org.jf</groupId>
86            <artifactId>util</artifactId>
87            <version>${version}</version>
88        </dependency>
89        <dependency>
90            <groupId>commons-cli</groupId>
91            <artifactId>commons-cli</artifactId>
92            <version>1.2</version>
93        </dependency>
94    </dependencies>
95</project>