mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-11 16:36:18 +01:00
236 lines
9.7 KiB
XML
236 lines
9.7 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>de.danoeh</groupId>
|
|
<artifactId>antennapod</artifactId>
|
|
<packaging>apk</packaging>
|
|
<version>0.9.6.4</version>
|
|
<name>AntennaPod</name>
|
|
|
|
|
|
|
|
<dependencies>
|
|
<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.4</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.actionbarsherlock</groupId>
|
|
<artifactId>library</artifactId>
|
|
<version>4.1.0</version>
|
|
<type>apklib</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.viewpagerindicator</groupId>
|
|
<artifactId>library</artifactId>
|
|
<version>2.3.1</version>
|
|
<type>apklib</type>
|
|
</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>
|
|
|
|
</dependencies>
|
|
|
|
<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.5.0</version>
|
|
<configuration>
|
|
<sdk>
|
|
<path>${env.ANDROID_HOME}</path>
|
|
<platform>17</platform>
|
|
</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>
|
|
|
|
<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>
|
|
</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>true</versionCodeAutoIncrement>
|
|
</manifest>
|
|
<proguard>
|
|
<skip>true</skip>
|
|
</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>
|
|
|
|
</project>
|