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

Add DSL for declaring mojos in the build script #4

Closed
britter opened this issue Apr 9, 2020 · 0 comments · Fixed by #14
Closed

Add DSL for declaring mojos in the build script #4

britter opened this issue Apr 9, 2020 · 0 comments · Fixed by #14
Labels
enhancement New feature or request
Milestone

Comments

@britter
Copy link
Member

britter commented Apr 9, 2020

There should a way to declare mojos inside the build script.

mavenPlugin {
  mojos { // NamedDomainObjectContainer
    helloWorld {
      // add possibilites to configure each aspect of a mojo here
    }
  }
}
@britter britter added this to the 0.2.0 milestone Apr 9, 2020
@britter britter added the enhancement New feature or request label Apr 11, 2020
britter added a commit that referenced this issue Apr 13, 2020
The `MavenPluginDevelopmentExtension` now provides a `mojos` method that can
be used by build authors to define mojos in the build script.
This also led to a refactoring of the public plugin API: the package
`de.benediktritter.maven.plugin.development.model` has been removed as a result.

Resolves #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant