231 lines
7.3 KiB
XML
231 lines
7.3 KiB
XML
<?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>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
<artifactId>calculatorpp-parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.2.34</version>
|
|
|
|
<modules>
|
|
<module>calculatorpp</module>
|
|
<module>calculatorpp-service</module>
|
|
<module>calculatorpp-test</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<android.sdk.path>/home/ssolovyev/projects/org.solovyev/misc/lib/android-sdk-linux_x86</android.sdk.path>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.solovyev</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>0.3.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.solovyev.android</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>0.1.4</version>
|
|
<type>apklib</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.android</groupId>
|
|
<artifactId>android</artifactId>
|
|
<version>4.0.1.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.android</groupId>
|
|
<artifactId>android-test</artifactId>
|
|
<version>2.3.1</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
|
|
<!-- specifying the resources: e.g. layout.xml, strings.xml etc-->
|
|
<resources>
|
|
|
|
<!-- a pair definition for resource filtering of xml files only (not binary files since they get mangled -->
|
|
<resource>
|
|
<directory>${project.basedir}/res</directory>
|
|
<filtering>true</filtering>
|
|
<targetPath>${project.build.directory}/filtered-res</targetPath>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
</resource>
|
|
|
|
<resource>
|
|
<directory>${project.basedir}/res</directory>
|
|
<filtering>false</filtering>
|
|
<targetPath>${project.build.directory}/filtered-res</targetPath>
|
|
<excludes>
|
|
<exclude>**/*.xml</exclude>
|
|
</excludes>
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>resources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
<resourceDirectory>${project.build.directory}/filtered-res</resourceDirectory>
|
|
<manifest>
|
|
<debuggable>true</debuggable>
|
|
</manifest>
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
<id>manifestUpdate</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>manifest-update</goal>
|
|
</goals>
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
<version>1.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
|
|
<sourceDirectories>
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
</sourceDirectories>
|
|
|
|
<sdk>
|
|
<platform>15</platform>
|
|
</sdk>
|
|
|
|
<emulator>
|
|
<avd>23</avd>
|
|
<wait>10000</wait>
|
|
<!--<options>-no-skin</options>-->
|
|
</emulator>
|
|
|
|
<zipalign>
|
|
<verbose>true</verbose>
|
|
</zipalign>
|
|
|
|
<undeployBeforeDeploy>true</undeployBeforeDeploy>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.pyx4me</groupId>
|
|
<artifactId>proguard-maven-plugin</artifactId>
|
|
<version>2.0.4</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.5</version>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<extensions>
|
|
<extension>
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</extension>
|
|
</extensions>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
<!-- the standard profile runs the instrumentation tests -->
|
|
<id>standard</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
<!-- the release profile does sign, proguard, zipalign -->
|
|
<id>release</id>
|
|
<!-- via this activation the profile is automatically used when the release is done with the maven release
|
|
plugin -->
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
</project> |