Skip to content

Commit a1710a7

Browse files
committed
Merge pull request jfeinstein10#191 from DDRBoxman/maven
Mavenize the library
2 parents 3d5e962 + 934171f commit a1710a7

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed

library/pom.xml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<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/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<artifactId>slidingmenu</artifactId>
7+
<name>SlidingMenu</name>
8+
<packaging>apklib</packaging>
9+
10+
<parent>
11+
<groupId>com.slidingmenu</groupId>
12+
<artifactId>parent</artifactId>
13+
<version>1.2</version>
14+
<relativePath>../pom.xml</relativePath>
15+
</parent>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>com.google.android</groupId>
20+
<artifactId>android</artifactId>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.google.android.maps</groupId>
24+
<artifactId>maps</artifactId>
25+
</dependency>
26+
<dependency>
27+
<groupId>com.google.android</groupId>
28+
<artifactId>support-v4</artifactId>
29+
</dependency>
30+
<dependency>
31+
<groupId>com.actionbarsherlock</groupId>
32+
<artifactId>actionbarsherlock</artifactId>
33+
<type>apklib</type>
34+
</dependency>
35+
</dependencies>
36+
37+
<build>
38+
<sourceDirectory>src</sourceDirectory>
39+
40+
<plugins>
41+
<plugin>
42+
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
43+
<artifactId>android-maven-plugin</artifactId>
44+
<extensions>true</extensions>
45+
<configuration>
46+
<nativeLibrariesDirectory>ignored</nativeLibrariesDirectory>
47+
</configuration>
48+
</plugin>
49+
</plugins>
50+
</build>
51+
</project>

pom.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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+
5+
<modelVersion>4.0.0</modelVersion>
6+
<groupId>com.slidingmenu</groupId>
7+
<artifactId>parent</artifactId>
8+
<version>1.2</version>
9+
<packaging>pom</packaging>
10+
11+
<modules>
12+
<module>library</module>
13+
</modules>
14+
15+
<dependencyManagement>
16+
<dependencies>
17+
<dependency>
18+
<groupId>com.google.android</groupId>
19+
<artifactId>android</artifactId>
20+
<version>4.1.1.4</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.google.android.maps</groupId>
24+
<artifactId>maps</artifactId>
25+
<version>17_r1</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.google.android</groupId>
29+
<artifactId>support-v4</artifactId>
30+
<version>r7</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.actionbarsherlock</groupId>
34+
<artifactId>actionbarsherlock</artifactId>
35+
<version>4.2.0</version>
36+
<type>apklib</type>
37+
</dependency>
38+
</dependencies>
39+
</dependencyManagement>
40+
41+
<build>
42+
<pluginManagement>
43+
<plugins>
44+
<plugin>
45+
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
46+
<artifactId>android-maven-plugin</artifactId>
47+
<version>3.5.0</version>
48+
49+
<configuration>
50+
<sdk>
51+
<platform>16</platform>
52+
</sdk>
53+
<undeployBeforeDeploy>true</undeployBeforeDeploy>
54+
</configuration>
55+
</plugin>
56+
</plugins>
57+
</pluginManagement>
58+
</build>
59+
60+
</project>

0 commit comments

Comments
 (0)