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

Use LiquibaseMojo as implemention class. Include Pro commands in plugin.xml DAT-12158 #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wwillard7800
Copy link

The build-plugin-xml goal builds the plugin.xml which the Maven plugin uses. There is now a new LiquibaseMojo implementation class which simplifies handling of the goal and the command it executes.

pluginXml.appendChild(pluginElement);

addNode("name", "liquibase-maven-plugin", pluginElement, pluginXml);
addNode("description", "A Maven plugin wraps up some of the functionality of Liquibase", pluginElement, pluginXml);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should change the description now:

Suggested change
addNode("description", "A Maven plugin wraps up some of the functionality of Liquibase", pluginElement, pluginXml);
addNode("description", "A Maven plugin wraps up the functionality of Liquibase", pluginElement, pluginXml);

Comment on lines +27 to +28
@Mojo(name = "build-plugin-xml")
public class BuildPluginXmlMojo extends AbstractMojo {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some javadoc to this class that explains what it does.

@kevin-atx
Copy link

@StevenMassaro and @wwillard7800 - is this PR ready to merge?

@StevenMassaro
Copy link

@StevenMassaro and @wwillard7800 - is this PR ready to merge?

This could be merged, I suppose, but I don't think it should be. It's a new feature for generating the maven plugin in a different way, but it's not currently used anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Discussion
Development

Successfully merging this pull request may close these issues.

4 participants