2011-09-12 14:54:14 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2012-03-04 07:46:12 -05:00
|
|
|
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>
|
2012-03-04 15:54:56 -05:00
|
|
|
<artifactId>calculatorpp-parent</artifactId>
|
2012-03-04 13:29:06 -05:00
|
|
|
<packaging>pom</packaging>
|
2012-03-04 15:54:56 -05:00
|
|
|
<version>1.2.34</version>
|
2012-03-04 07:46:12 -05:00
|
|
|
|
|
|
|
<modules>
|
2012-03-07 02:28:51 -05:00
|
|
|
<module>calculatorpp</module>
|
2012-03-05 15:30:12 -05:00
|
|
|
<module>calculatorpp-service</module>
|
2012-03-04 13:52:34 -05:00
|
|
|
<module>calculatorpp-test</module>
|
2012-03-04 07:46:12 -05:00
|
|
|
</modules>
|
|
|
|
|
2012-04-20 04:41:51 -04:00
|
|
|
<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>
|
|
|
|
|
2012-03-04 13:29:06 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-04-20 07:29:10 -04:00
|
|
|
<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.2</version>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
2012-03-04 13:29:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.8.1</version>
|
|
|
|
</dependency>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android</artifactId>
|
2012-03-05 15:30:12 -05:00
|
|
|
<version>4.0.1.2</version>
|
2012-03-04 13:29:06 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android-test</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
</dependency>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:06 -05:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2012-03-04 07:46:12 -05:00
|
|
|
|
|
|
|
<build>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<plugin>
|
2012-04-20 04:41:51 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-03-04 07:46:12 -05:00
|
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</plugin>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<plugin>
|
2012-04-20 04:41:51 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-03-04 07:46:12 -05:00
|
|
|
<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>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
|
|
|
<sourceDirectories>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
</sourceDirectories>
|
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<sdk>
|
2012-03-04 13:29:06 -05:00
|
|
|
<platform>15</platform>
|
2012-03-04 07:46:12 -05:00
|
|
|
</sdk>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-05 15:30:12 -05:00
|
|
|
<emulator>
|
2012-03-04 07:46:12 -05:00
|
|
|
<avd>23</avd>
|
|
|
|
<wait>10000</wait>
|
2012-03-05 15:30:12 -05:00
|
|
|
<!--<options>-no-skin</options>-->
|
|
|
|
</emulator>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<zipalign>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
</zipalign>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<undeployBeforeDeploy>true</undeployBeforeDeploy>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
</configuration>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
</plugin>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.pyx4me</groupId>
|
|
|
|
<artifactId>proguard-maven-plugin</artifactId>
|
|
|
|
<version>2.0.4</version>
|
|
|
|
</plugin>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
</plugin>
|
2012-03-04 13:29:06 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
|
|
<version>3.1.1</version>
|
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
2012-03-04 14:16:55 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<profile>
|
|
|
|
<!-- the standard profile runs the instrumentation tests -->
|
|
|
|
<id>standard</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
2012-03-04 14:16:55 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
</profile>
|
2012-03-04 14:16:55 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
<profile>
|
2012-03-04 14:16:55 -05:00
|
|
|
<!-- the release profile does sign, proguard, zipalign -->
|
2012-03-04 07:46:12 -05:00
|
|
|
<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>
|
2012-03-04 14:16:55 -05:00
|
|
|
|
2012-03-04 07:46:12 -05:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
2012-02-15 13:51:17 -05:00
|
|
|
|
|
|
|
|
2011-09-16 06:12:49 -04:00
|
|
|
</project>
|