user1400290
user1400290

Reputation: 1750

Error: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources

I am new to Android with maven environment. I am trying to run a sample application, but I am having problems. When I select the Project and do MAVEN->Clean Install, I get following Error:

[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:andr
oid-maven-plugin:3.6.0:generate-sources (default-generate-sources) on project ut
ils-android: Execution default-generate-sources of goal com.jayway.maven.plugins
.android.generation2:android-maven-plugin:3.6.0:generate-sources failed: A requi
red class was missing while executing com.jayway.maven.plugins.android.generatio
n2:android-maven-plugin:3.6.0:generate-sources: Lorg/sonatype/aether/RepositoryS
ystem;

Please, not I have 3.1.1 version of Meven, also I am using Eclipse on Windows 7 system.

Thanks

Upvotes: 4

Views: 3089

Answers (1)

user1400290
user1400290

Reputation: 1750

@Ricardo Gladwell: Thanks for your replies.

Actually I had to reinstall maven 3.0.5 to avoide this error. But before that I completly removed .m2 directory from /Users/Username/ folder.

Upvotes: 1

Related Questions