Andre Perkins
Andre Perkins

Reputation: 7800

Maven Android Issue

I am trying to set up my development environment for Android Bootstrap. I cloned the repo and then executed the maven command: "mvn package clean" but whenever I do get the following error message:

Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project android-bootstrap: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources failed: A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:2.6:resources: org/codehaus/plexus/util/Scanner

I am using maven version 3.1.1, java version 1.7.0_51

How do I resolve this issue?

Upvotes: 2

Views: 229

Answers (2)

Andre Perkins
Andre Perkins

Reputation: 7800

I was able to fix this by removing the .m2 folder and re-downloading the dependencies. I am not sure why that worked or the what the error message means. So I will still leave this error message open.

Upvotes: 0

NikedLab
NikedLab

Reputation: 903

apache-maven-3.1.1 not suuported now Android. Use apache-maven-3.0.5. It working for me

Upvotes: 0

Related Questions