wiki/racecommittee-app-environment.md
... ...
@@ -2,13 +2,38 @@
2 2
3 3
Building the RaceCommittee App has been integrated into the maven build process of the project. This document outlines how this environment is setup. Use this description whenever you need to set it up again.
4 4
5
+## Android SDK
6
+
7
+Rarar.
8
+
5 9
## Maven
6 10
7
-Currently there is no Naven plugin available for Android 3.2 on the internets (see [Maven Repository](http://mvnrepository.com/artifact/com.google.android/android)). Therefore we had to build the correct plugins by hand and place them into http://maven.sapsailing.com/maven/.
11
+Currently there is no Maven plugin available for Android 3.2 on the internets (see [Maven Repository](http://mvnrepository.com/artifact/com.google.android/android)). Therefore we had to build the correct plugins by hand and place them into http://maven.sapsailing.com/maven/.
8 12
9
-## Android SDK
13
+This has been done with the help of the [maven-sdk-deployer](https://github.com/mosabua/maven-android-sdk-deployer). Issuing
14
+
15
+ mvn install -P 3.2
16
+
17
+will install the needed android.jar as a Maven plugin into your local repository. Now you can copy/remote-deploy this plugin to your target repository (in our case http://maven.sapsailing.com/maven/). Ensure that you do this step with all other needed SDK components (see above). For example you need to issue
18
+
19
+ maven-android-sdk-deployer/extras/compatibility-v13/mvn install
20
+
21
+too.
22
+
23
+Now these plugins can be referenced in your project's pom, e.g.:
24
+
25
+ <dependency>
26
+ <groupId>android</groupId>
27
+ <artifactId>android</artifactId>
28
+ <version>3.2_r1</version>
29
+ <scope>provided</scope>
30
+ </dependency>
10 31
11
-Blub.
32
+ <dependency>
33
+ <groupId>android.support</groupId>
34
+ <artifactId>compatibility-v4</artifactId>
35
+ <version>19</version> <!-- Check your local plugin! Might be 19.0.0! See maven-sdk-deployer README! ->
36
+ </dependency>
12 37
13 38
## Build-Script
14 39