2012-07-31 12:08:51 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-02-18 12:36:10 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2013-08-07 11:35:18 +02:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>de.danoeh</groupId>
|
|
|
|
<artifactId>antennapod</artifactId>
|
|
|
|
<packaging>apk</packaging>
|
|
|
|
<version>0.9.7.4</version>
|
|
|
|
<name>AntennaPod</name>
|
2012-07-31 12:08:51 +02:00
|
|
|
|
|
|
|
|
2013-08-07 11:35:18 +02:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>android.support</groupId>
|
|
|
|
<artifactId>compatibility-v4</artifactId>
|
|
|
|
<version>18</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>android.support</groupId>
|
|
|
|
<artifactId>compatibility-v7-appcompat</artifactId>
|
|
|
|
<version>18</version>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>android.support</groupId>
|
|
|
|
<artifactId>compatibility-v7-appcompat</artifactId>
|
|
|
|
<version>18</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.shredzone.flattr4j</groupId>
|
|
|
|
<artifactId>flattr4j-core</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
<artifactId>json</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>android</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<version>4.1.1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.android</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>4.1.1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mobeta.android.dslv</groupId>
|
|
|
|
<artifactId>drag-sort-listview</artifactId>
|
|
|
|
<version>0.6.1-SNAPSHOT</version>
|
|
|
|
<type>apklib</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.nineoldandroids</groupId>
|
|
|
|
<artifactId>library</artifactId>
|
|
|
|
<version>2.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-07-31 12:08:51 +02:00
|
|
|
|
2013-08-07 11:35:18 +02:00
|
|
|
<build>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
|
|
<version>3.6.1</version>
|
|
|
|
<configuration>
|
|
|
|
<sdk>
|
|
|
|
<path>${env.ANDROID_HOME}</path>
|
2013-08-07 20:42:38 +02:00
|
|
|
<platform>18</platform>
|
2013-08-07 11:35:18 +02:00
|
|
|
</sdk>
|
|
|
|
<manifest>
|
|
|
|
<debuggable>true</debuggable>
|
|
|
|
</manifest>
|
|
|
|
</configuration>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>alignApk</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>zipalign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2012-07-31 12:08:51 +02:00
|
|
|
|
2013-08-07 11:35:18 +02:00
|
|
|
<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>
|
|
|
|
<include>${project.build.directory}/${project.artifactId}-${project.version}.apk</include>
|
|
|
|
</includes>
|
|
|
|
<keystore>${sign.keystore}</keystore>
|
|
|
|
<alias>${sign.alias}</alias>
|
|
|
|
<storepass>${sign.storepass}</storepass>
|
|
|
|
<keypass>${sign.keypass}</keypass>
|
|
|
|
<verbose>true</verbose>
|
2013-06-02 16:52:46 +02:00
|
|
|
<arguments>
|
|
|
|
<argument>-sigalg</argument><argument>MD5withRSA</argument>
|
|
|
|
<argument>-digestalg</argument><argument>SHA1</argument>
|
|
|
|
</arguments>
|
2013-08-07 11:35:18 +02: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>
|
|
|
|
<sign>
|
|
|
|
<debug>false</debug>
|
|
|
|
</sign>
|
|
|
|
<zipalign>
|
|
|
|
<skip>false</skip>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<inputApk>${project.build.directory}/${project.artifactId}-${project.version}.apk</inputApk>
|
|
|
|
<outputApk>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk
|
|
|
|
</outputApk>
|
|
|
|
</zipalign>
|
|
|
|
<manifest>
|
|
|
|
<debuggable>false</debuggable>
|
|
|
|
<versionCodeAutoIncrement>false</versionCodeAutoIncrement>
|
|
|
|
</manifest>
|
|
|
|
<proguard>
|
2013-06-02 16:52:46 +02:00
|
|
|
<skip>false</skip>
|
|
|
|
<config>proguard.cfg</config>
|
2013-08-07 11:35:18 +02:00
|
|
|
</proguard>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>alignApk</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>zipalign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<artifacts>
|
|
|
|
<artifact>
|
|
|
|
<file>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk</file>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2012-07-31 12:08:51 +02:00
|
|
|
|
|
|
|
</project>
|