OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <project | |
3 xmlns="http://maven.apache.org/POM/4.0.0" | |
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apach
e.org/maven-v4_0_0.xsd"> | |
6 <modelVersion>4.0.0</modelVersion> | |
7 | |
8 <parent> | |
9 <groupId>org.adblockplus.libadblockplus.android</groupId> | |
10 <artifactId>parent</artifactId> | |
11 <version>1.0</version> | |
12 </parent> | |
13 | |
14 <groupId>org.adblockplus.libadblockplus.android</groupId> | |
15 <artifactId>library</artifactId> | |
16 <version>2.0</version> | |
17 <packaging>aar</packaging> | |
18 <name>libadblockplus-android</name> | |
19 | |
20 <dependencies> | |
21 <!-- android --> | |
22 <dependency> | |
23 <groupId>com.google.android</groupId> | |
24 <artifactId>android</artifactId> | |
25 <version>[4.1,)</version> <!-- 4.1 = target-16 --> | |
26 <type>jar</type> | |
27 <scope>provided</scope> | |
28 </dependency> | |
29 </dependencies> | |
30 | |
31 <build> | |
32 <sourceDirectory>${basedir}/src</sourceDirectory> | |
33 <plugins> | |
34 <!-- clean or compile native libraries using Ant --> | |
35 <plugin> | |
36 <artifactId>maven-antrun-plugin</artifactId> | |
37 <version>1.8</version> | |
38 <executions> | |
39 <execution> | |
40 <id>ant-clean</id> | |
41 <phase>pre-clean</phase> | |
42 <configuration> | |
43 <target> | |
44 <ant antfile="${basedir}/build.xml" target="-pre
-clean"/> | |
45 </target> | |
46 </configuration> | |
47 <goals> | |
48 <goal>run</goal> | |
49 </goals> | |
50 </execution> | |
51 <execution> | |
52 <id>ant-compile</id> | |
53 <phase>generate-resources</phase> | |
54 <configuration> | |
55 <target> | |
56 <ant antfile="${basedir}/build.xml" target="-pre
-build"/> | |
57 </target> | |
58 </configuration> | |
59 <goals> | |
60 <goal>run</goal> | |
61 </goals> | |
62 </execution> | |
63 </executions> | |
64 </plugin> | |
65 | |
66 <!-- compile java code and package --> | |
67 <plugin> | |
68 <groupId>com.simpligility.maven.plugins</groupId> | |
69 <artifactId>android-maven-plugin</artifactId> | |
70 <version>4.4.1</version> | |
71 <goals> | |
72 <goal>ndk-build</goal> | |
73 </goals> | |
74 <configuration> | |
75 <sdk> | |
76 <platform>16</platform> | |
77 </sdk> | |
78 <ndk> | |
79 <path>${env.ANDROID_NDK_HOME}</path> | |
80 </ndk> | |
81 | |
82 <!-- specific files locations --> | |
83 <androidManifestFile>AndroidManifest.xml</androidManifestFil
e> | |
84 <resourceDirectory>res</resourceDirectory> | |
85 <nativeLibrariesDirectory>libs</nativeLibrariesDirectory> | |
86 | |
87 </configuration> | |
88 <extensions>true</extensions> | |
89 </plugin> | |
90 | |
91 </plugins> | |
92 </build> | |
93 | |
94 </project> | |
OLD | NEW |