|
10 | 10 |
|
11 | 11 | <properties> |
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | + <android.version>4.1.1.4</android.version> |
| 14 | + <android.platform>16</android.platform> |
| 15 | + <androidannotations.version>2.7</androidannotations.version> |
| 16 | + <java.version>1.6</java.version> |
13 | 17 | </properties> |
14 | 18 |
|
15 | 19 | <dependencies> |
16 | 20 | <dependency> |
17 | 21 | <groupId>com.google.android</groupId> |
18 | 22 | <artifactId>android</artifactId> |
19 | | - <version>2.2.1</version> |
| 23 | + <version>${android.version}</version> |
20 | 24 | <scope>provided</scope> |
21 | 25 | </dependency> |
22 | 26 | <dependency> |
23 | 27 | <groupId>com.googlecode.androidannotations</groupId> |
24 | 28 | <artifactId>androidannotations</artifactId> |
25 | | - <version>2.1-SNAPSHOT</version> |
26 | | - <scope>compile</scope> |
| 29 | + <version>${androidannotations.version}</version> |
| 30 | + <scope>provided</scope> |
27 | 31 | </dependency> |
28 | 32 | <dependency> |
29 | 33 | <groupId>com.googlecode.androidannotations</groupId> |
30 | | - <artifactId>androidannotations</artifactId> |
31 | | - <classifier>api</classifier> |
32 | | - <version>2.1-SNAPSHOT</version> |
| 34 | + <artifactId>androidannotations-api</artifactId> |
| 35 | + <version>${androidannotations.version}</version> |
33 | 36 | </dependency> |
34 | 37 | </dependencies> |
35 | 38 |
|
36 | 39 | <build> |
37 | 40 | <plugins> |
| 41 | + <plugin> |
| 42 | + <artifactId>maven-compiler-plugin</artifactId> |
| 43 | + <version>2.5.1</version> |
| 44 | + <configuration> |
| 45 | + <source>${java.version}</source> |
| 46 | + <target>${java.version}</target> |
| 47 | + </configuration> |
| 48 | + </plugin> |
38 | 49 | <plugin> |
39 | 50 | <groupId>com.jayway.maven.plugins.android.generation2</groupId> |
40 | | - <artifactId>maven-android-plugin</artifactId> |
41 | | - <version>2.8.3</version> |
| 51 | + <artifactId>android-maven-plugin</artifactId> |
| 52 | + <version>3.4.0</version> |
42 | 53 | <configuration> |
43 | | - <androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile> |
44 | | - <assetsDirectory>${project.basedir}/assets</assetsDirectory> |
45 | | - <resourceDirectory>${project.basedir}/res</resourceDirectory> |
46 | | - <nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory> |
47 | 54 | <sdk> |
48 | | - <platform>7</platform> |
| 55 | + <platform>${android.platform}</platform> |
49 | 56 | </sdk> |
50 | | - <deleteConflictingFiles>true</deleteConflictingFiles> |
51 | 57 | <undeployBeforeDeploy>true</undeployBeforeDeploy> |
52 | 58 | </configuration> |
53 | 59 | <extensions>true</extensions> |
54 | 60 | </plugin> |
55 | | - <plugin> |
56 | | - <artifactId>maven-compiler-plugin</artifactId> |
57 | | - <version>2.3.2</version> |
58 | | - <configuration> |
59 | | - <source>1.6</source> |
60 | | - <target>1.6</target> |
61 | | - </configuration> |
62 | | - </plugin> |
63 | 61 | </plugins> |
64 | 62 | </build> |
65 | 63 |
|
66 | | - <repositories> |
67 | | - <repository> |
68 | | - <id>androidannotations-repository</id> |
69 | | - <name>androidannotations Maven2 repository</name> |
70 | | - <url>http://androidannotations.googlecode.com/svn/repository/snapshots</url> |
71 | | - </repository> |
72 | | - </repositories> |
73 | | - |
74 | 64 | </project> |
0 commit comments