Skip to content

Conversation

fbiville
Copy link

With this change, users can now rely on the standard
exec.mainClass property when executing the exec-maven-plugin.
Users of the start-class property are unaffected.

Thanks @hboutemy for the initial diagnosis and suggestion for the
fix.

With this change, users can now rely on the standard
`exec.mainClass` property when executing the exec-maven-plugin.
Users of the `start-class` property are unaffected.

Thanks @hboutemy for the initial diagnosis and suggestion for the
fix.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 26, 2020
@fbiville
Copy link
Author

For more context, I am writing a helper for projectriff streaming processor. While the project uses Spring Boot, the helper is completely standalone and it took me a long time to understand that Spring Boot parent POM actually rewrites the exec.mainClass property, hence forcing me to comply.

While this issue is far from new, it seems it surprised a few more people, judging by the votes on StackOverflow.

@philwebb philwebb added the for: team-attention An issue we'd like other members of the team to review label Mar 30, 2020
@philwebb philwebb removed the for: team-attention An issue we'd like other members of the team to review label Apr 8, 2020
@snicoll
Copy link
Member

snicoll commented Apr 8, 2020

Thank you for the additional context. We've discussed this one and decided to remove plugin management for the exec plugin altogether. I've created #20883

@snicoll snicoll closed this Apr 8, 2020
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 8, 2020
@snicoll snicoll removed their assignment Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants