mosabua/maven-android-sdk-deployer — Issue #31: Properties file not found: D:\android-sdk-windows\add-ons\addon-google_apis-google_inc_-11\source.properties
Author: dj99fei
Created: 2012-02-24 05:48:41+00:00
State: open

When I use "mvn clean install -P 3.0" I got the error message like this:

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Maven Android SDK Deployer
[INFO] Android Platforms
[INFO] Android Platform 3.0 API 11
[INFO] Android Add-Ons
[INFO] Android Add-On Google Platform 3.0 API 11 (Maps)
[INFO] Android Extras
[INFO] Android Compatibility Extra V4
[INFO] Android Compatibility Extra V13
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Android SDK Deployer 1.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ maven-android-sdk-deployer ---
[INFO] Installing D:\workspace\maven-android-sdk-deployer\pom.xml to C:\Users\Administrator\.m2\repository\com\simpligility\android\sdk-deployer\maven-android-sdk-deployer\1.1.0\maven-android-sdk-deployer-1.1.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Android Platforms 1.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ android-platforms ---
[INFO] Installing D:\workspace\maven-android-sdk-deployer\platforms\pom.xml to C:\Users\Administrator\.m2\repository\com\simpligility\android\sdk-deployer\android-platforms\1.1.0\android-platforms-1.1.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Android Platform 3.0 API 11 1.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ android-11 ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ android-11 ---
[INFO] Installing D:\workspace\maven-android-sdk-deployer\platforms\android-11\pom.xml to C:\Users\Administrator\.m2\repository\com\simpligility\android\sdk-deployer\android-11\1.1.0\android-11-1.1.0.pom
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install-file (default) @ android-11 ---
[INFO] Installing D:\android-sdk-windows\platforms\android-11\android.jar to C:\Users\Administrator\.m2\repository\android\android\3.0_r2\android-3.0_r2.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Android Add-Ons 1.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ android-add-ons ---
[INFO] Installing D:\workspace\maven-android-sdk-deployer\add-ons\pom.xml to C:\Users\Administrator\.m2\repository\com\simpligility\android\sdk-deployer\android-add-ons\1.1.0\android-add-ons-1.1.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Android Add-On Google Platform 3.0 API 11 (Maps) 1.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ google-apis-11 ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven Android SDK Deployer ........................ SUCCESS [0.321s]
[INFO] Android Platforms ................................. SUCCESS [0.010s]
[INFO] Android Platform 3.0 API 11 ....................... SUCCESS [0.138s]
[INFO] Android Add-Ons ................................... SUCCESS [0.007s]
[INFO] Android Add-On Google Platform 3.0 API 11 (Maps) .. FAILURE [0.004s]
[INFO] Android Extras .................................... SKIPPED
[INFO] Android Compatibility Extra V4 .................... SKIPPED
[INFO] Android Compatibility Extra V13 ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.692s
[INFO] Finished at: Fri Feb 24 11:47:38 CST 2012
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project google-apis-11: Properties file not found: D:\android-sdk-windows\add-ons\addon-google_apis-google_inc_-11\source.properties -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project google-apis-11: Properties file not found: D:\android-sdk-windows\add-ons\addon-google_apis-google_inc_-11\source.properties
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Properties file not found: D:\android-sdk-windows\add-ons\addon-google_apis-google_inc_-11\source.properties
at org.codehaus.mojo.properties.ReadPropertiesMojo.execute(ReadPropertiesMojo.java:110)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :google-apis-11

But I 'm sure I have android-11 platform and the corresponding addon-google_apis-google_inc_-10.

Expecting your help . Thanks..