spring-gradle-plugins / spring-build-conventions

Contains common build logic and uses conventions to build a Spring Project with Gradle
14 stars 18 forks source link

Exclude test scoped dependencies from generated POM #19

Closed vpavic closed 7 years ago

vpavic commented 7 years ago

This PR updates SpringMavenPlugin to prevent inclusion of test scoped dependencies in the generated POM.

rwinch commented 7 years ago

@vpavic I realize some of the Spring projects do this, but I do not like the idea of excluding test dependencies from the pom as this is valuable meta information for users if they are testing. For example, if my pom has junit 4.10 in it, users would easily be able to figure out that junit 4.10 works well with the project.