2012-03-04 13:29:50 -05:00
|
|
|
<?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">
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
2012-03-04 15:54:56 -05:00
|
|
|
<artifactId>calculatorpp-parent</artifactId>
|
|
|
|
<version>1.2.34</version>
|
2012-03-04 13:29:50 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
2012-03-04 15:54:56 -05:00
|
|
|
<artifactId>calculatorpp</artifactId>
|
2012-03-04 13:29:50 -05:00
|
|
|
<packaging>apk</packaging>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>congrace.de</id>
|
|
|
|
<name>releases</name>
|
|
|
|
<url>http://nexus.congrace.de/nexus/content/repositories/releases/</url>
|
|
|
|
<layout>default</layout>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.8.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>common</artifactId>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
2012-03-05 15:30:12 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>calculatorpp-service</artifactId>
|
|
|
|
<version>0.1</version>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>jscl</artifactId>
|
2012-05-14 06:43:25 -04:00
|
|
|
<version>0.0.2</version>
|
2012-03-04 13:29:50 -05:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.opencsv</groupId>
|
|
|
|
<artifactId>opencsv</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.simpleframework</groupId>
|
|
|
|
<artifactId>simple-xml</artifactId>
|
|
|
|
<version>2.6.1</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xpp3</artifactId>
|
|
|
|
<groupId>xpp3</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>achartengine</groupId>
|
|
|
|
<artifactId>achartengine</artifactId>
|
|
|
|
<version>0.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>admob</groupId>
|
|
|
|
<artifactId>admob</artifactId>
|
2012-05-14 07:36:02 -04:00
|
|
|
<version>6.0.0</version>
|
2012-03-04 13:29:50 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>billing</artifactId>
|
|
|
|
<version>0.1</version>
|
2012-03-07 03:53:53 -05:00
|
|
|
<!--<type>apklib</type>-->
|
2012-03-04 13:29:50 -05:00
|
|
|
</dependency>
|
|
|
|
|
2012-05-14 06:43:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>11.0.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.intellij</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>7.0.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>alignApk</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>zipalign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
|
|
<version>1.0-alpha-2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>read-project-properties</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<files>
|
2012-03-04 15:54:56 -05:00
|
|
|
<file>${project.basedir}/src/misc/env/jarsigner.properties</file>
|
2012-03-04 13:29:50 -05:00
|
|
|
</files>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>development</id>
|
|
|
|
<!-- using this since activeByDefault does not work well with multiple profiles -->
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>environment</name>
|
|
|
|
<value>!production</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<deployment.stage>In Development</deployment.stage>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>production</id>
|
|
|
|
<properties>
|
|
|
|
<deployment.stage>In Production</deployment.stage>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>signing</id>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>package</phase>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<configuration>
|
|
|
|
<removeExistingSignatures>true</removeExistingSignatures>
|
|
|
|
<archiveDirectory/>
|
|
|
|
<includes>
|
2012-03-04 15:54:56 -05:00
|
|
|
<include>${project.build.directory}/${project.artifactId}-${project.version}.apk</include>
|
2012-03-04 13:29:50 -05:00
|
|
|
</includes>
|
|
|
|
<keystore>${sign.keystore}</keystore>
|
|
|
|
<alias>${sign.alias}</alias>
|
|
|
|
<storepass>${sign.storepass}</storepass>
|
|
|
|
<keypass>${sign.keypass}</keypass>
|
2012-03-04 15:54:56 -05:00
|
|
|
<verbose>false</verbose>
|
2012-03-04 13:29:50 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- the signed apk then needs to be zipaligned and we activate proguard and we run the manifest
|
|
|
|
update -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<configuration>
|
2012-03-04 15:54:56 -05:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<sign>
|
|
|
|
<debug>false</debug>
|
|
|
|
</sign>
|
2012-03-04 15:54:56 -05:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<zipalign>
|
2012-03-04 15:54:56 -05:00
|
|
|
<verbose>false</verbose>
|
|
|
|
<inputApk>${project.build.directory}/${project.artifactId}-${project.version}.apk</inputApk>
|
|
|
|
<outputApk>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk</outputApk>
|
2012-03-04 13:29:50 -05:00
|
|
|
</zipalign>
|
2012-03-04 15:54:56 -05:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<manifest>
|
|
|
|
<debuggable>false</debuggable>
|
|
|
|
<versionCodeAutoIncrement>true</versionCodeAutoIncrement>
|
|
|
|
</manifest>
|
2012-03-04 15:54:56 -05:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<proguard>
|
2012-03-04 15:54:56 -05:00
|
|
|
<skip>true</skip>
|
2012-03-04 13:29:50 -05:00
|
|
|
</proguard>
|
|
|
|
</configuration>
|
2012-03-04 15:54:56 -05:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>manifestUpdate</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest-update</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>alignApk</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>zipalign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<artifacts>
|
|
|
|
<artifact>
|
2012-03-04 15:54:56 -05:00
|
|
|
<file>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk</file>
|
2012-03-04 13:29:50 -05:00
|
|
|
<type>apk</type>
|
|
|
|
<classifier>signed-aligned</classifier>
|
|
|
|
</artifact>
|
|
|
|
<artifact>
|
|
|
|
<file>${project.build.directory}/proguard/mapping.txt</file>
|
|
|
|
<type>map</type>
|
|
|
|
<classifier>release</classifier>
|
|
|
|
</artifact>
|
|
|
|
</artifacts>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-signed-aligned</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-artifact</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-04-20 04:41:51 -04:00
|
|
|
|
2012-03-04 13:29:50 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|