WARNING
NEWER VERSION OF SLIDEME ARE NOT FREE New HOWTO (in progress) * Install Maven

On Debian/Ubuntu (as root): {{{
apt-get install maven2
}}}

Unfortunately, the most convenient way to get the SDK is distributed by the Android ''Open Source'' Project, but that copy contains proprietary Google code and is wrapped in a restrictive proprietary license agreement. You can obtain a free SDK by following the [wiki:FreeSDK directions] in our wiki.

This will allow us to set up a Maven dependency for particular versions of Android. {{{
export ANDROID_HOME=/path/to/sdk/
}}} * Install maven-android-sdk-deployer * cd into the directory where you unpacked the maven-android-sdk-deployer sources. * Install maven-android-sdk-deployer according to the directions in the README file (either just `mvn install` for all platforms or `mvn install -P [platform]` if you want to install for just one). {{{
mkdir fd-readonly
cd fd-readonly
git clone git://gitorious.org/replicant/floss-dispenser.git
}}} {{{
mvn clean install
}}} {{{
git clone git://github.com/jayway/maven-android-plugin.git
cd maven-android-plugin
mvn install
}}}
...more to come

Howto * install maven * download slideme,and try to build it: {{{
mkdir apps
cd apps
svn checkout http://slideme.googlecode.com/svn/trunk/ slideme-read-only
cd slideme-read-only
mvn install
}}}
after doing that you will have an error: {{{
$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] slideme-android-parent
[INFO] android-sdk-installer
[INFO] slideme-android-manager
[INFO] artifact org.jvending.masa.plugins:maven-dx-plugin: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.jvending.masa.plugins:maven-dx-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the e switch
[INFO] -----------------------------------------------------------------------

[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 26 22:33:17 CET 2009
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
}}}
so go download masa and try to build it: {{{
cd ../
svn checkout http://masa.googlecode.com/svn/trunk/ masa-read-only
cd masa-read-only
mvn install
}}}
it will fail like that: {{{
$ mvn install
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/jvending/masa/masa-parent/1/masa-parent-1.pom
[INFO] Unable to find resource 'org.jvending.masa:masa-parent:pom:1' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT

Reason: Cannot find parent: org.jvending.masa:masa-parent for project: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT for project org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jvending.masa:masa-parent for project: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT for project org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvending.masa:masa-parent for project: org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT for project org.jvending.masa:masa-plugins:pom:1.2-SNAPSHOT
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jvending.masa:masa-parent' not found in repository: Unable to download the artifact from any repository

org.jvending.masa:masa-parent:pom:1

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

for project org.jvending.masa:masa-parent
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 19 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
org.jvending.masa:masa-parent:pom:1

from the specified remote repositories:
central (http://repo1.maven.org/maven2) {{{
cd parent
mvn install
cd ../
mvn install
}}}
and it will fails the following way: {{{
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
... 20 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Oct 26 22:37:02 CET 2009
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
}}}
then do the following:

Missing:
----------
1) org.apache.maven.shared:maven-verifier:jar:1.2-SNAPSHOT

Try downloading the file manually from the project website.
Then, install it using the command: 
mvn install:install-file -DgroupId=org.apache.maven.shared -DartifactId=maven-verifier -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: 
mvn deploy:deploy-file -DgroupId=org.apache.maven.shared -DartifactId=maven-verifier -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency: 
1) org.jvending.masa:masa-integration-testing:jar:1.1-SNAPSHOT
2) org.apache.maven.shared:maven-verifier:jar:1.2-SNAPSHOT

2) org.apache.maven.its:maven-it-helper:jar:2.1-SNAPSHOT

Try downloading the file manually from the project website.
Then, install it using the command: 
mvn install:install-file -DgroupId=org.apache.maven.its -DartifactId=maven-it-helper -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: 
mvn deploy:deploy-file -DgroupId=org.apache.maven.its -DartifactId=maven-it-helper -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency: 
1) org.jvending.masa:masa-integration-testing:jar:1.1-SNAPSHOT
2) org.apache.maven.its:maven-it-helper:jar:2.1-SNAPSHOT

----------
2 required artifacts are missing.

for artifact:
org.jvending.masa:masa-integration-testing:jar:1.1-SNAPSHOT

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the e switch
[INFO] -----------------------------------------------------------------------

[INFO] Total time: 2 minutes 30 seconds
[INFO] Finished at: Mon Oct 26 22:41:29 CET 2009
[INFO] Final Memory: 48M/86M
[INFO] ------------------------------------------------------------------------
}}}
but http://maven.apache.org/shared/index.html has the sources of theses missing artifacts,so do: {{{
cd ../
svn co http://svn.apache.org/repos/asf/maven/shared/trunk/maven-verifier/
cd maven-verifier
mvn install
mvn install:install-file -DgroupId=org.apache.maven.shared -DartifactId=maven-verifier -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=./target/maven-verifier-1.3-SNAPSHOT.jar
cd ../
}}}
http://mojo.codehaus.org/build-helper-maven-plugin/source-repository.html shows the artifacts's source code's repository,so do: {{{
svn co http://svn.codehaus.org/mojo/tags/build-helper-maven-plugin-1.4
cd build-helper-maven-plugin-1.4
mvn install
mvn install:install-file -DgroupId=org.apache.maven.its -DartifactId=maven-it-helper -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=./target/build-helper-maven-plugin-1.4.jar
cd ../masa-read-only
mvn install
}}}
and it fails here: {{{
[INFO] ------------------------------------------------------------------------
[INFO] Building JVending Masa: masa-integration-testing
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/android/apps/masa-read-only/masa-integration-testing/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 18 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 4 source files to /home/android/apps/masa-read-only/masa-integration-testing/target/test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[5,26] cannot find symbol
symbol : class AbstractMavenIntegrationTestCase
location: package org.apache.maven.it

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[9,54] cannot find symbol
symbol: class AbstractMavenIntegrationTestCase
public class MavenITmasa33StringsMergingTest extends AbstractMavenIntegrationTestCase

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[5,26] cannot find symbol
symbol : class AbstractMavenIntegrationTestCase
location: package org.apache.maven.it

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[10,57] cannot find symbol
symbol: class AbstractMavenIntegrationTestCase
public class MavenITmasa30LocalizedResourcesTest extends AbstractMavenIntegrationTestCase

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[6,26] cannot find symbol
symbol : class AbstractMavenIntegrationTestCase
location: package org.apache.maven.it

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[11,12] cannot find symbol
symbol: class AbstractMavenIntegrationTestCase
extends AbstractMavenIntegrationTestCase

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[14,15] cannot find symbol
symbol : variable ALL_MAVEN_VERSIONS
location: class org.jvending.masa.it.MavenITmasa33StringsMergingTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa33StringsMergingTest.java:[25,65] cannot find symbol
symbol : method getClass()
location: class org.jvending.masa.it.MavenITmasa33StringsMergingTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[15,15] cannot find symbol
symbol : variable ALL_MAVEN_VERSIONS
location: class org.jvending.masa.it.MavenITmasa30LocalizedResourcesTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa30LocalizedResourcesTest.java:[26,65] cannot find symbol
symbol : method getClass()
location: class org.jvending.masa.it.MavenITmasa30LocalizedResourcesTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[16,15] cannot find symbol
symbol : variable ALL_MAVEN_VERSIONS
location: class org.jvending.masa.it.MavenITmasa29PoTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[27,65] cannot find symbol
symbol : method getClass()
location: class org.jvending.masa.it.MavenITmasa29PoTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[46,65] cannot find symbol
symbol : method getClass()
location: class org.jvending.masa.it.MavenITmasa29PoTest

/home/android/apps/masa-read-only/masa-integration-testing/src/test/java/org/jvending/masa/it/MavenITmasa29PoTest.java:[65,65] cannot find symbol
symbol : method getClass()
location: class org.jvending.masa.it.MavenITmasa29PoTest

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the e switch
[INFO] -----------------------------------------------------------------------

[INFO] Total time: 20 seconds
[INFO] Finished at: Mon Oct 26 22:53:40 CET 2009
[INFO] Final Memory: 25M/44M
[INFO] ------------------------------------------------------------------------

}}}
http://svn.apache.org/repos/asf/ contains all the apache projects repositories,so checkout the core-integration-testing project: {{{
cd ../
svn co http://svn.apache.org/repos/asf/maven/core-integration-testing/trunk core-integration-testing
cd core-integration-testing
mvn install
cd ../masa-read-only
mvn install
}}}
then retry to build slideme: {{{
cd ../slideme-read-only
mvn install
}}}
and it fails like this: {{{
$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] slideme-android-parent
[INFO] android-sdk-installer
[INFO] slideme-android-manager
[INFO] ------------------------------------------------------------------------
[INFO] Building slideme-android-parent
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom

Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.jar

[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/android/apps/slideme-read-only/pom.xml to /home/android/.m2/repository/org/slideme/android/slideme-android-parent/1.0-CE/slideme-android-parent-1.0-CE.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building android-sdk-installer
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/android/apps/slideme-read-only/android-sdk-installer/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /home/android/apps/slideme-read-only/android-sdk-installer/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/android/apps/slideme-read-only/android-sdk-installer/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /home/android/apps/slideme-read-only/android-sdk-installer/target/android-sdk-installer-1.0-CE.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/android/apps/slideme-read-only/android-sdk-installer/target/android-sdk-installer-1.0-CE.jar to /home/android/.m2/repository/org/slideme/android/sdk/android-sdk-installer/1.0-CE/android-sdk-installer-1.0-CE.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building slideme-android-manager
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot find lifecycle mapping for packaging: 'android:apk'.
Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingandroid:apk.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the e switch
[INFO] -----------------------------------------------------------------------

[INFO] Total time: 13 seconds
[INFO] Finished at: Tue Oct 27 14:10:57 CET 2009
[INFO] Final Memory: 17M/34M
[INFO] ------------------------------------------------------------------------
}}}
so do: {{{
cd ../
git clone git://github.com/jayway/maven-android-plugin.git
cd maven-android-plugin
mvn install
}}}
it will fail this way: {{{
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Android Plugin - maven-android-plugin
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [plugin:descriptor {execution: default-descriptor}]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 11 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 5 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: /home/android/apps/maven-android-plugin/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.jayway.maven.plugins.android.asm.AndroidTestFinderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 sec
Running com.jayway.maven.plugins.android.AbstractAndroidMojoTest
Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.313 sec <<< FAILURE!
Running com.jayway.maven.plugins.android.asm.withtests.TestClassA
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running com.jayway.maven.plugins.android.asm.withtests.TestClassB
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running com.jayway.maven.plugins.android.AndroidSdkTest
Tests run: 14, Failures: 14, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec <<< FAILURE!

Results :

Failed tests:
givenApidemosApkThenPackageIsFound(com.jayway.maven.plugins.android.AbstractAndroidMojoTest)
givenApidemosPlatformtestsApkThenPackageIsFound(com.jayway.maven.plugins.android.AbstractAndroidMojoTest)
givenLayout1dot1AndToolAdbThenPathIs1dot1Style(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot1AndToolAndroidThenPathIs1dot1Style(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot1AndToolAaptThenPathIs1dot1Style(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot5AndToolAdbThenPathIsCommon(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot5AndToolAndroidThenPathIsCommon(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot5AndToolAaptAndPlatform1dot1ThenPathIsPlatform1dot1(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot5AndToolAaptAndPlatform1dot5ThenPathIsPlatform1dot5(com.jayway.maven.plugins.android.AndroidSdkTest)
givenLayout1dot5AndToolAaptAndPlatform1dot6ThenException(com.jayway.maven.plugins.android.AndroidSdkTest)
givenInvalidSdkPathThenException(com.jayway.maven.plugins.android.AndroidSdkTest)
givenSdk11PathThenLayoutIs11(com.jayway.maven.plugins.android.AndroidSdkTest)
givenSdk15PathThenLayoutIs15(com.jayway.maven.plugins.android.AndroidSdkTest)
givenSdk1dodt1ThenPlatformEqualsPath(com.jayway.maven.plugins.android.AndroidSdkTest)
givenSdk1dodt5AndPlatform1dot5ThenPlatformis1dot5(com.jayway.maven.plugins.android.AndroidSdkTest)
givenSdk1dodt5AndPlatformNullThenPlatformis1dot5(com.jayway.maven.plugins.android.AndroidSdkTest)

Tests run: 23, Failures: 16, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/android/apps/maven-android-plugin/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the e switch
[INFO] -----------------------------------------------------------------------

[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Oct 27 14:35:11 CET 2009
[INFO] Final Memory: 20M/36M
[INFO] ------------------------------------------------------------------------
}}}
that is because we lack the sdk(it tells it in the logs that are in /home/android/apps/maven-android-plugin/target/surefire-reports)
so let's build a free sdk: {{{
cd ~/replicant
export ANDROID_JAVA_HOME=$JAVA_HOME
lunch htc_dream-eng
make sdk
}}}
then unpack the sdk: {{{
cd
unzip /home/android/replicant/out/host/linux-x86/sdk/android-sdk_eng.android_linux-x86.zip
cd ~/android-sdk_eng.android_linux-x86
export ANDROID_SDK_15=$(pwd)
cd ~/apps #or where you put the apps folder
cd maven-android-plugin
mvn -fn install
cd ../
}}}
and it'll fail this way: {{{
}}}