View difference between Paste ID: RvBcVFKr and tzuFyjSx
SHOW: | | - or go back to the newest paste.
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/maven-v4_0_0.xsd">
4
	<modelVersion>4.0.0</modelVersion>
5
	<groupId>com.mycompany</groupId>
6
	<artifactId>myapp</artifactId>
7
	<version>1.0</version>
8
	<packaging>apk</packaging>
9
	<name>Name</name>
10
	<properties>
11
		<platform.version>2.1.2</platform.version>
12
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13
	</properties>
14
15
	<dependencies>
16
		<dependency>
17
			<groupId>com.google.android</groupId>
18
			<artifactId>android</artifactId>
19
			<version>${platform.version}</version>
20
			<scope>provided</scope>
21
		</dependency>
22
		<dependency>
23
			<groupId>com.googlecode.androidannotations</groupId>
24
			<artifactId>androidannotations</artifactId>
25
			<version>2.5.1</version>
26
			<scope>provided</scope>
27
		</dependency>
28
		<dependency>
29
			<groupId>com.googlecode.androidannotations</groupId>
30
			<artifactId>androidannotations</artifactId>
31
			<classifier>api</classifier>
32
			<version>2.5.1</version>
33
		</dependency>
34
	</dependencies>
35
	<build>
36
		<plugins>
37
			<plugin>
38
				<groupId>com.jayway.maven.plugins.android.generation2</groupId>
39
				<artifactId>android-maven-plugin</artifactId>
40
				<version>3.2.0</version>
41
				<configuration>
42
					<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
43
					<assetsDirectory>${project.basedir}/assets</assetsDirectory>
44
					<resourceDirectory>${project.basedir}/res</resourceDirectory>
45
					<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
46
					<sdk>
47
						<platform>7</platform>
48
						<path>${android.sdk.path}</path>
49
					</sdk>
50
					<undeployBeforeDeploy>false</undeployBeforeDeploy>
51
				</configuration>
52
				<extensions>true</extensions>
53
			</plugin>
54
			<plugin>
55
				<artifactId>maven-compiler-plugin</artifactId>
56
				<version>2.3.2</version>
57
				<configuration>
58
					<source>1.6</source>
59
					<target>1.6</target>
60
				</configuration>
61
			</plugin>
62
		</plugins>
63
		<pluginManagement>
64
			<plugins>
65
				<!--This plugin's configuration is used to store Eclipse m2e settings 
66
					only. It has no influence on the Maven build itself. -->
67
				<plugin>
68
					<groupId>org.eclipse.m2e</groupId>
69
					<artifactId>lifecycle-mapping</artifactId>
70
					<version>1.0.0</version>
71
					<configuration>
72
						<lifecycleMappingMetadata>
73
							<pluginExecutions>
74
								<pluginExecution>
75
									<pluginExecutionFilter>
76
										<groupId>
77
											com.jayway.maven.plugins.android.generation2
78
										</groupId>
79
										<artifactId>
80
											android-maven-plugin
81
										</artifactId>
82
										<versionRange>
83-
											[3.1.1,)
83+
											[3.2.0,)
84
										</versionRange>
85
										<goals>
86
											<goal>
87
												generate-sources
88
											</goal>
89
										</goals>
90
									</pluginExecutionFilter>
91
									<action>
92
										<ignore></ignore>
93
									</action>
94
								</pluginExecution>
95
							</pluginExecutions>
96
						</lifecycleMappingMetadata>
97
					</configuration>
98
				</plugin>
99
			</plugins>
100
		</pluginManagement>
101
	</build>
102
</project>