-
Notifications
You must be signed in to change notification settings - Fork 36
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
groovydoc goal not executed despite being listed in executions #65
Comments
Adding the goals into a separate execution and binding that explicitly to a phase seems to work though:
|
It's because the Groovydoc goals are not associated with any phase by default. Ideally, someday I'd make the Groovydoc a proper Maven site plugin. But until then, there wasn't any phase in the default build lifecycle that felt appropriate to bind to by default. |
Why not the package phase? |
Well, probably Eventually, I switched back to the groovydoc maven plugin for the being because that also creates the docs JAR and attaches it to the build. This is required in order to release artifacts to Maven Central. |
Well, the mojo could be called as part of site, or as part of building a Groovydoc jar. And you'd want it bound to different phases, depending on the usage. Right now, I don't build jars of Groovydoc, but maybe I could add a new mojo to do that and bind to package phase the same way groovydoc maven plugin does -- let me give it some thought. |
I don't understand why the groovydoc and testGroovydoc goals are not executed despite being listed in the execution. If I directly invoke it from the command line, it works. Not that the other goals appear all to be properly executed.
The text was updated successfully, but these errors were encountered: