Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for mojos from other projects #3

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

Add support for mojos from other projects #3

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

Comments

@britter
Copy link
Member

britter commented Apr 9, 2020

It should be possible to have mojos implemented in a different subproject of a multi project build. When applied to a project the plugin should extract mojo descriptors form those projects, either via project dependencies or via a dedicated API:

mavenPlugin {
  mojos {
    from project("mojo-project") // extracts mojos from the main source set of that project
    from project("mojo-in-sourceset") {
      sourceSet = sourceSets.mojo // use the mojo source set from that project
    }
  }
}
@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 12, 2020
britter added a commit that referenced this issue Apr 12, 2020
configuration for mojo implementations in other subprojects of a multi project
build. If mojos are found they are added to the resulting plugin descriptor.

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

Successfully merging a pull request may close this issue.

1 participant