mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-23 06:06:11 +00:00
196 lines
7.7 KiB
XML
196 lines
7.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.sap.sailing</groupId>
|
|
<artifactId>workspace</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<module>java</module>
|
|
</modules>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!-- deactivate with parameter '-P !with-mobile'-->
|
|
<id>with-mobile</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<modules>
|
|
<module>mobile</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<!-- activate with parameter '-P with-ios'-->
|
|
<id>with-ios</id>
|
|
<modules>
|
|
<module>ios</module>
|
|
</modules>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>install-android-sdk-windows</id>
|
|
<activation>
|
|
<!-- TODO activate on release build branch -->
|
|
<!-- <file>
|
|
<missing>${basedir}/android-sdk-windows/platform-tools/adb.exe</missing>
|
|
</file> -->
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>install-android-sdk</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>com.google.download.android</groupId>
|
|
<artifactId>android-sdk-windows</artifactId>
|
|
<version>${android.sdk.version}</version>
|
|
<type>zip</type>
|
|
<overWrite>false</overWrite>
|
|
<outputDirectory>${basedir}</outputDirectory>
|
|
<includes>**/*</includes>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>com.google.download.android</groupId>
|
|
<artifactId>platform-tools-windows</artifactId>
|
|
<version>${android.platform-tools.version}</version>
|
|
<type>zip</type>
|
|
<overWrite>false</overWrite>
|
|
<outputDirectory>${basedir}/android-sdk-windows</outputDirectory>
|
|
<includes>**/*</includes>
|
|
|
|
</artifactItem>
|
|
<!-- FIXME: Do we need this part? Cant't find the artifact in nexus -> delete if the build works without. -->
|
|
<!-- <artifactItem>
|
|
|
|
<groupId>com.google.download.android</groupId>
|
|
<artifactId>android</artifactId>
|
|
<version>${sdk.version}</version>
|
|
<type>zip</type>
|
|
<overWrite>false</overWrite>
|
|
<outputDirectory>${basedir}/android-sdk-windows</outputDirectory>
|
|
<includes>**/*</includes>
|
|
|
|
</artifactItem> -->
|
|
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- FIXME: Do we need this part? -> delete if the build works without. -->
|
|
<!-- <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>move_platform_dir</id>
|
|
<phase>initialize</phase>
|
|
|
|
<configuration>
|
|
<tasks>
|
|
<move file="${basedir}/android-sdk-windows/android-4.2" tofile="${basedir}/android-sdk-windows/platforms/android-${platform.version}"/>
|
|
|
|
</tasks>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin> -->
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>leandi</id>
|
|
<activation>
|
|
<property>
|
|
<name>ldi.releaseBuild</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<android.api.groupId>com.google.download.android</android.api.groupId>
|
|
<android.api.version>5.1.1</android.api.version>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<android.sdk.version>24.4</android.sdk.version>
|
|
<android.platform-tools.version>23.0.1</android.platform-tools.version>
|
|
<android.platform.version>22</android.platform.version>
|
|
|
|
|
|
<android.api.groupId>android</android.api.groupId>
|
|
<android.api.version>5.1.1_r2</android.api.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>com.simpligility.maven.plugins</groupId>
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
<version>4.3.0</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<androidManifestFile>AndroidManifest.xml</androidManifestFile>
|
|
<destinationManifestFile>${project.build.directory}/AndroidManifest.xml</destinationManifestFile>
|
|
<sdk>
|
|
<platform>${android.platform}</platform>
|
|
</sdk>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>equinox-sdk-3.9</id>
|
|
<layout>p2</layout>
|
|
<url>http://download.eclipse.org/releases/luna/</url>
|
|
</repository>
|
|
<!--
|
|
<repository>
|
|
<id>sap-nexus</id>
|
|
<url>http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.snapshots</url>
|
|
</repository>
|
|
-->
|
|
<repository>
|
|
<id>sailing-server-maven</id>
|
|
<url>http://maven.sapsailing.com/maven</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>central</id>
|
|
<url>http://repo1.maven.org/maven2</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>uni-luebeck</id>
|
|
<url>http://www.itm.uni-luebeck.de/projects/maven/releases</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|