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 plugin barfs if you ask it for help #21715

Closed
dsyer opened this issue Jun 5, 2020 · 1 comment
Closed

Maven plugin barfs if you ask it for help #21715

dsyer opened this issue Jun 5, 2020 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@dsyer
Copy link
Member

dsyer commented Jun 5, 2020

$ ./mvnw spring-boot:help
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.206 s
[INFO] Finished at: 2020-06-05T09:30:54Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "ide" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.0.BUILD-SNAPSHOT:help (default-cli) on project demo: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:2.3.0.BUILD-SNAPSHOT:help failed: Unable to load the mojo 'help' in the plugin 'org.springframework.boot:spring-boot-maven-plugin:2.3.0.BUILD-SNAPSHOT'. A required class is missing: org.springframework.boot.maven.HelpMojo
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.springframework.boot:spring-boot-maven-plugin:2.3.0.BUILD-SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/dsyer/.m2/repository/org/springframework/boot/spring-boot-maven-plugin/2.3.0.BUILD-SNAPSHOT/spring-boot-maven-plugin-2.3.0.BUILD-SNAPSHOT.jar
...

Probably an issue with the way the Maven artifacts are synthesized from the gradle build (I never saw this with a Maven plugin built with Maven)?

@snicoll
Copy link
Member

snicoll commented Jun 5, 2020

Duplicate of #21556

@snicoll snicoll marked this as a duplicate of #21556 Jun 5, 2020
@snicoll snicoll closed this as completed Jun 5, 2020
@snicoll snicoll added the status: duplicate A duplicate of another issue label Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants