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

Be tidier with dependencies and plugins #1

Merged
merged 1 commit into from
Mar 6, 2012
Merged

Be tidier with dependencies and plugins #1

merged 1 commit into from
Mar 6, 2012

Conversation

ojacobson
Copy link

Littering the parent POM's build with unused dependencies to avoid typing dependency stanzas in modules is a bit dubious. This change pushes the dependencies into a dependencyManagement section (for control of scope and version) and adds explicit dependency lists to all modules.

Likewise littering the parent POM's build with unused plugins. The plugin configurations have been pushed into a pluginManagement section to allow them to apply to modules without modifying the POM-only parent's build.

Consider this a suggestion only. :)

…ncyManagement.

This is a minor tidiness point but it also cleans up the dependency lists of the downstream projects: they now explicitly declare all of their deps, rather than just the unusual ones, and don't declare ones they don't use.

I've done likewise with plugins: the parent POM has no build step, so having plugins doesn't help it.
rcpoison added a commit that referenced this pull request Mar 6, 2012
Be tidier with dependencies and plugins
@rcpoison rcpoison merged commit f530a86 into rcpoison:master Mar 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants