2012-10-20 08:26:34 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-10-26 15:38:27 -04:00
|
|
|
<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">
|
2012-10-20 08:26:34 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
<artifactId>oss-parent</artifactId>
|
|
|
|
<version>7</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>calculatorpp-parent</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
2012-10-27 13:01:19 -04:00
|
|
|
<version>1.4.3</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
<name>Calculator++</name>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git@github.com:serso/android-calculatorpp.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:serso/android-calculatorpp.git</developerConnection>
|
2012-10-21 16:03:40 -04:00
|
|
|
<url>http://github.com/serso/android-calculatorpp</url>
|
2012-10-27 13:01:19 -04:00
|
|
|
<tag>release-1.4.3</tag>
|
2012-10-27 10:56:49 -04:00
|
|
|
</scm>
|
|
|
|
|
2012-10-20 08:26:34 -04:00
|
|
|
<modules>
|
2012-10-27 10:56:49 -04:00
|
|
|
<module>calculatorpp</module>
|
2012-10-20 08:26:34 -04:00
|
|
|
<module>calculatorpp-test</module>
|
|
|
|
<module>calculatorpp-core</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2012-10-21 16:03:40 -04:00
|
|
|
<android.common.version>1.0.4</android.common.version>
|
|
|
|
<common.version>1.0.1</common.version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>common-core</artifactId>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>common-text</artifactId>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-core</artifactId>
|
|
|
|
<type>apklib</type>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-ads</artifactId>
|
|
|
|
<type>apklib</type>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-view</artifactId>
|
|
|
|
<type>apklib</type>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-preferences</artifactId>
|
|
|
|
<type>apklib</type>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-menu</artifactId>
|
|
|
|
<type>apklib</type>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-db</artifactId>
|
|
|
|
<type>apklib</type>
|
|
|
|
<version>${android.common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-sherlock</artifactId>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-other</artifactId>
|
2012-10-20 08:26:34 -04:00
|
|
|
<type>apklib</type>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>${android.common.version}</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</dependency>
|
|
|
|
|
2012-10-21 16:03:40 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-billing</artifactId>
|
|
|
|
<type>apklib</type>
|
|
|
|
<version>${android.common.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-all</artifactId>
|
|
|
|
<type>apklib</type>
|
|
|
|
<version>${android.common.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
2012-10-20 08:26:34 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.actionbarsherlock</groupId>
|
|
|
|
<artifactId>library</artifactId>
|
2012-10-21 16:03:40 -04:00
|
|
|
<version>4.2.0</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>jscl</artifactId>
|
|
|
|
<version>0.0.3</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
</exclusion>
|
|
|
|
|
|
|
|
<exclusion>
|
|
|
|
<groupId>jgraphx</groupId>
|
|
|
|
<artifactId>jgraphx</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.8.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.intellij</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>7.0.3</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>support-v4</artifactId>
|
|
|
|
<version>r7</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android-test</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>11.0.2</version>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.electriccloud</groupId>
|
|
|
|
<artifactId>javac2-maven-plugin</artifactId>
|
|
|
|
<version>1.0.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>@NotNull Instrumentation</id>
|
|
|
|
<goals>
|
|
|
|
<goal>instrument</goal>
|
|
|
|
</goals>
|
|
|
|
<!--compile phase instead of process-classes because of proguard.
|
|
|
|
@NotNull instrumentation will be done now after compilation and before proguard-->
|
|
|
|
<phase>compile</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- as some classes are singletons we must run each test in separate JVM-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2012-10-27 10:56:49 -04:00
|
|
|
<version>2.12.4</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
<configuration>
|
|
|
|
<forkMode>perTest</forkMode>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2012-10-21 16:03:40 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
2012-10-27 12:37:09 -04:00
|
|
|
<mavenExecutorId>forked-path</mavenExecutorId>
|
2012-10-27 12:39:49 -04:00
|
|
|
<useReleaseProfile>false</useReleaseProfile>
|
2012-10-27 12:41:06 -04:00
|
|
|
<arguments>-Psonatype-oss-release -Prelease</arguments>
|
2012-10-21 16:03:40 -04:00
|
|
|
<tagNameFormat>release-@{project.version}</tagNameFormat>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2012-10-20 08:26:34 -04:00
|
|
|
</plugins>
|
|
|
|
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
2012-10-27 10:56:49 -04:00
|
|
|
<version>3.4.0</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
<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>
|
2012-10-27 10:56:49 -04:00
|
|
|
<version>1.7</version>
|
2012-10-20 08:26:34 -04:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<!-- the standard profile runs instrumentation tests -->
|
|
|
|
<id>standard</id>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|
2011-09-16 06:12:49 -04:00
|
|
|
</project>
|