Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions android-mapviewballoons-example/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>

<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">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.lixar.readystatesoftware</groupId>
<artifactId>root</artifactId>
<version>1.2-SNAPSHOT</version>
</parent>

<groupId>com.lixar.readystatesoftware</groupId>
<artifactId>mapviewballoons-example</artifactId>
<version>1.2-SNAPSHOT</version>
<packaging>apk</packaging>
<name>MapViewBalloons - Example</name>

<properties>
<maven-resources-plugin.version>2.6</maven-resources-plugin.version>
</properties>

<dependencies>
<dependency>
<groupId>com.lixar.readystatesoftware</groupId>
<artifactId>mapviewballoons</artifactId>
<version>1.2-SNAPSHOT</version>
<scope>compile</scope>
<type>apklib</type>
</dependency>
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>

<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>${android-maven-plugin.version}</version>
<configuration>
<sdk>
<platform>${sdk.platform}</platform>
</sdk>
<mergeManifests>true</mergeManifests>
</configuration>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
<execution>
<id>default-resources</id>
<phase>DISABLED</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
29 changes: 7 additions & 22 deletions android-mapviewballoons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,27 @@
<parent>
<groupId>com.lixar.readystatesoftware</groupId>
<artifactId>root</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
</parent>

<artifactId>mapviewballoons</artifactId>
<packaging>apklib</packaging>
<name>MapViewBalloons - Library</name>

<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>4.0.1.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android.maps</groupId>
<artifactId>maps</artifactId>
<version>8_r2</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>3.1.1</version>
<version>${android-maven-plugin.version}</version>
<configuration>
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
<resourceDirectory>${project.basedir}/res</resourceDirectory>
<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
<sdk>
<platform>15</platform>
<platform>${sdk.platform}</platform>
</sdk>
<undeployBeforeDeploy>true</undeployBeforeDeploy>
</configuration>
Expand All @@ -48,10 +33,10 @@

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
</plugins>
Expand Down
48 changes: 37 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.lixar.maven</groupId>
<artifactId>super-pom</artifactId>
<version>0.2</version>
</parent>

<groupId>com.lixar.readystatesoftware</groupId>
<artifactId>root</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>MapViewBalloons - Root POM</name>

<scm>
<connection>scm:git:[email protected]:lixar/android-mapviewballoons.git</connection>
<developerConnection>scm:git:[email protected]:lixar/android-mapviewballoons.git</developerConnection>
Expand All @@ -21,23 +16,54 @@

<modules>
<module>android-mapviewballoons</module>
<module>android-mapviewballoons-example</module>
</modules>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Plugins -->
<jdk.version>1.6</jdk.version>
<sdk.platform>15</sdk.platform>
<android-maven-plugin.version>3.1.1</android-maven-plugin.version>
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
<maven-release-plugin.version>2.2.1</maven-release-plugin.version>

<!-- Dependencies -->
<android.version>4.0.1.2</android.version>
<android.maps.version>8_r2</android.maps.version>
</properties>

<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>${android.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android.maps</groupId>
<artifactId>maps</artifactId>
<version>${android.maps.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.1</version>
<version>${maven-release-plugin.version}</version>
<configuration>
<preparationGoals>clean install</preparationGoals>
<autoVersionSubmodules>true</autoVersionSubmodules>
Expand Down