Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid-Maven Failed to execute goal org.codehaus.mojoto when install
    primarykey
    data
    text
    <p>I am setting up a new Android-Maven development using the new Android ADT Bundle and Android-Mavem Deployer.</p> <p>The <code>$ANDROID_HOME</code> is <code>/Users/allanhahaha/Documents/adt-bundle-mac-x86_64-20130917/sdk</code></p> <p>When I ran <code>mvn clean install -X</code> in <code>maven-android-sdk-deployer-master</code> folder, I got these errors:</p> <pre><code>[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.966s [INFO] Finished at: Sat Oct 12 20:34:27 PDT 2013 [INFO] Final Memory: 11M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project android-3: Properties file not found: /Users/allanhahaha/Documents/adt-bundle-mac-x86_64-20130917/sdk/platforms/android-3/source.properties -&gt; [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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 &lt;goals&gt; -rf :android-3 </code></pre> <p>and here are some extra error messages:</p> <pre><code>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 android-3: Properties file not found: /Users/allanhahaha/Documents/adt-bundle-mac-x86_64-20130917/sdk/platforms/android-3/source.properties </code></pre> <p>It looks pretty strange to me since I don't even have the <code>android-3</code> folder:</p> <pre><code>ALLAN-MacBook-Pro:platforms allanhahaha$ pwd /Users/allanhahaha/Documents/adt-bundle-mac-x86_64-20130917/sdk/platforms ALLAN-MacBook-Pro:platforms allanhahaha$ ls -l total 0 drwxr-xr-x 11 allanhahaha staff 374 Oct 12 18:15 android-10 drwxr-xr-x 12 allanhahaha staff 408 Oct 12 18:14 android-11 drwxr-xr-x 12 allanhahaha staff 408 Oct 12 18:13 android-12 drwxr-xr-x 12 allanhahaha staff 408 Oct 12 18:12 android-13 drwxr-xr-x 10 allanhahaha staff 340 Oct 12 18:10 android-14 drwxr-xr-x 10 allanhahaha staff 340 Oct 12 18:10 android-15 drwxr-xr-x 11 allanhahaha staff 374 Oct 12 18:10 android-16 drwxr-xr-x 11 allanhahaha staff 374 Oct 12 18:09 android-17 drwxrwx---@ 11 allanhahaha staff 374 Sep 10 11:56 android-18 drwxr-xr-x 11 allanhahaha staff 374 Oct 12 18:16 android-8 </code></pre> <p>And here is part of my POM.xml configuration:</p> <pre><code>&lt;build&gt; &lt;pluginManagement&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;properties-maven-plugin&lt;/artifactId&gt; &lt;version&gt;1.0-alpha-2&lt;/version&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt; &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt; &lt;version&gt;3.6.0&lt;/version&gt; &lt;configuration&gt; &lt;sdk&gt; &lt;platform&gt;${android.sdk.platform}&lt;/platform&gt; &lt;/sdk&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/pluginManagement&gt; &lt;extensions&gt; &lt;extension&gt; &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt; &lt;artifactId&gt;wagon-webdav-jackrabbit&lt;/artifactId&gt; &lt;version&gt;2.4&lt;/version&gt; &lt;/extension&gt; &lt;/extensions&gt; </code></pre> <p></p> <p>I am new to maven so have no idea about what is going on with this error message. Please help take a look. Thank you.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload