Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven 3.1.x compatibility : Failed to execute goal com.squareup.spoon:spoon-maven-plugin:1.0.5:run : A required class was missing #152

Closed
sgrimault opened this issue Nov 22, 2013 · 3 comments

Comments

@sgrimault
Copy link

Spoon Maven plugin is not compatible with Maven 3.1.x :

[ERROR] Failed to execute goal com.squareup.spoon:spoon-maven-plugin:1.0.5:run (default) on project xxx-instrumentation: Execution default of goal com.squareup.spoon:spoon-maven-plugin:1.0.5:run failed: A required class was missing while executing com.squareup.spoon:spoon-maven-plugin:1.0.5:run: org/sonatype/aether/resolution/ArtifactResolutionException

Maven 3.1.x use eclipse aether while Maven 3.0.x use Sonatype aether.

Thanks in advance.

sgrimault pushed a commit to makinacorpus/android-archetypes that referenced this issue Nov 22, 2013
Using Android Maven Plugin version 3.8.0 (requires Maven 3.1.1 or
higher).
Set Android 4.4 (API 19) as default target platform.
Remove Spoon support (client library and Maven plugin) : Not compatible
with Maven 3.1.x (square/spoon#152).
@JakeWharton
Copy link
Collaborator

We're actually going to be migrating away from Maven to a Gradle plugin but
we'll show instructions for running Spoon using the exec-java plugin for
Maven users when we do.
On Nov 22, 2013 1:36 PM, "Sebastien Grimault" notifications@github.com
wrote:

Spoon Maven plugin is not compatible with Maven 3.1.x :

[ERROR] Failed to execute goal
com.squareup.spoon:spoon-maven-plugin:1.0.5:run (default) on project
xxx-instrumentation: Execution default of goal
com.squareup.spoon:spoon-maven-plugin:1.0.5:run failed: A required class
was missing while executing
com.squareup.spoon:spoon-maven-plugin:1.0.5:run:
org/sonatype/aether/resolution/ArtifactResolutionException

Maven 3.1.x use eclipse aether while Maven 3.0.x use Sonatype aether.

Thanks in advance.


Reply to this email directly or view it on GitHubhttps://github.com//issues/152
.

@roman-mazur
Copy link
Contributor

We're actually going to be migrating away from Maven to a Gradle plugin

Does it mean there is no big sense to maintain currently existing Gradle plugins since you'll release your own soon?

@edenman
Copy link
Collaborator

edenman commented Mar 16, 2015

Looks like the linked PR fixes this issue, and https://github.com/stanfy/spoon-gradle-plugin is the appropriate spoon gradle plugin to use, going forward.

@edenman edenman closed this as completed Mar 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants