2012-10-20 08:26:34 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-06-26 04:22:07 -04:00
|
|
|
<!--
|
|
|
|
~ Copyright 2013 serso aka se.solovyev
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
~
|
|
|
|
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
~ Contact details
|
|
|
|
~
|
|
|
|
~ Email: se.solovyev@gmail.com
|
|
|
|
~ Site: http://se.solovyev.org
|
|
|
|
-->
|
|
|
|
|
2013-07-01 16:06:35 -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
|
|
|
|
2013-06-14 16:31:49 -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>
|
2014-07-31 13:44:38 -04:00
|
|
|
<version>2.0.4-SNAPSHOT</version>
|
2013-06-14 16:31:49 -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>
|
|
|
|
<url>http://github.com/serso/android-calculatorpp</url>
|
2014-07-31 13:44:38 -04:00
|
|
|
<tag>release-2.0.1</tag>
|
2013-06-14 16:31:49 -04:00
|
|
|
</scm>
|
|
|
|
|
2014-05-20 15:55:17 -04:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>in-project-repository</id>
|
|
|
|
<name>In Project Repo</name>
|
|
|
|
<url>file://${project.basedir}/maven-repository</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>in-project-repository</id>
|
|
|
|
<name>In Project Repo</name>
|
|
|
|
<url>file://${project.basedir}/maven-repository</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2013-06-14 16:31:49 -04:00
|
|
|
<modules>
|
|
|
|
<module>android-app</module>
|
|
|
|
<module>android-app-core</module>
|
|
|
|
<module>android-app-widget</module>
|
|
|
|
<module>android-app-onscreen</module>
|
|
|
|
<module>android-app-test</module>
|
|
|
|
<module>core</module>
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2014-07-27 06:33:53 -04:00
|
|
|
<acl.version>1.1.15</acl.version>
|
|
|
|
<jcl.version>1.0.7</jcl.version>
|
2013-07-16 08:57:00 -04:00
|
|
|
<jscl.version>1.0.7</jscl.version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2012-10-20 08:26:34 -04:00
|
|
|
|
2012-11-30 07:11:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>calculatorpp-core</artifactId>
|
2014-07-31 13:30:02 -04:00
|
|
|
<version>2.0.2</version>
|
2012-11-30 07:11:31 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2012-11-30 09:07:20 -05:00
|
|
|
<groupId>org.solovyev.android</groupId>
|
2012-11-30 07:16:09 -05:00
|
|
|
<artifactId>calculatorpp-android-app-core</artifactId>
|
2014-07-31 13:30:02 -04:00
|
|
|
<version>2.0.2</version>
|
2012-11-30 09:07:20 -05:00
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>calculatorpp-android-app-widget</artifactId>
|
2014-07-31 13:30:02 -04:00
|
|
|
<version>2.0.2</version>
|
2012-11-30 09:07:20 -05:00
|
|
|
<type>apklib</type>
|
2012-11-30 07:11:31 -05:00
|
|
|
</dependency>
|
|
|
|
|
2013-06-14 16:31:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>calculatorpp-android-app-onscreen</artifactId>
|
2014-07-31 13:30:02 -04:00
|
|
|
<version>2.0.2</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
2012-12-01 09:46:36 -05:00
|
|
|
|
2012-11-30 07:11:31 -05:00
|
|
|
<dependency>
|
2013-06-14 16:31:49 -04:00
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>common-core</artifactId>
|
2013-07-01 15:55:27 -04:00
|
|
|
<version>${jcl.version}</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</dependency>
|
2012-10-20 08:26:34 -04:00
|
|
|
|
2013-06-14 16:31:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>common-text</artifactId>
|
2013-07-01 15:55:27 -04:00
|
|
|
<version>${jcl.version}</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</dependency>
|
2012-10-20 08:26:34 -04:00
|
|
|
|
2013-06-12 15:08:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>common-listeners</artifactId>
|
2013-07-01 15:55:27 -04:00
|
|
|
<version>${jcl.version}</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev.android</groupId>
|
|
|
|
<artifactId>android-common-all</artifactId>
|
|
|
|
<type>apklib</type>
|
2013-07-01 15:55:27 -04:00
|
|
|
<version>${acl.version}</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.actionbarsherlock</groupId>
|
|
|
|
<artifactId>library</artifactId>
|
|
|
|
<version>4.2.0</version>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.solovyev</groupId>
|
|
|
|
<artifactId>jscl</artifactId>
|
2013-07-01 15:55:27 -04:00
|
|
|
<version>${jscl.version}</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2013-06-17 10:35:54 -04:00
|
|
|
<version>4.11</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</dependency>
|
|
|
|
|
2013-06-18 06:39:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.robolectric</groupId>
|
|
|
|
<artifactId>robolectric</artifactId>
|
|
|
|
<version>2.1.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2013-06-14 16:31:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android</artifactId>
|
2013-06-23 13:46:25 -04:00
|
|
|
<version>4.1.1.4</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
<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>
|
2013-06-24 15:44:05 -04:00
|
|
|
<version>4.1.1.4</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>11.0.2</version>
|
2013-06-12 15:08:44 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-06-14 16:31:49 -04:00
|
|
|
</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>
|
2013-12-13 14:09:54 -05:00
|
|
|
<groupId>org.solovyev.external.com.electriccloud</groupId>
|
|
|
|
<artifactId>org.solovyev.external.javac2-maven-plugin</artifactId>
|
|
|
|
<version>1.0.4</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2013-06-15 15:10:45 -04:00
|
|
|
<id>@Nonnull Instrumentation</id>
|
2013-06-14 16:31:49 -04:00
|
|
|
<goals>
|
|
|
|
<goal>instrument</goal>
|
|
|
|
</goals>
|
|
|
|
<!--compile phase instead of process-classes because of proguard.
|
2013-06-15 15:10:45 -04:00
|
|
|
@Nonnull instrumentation will be done now after compilation and before proguard-->
|
2013-06-14 16:31:49 -04:00
|
|
|
<phase>compile</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2013-06-17 16:44:44 -04:00
|
|
|
<version>2.15</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
<configuration>
|
2013-06-18 15:51:35 -04:00
|
|
|
<forkCount>10</forkCount>
|
2013-07-01 08:19:06 -04:00
|
|
|
<reuseForks>false</reuseForks>
|
2013-06-14 16:31:49 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<mavenExecutorId>forked-path</mavenExecutorId>
|
|
|
|
<useReleaseProfile>false</useReleaseProfile>
|
|
|
|
<arguments>-Psonatype-oss-release -Prelease ${arguments}</arguments>
|
|
|
|
<tagNameFormat>release-@{project.version}</tagNameFormat>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</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>
|
2014-05-20 15:55:17 -04:00
|
|
|
<version>3.8.0</version>
|
2013-06-14 16:31:49 -04:00
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<sourceDirectories>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
</sourceDirectories>
|
|
|
|
|
|
|
|
<sdk>
|
|
|
|
<platform>17</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.7</version>
|
|
|
|
</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>
|
2012-10-20 08:26:34 -04:00
|
|
|
|
|
|
|
|
2011-09-16 06:12:49 -04:00
|
|
|
</project>
|