mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-23 14:08:40 +00:00
175 lines
5.3 KiB
XML
175 lines
5.3 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>
|
|
|
|
<parent>
|
|
<groupId>com.sap.sailing</groupId>
|
|
<artifactId>mobile</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>com.sap.sailing</groupId>
|
|
<artifactId>com.sap.sailing.android.tracking.app</artifactId>
|
|
<packaging>apk</packaging>
|
|
|
|
<properties>
|
|
<!-- If you change this name, change in app too! -->
|
|
<additional-deployment-version-file>com.sap.sailing.android.tracking.app.version</additional-deployment-version-file>
|
|
<!-- passed by buildAndUpdateProduct.sh (parsed from AndroidManifest.xml) -->
|
|
<app-version>${tracking-app-version}</app-version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${android.api.groupId}</groupId>
|
|
<artifactId>android</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.android.gms</groupId>
|
|
<artifactId>play-services-gcm</artifactId>
|
|
<type>aar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>com.sap.sailing.android.shared</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>aar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>1.10.16</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.simpligility.maven.plugins</groupId>
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>alignApk</id>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>zipalign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-test-source</id>
|
|
<phase>generate-test-sources</phase>
|
|
<goals>
|
|
<goal>add-test-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>${project.basedir}/tests-jvm/src</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>non-leandi</id>
|
|
<activation>
|
|
<property>
|
|
<name>!ldi.releaseBuild</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<!-- If not running on Lean DI we do the signing by ourselves with our own keystore. -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Needed for copying the *.apk to com.sap.sailing.www project. -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Needed for creation of *.version files for the *.apk in com.sap.sailing.www project. -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Needed to clean the app in com.sap.sailing.www project. -->
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>leandi-no-realsign</id>
|
|
<activation>
|
|
<property>
|
|
<!-- When running on Lean DI but it's not a release build, we do signing on our own. -->
|
|
<name>ldi.releaseType</name>
|
|
<value>milestone</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>leandi-realsign</id>
|
|
<activation>
|
|
<property>
|
|
<!-- When running on Lean DI and it's a release build, we do SAP signing. -->
|
|
<name>ldi.releaseType</name>
|
|
<value>customer</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.sap.prd.codesign</groupId>
|
|
<artifactId>com.sap.prd.codesign.maven-jarsigner-plugin</artifactId>
|
|
</plugin>
|
|
<!-- <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
</plugin> -->
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|