Skip to content

Commit 6469c93

Browse files
committed
don't include non-exported plugins in POM
1 parent 05a2f40 commit 6469c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/cli/maven/MavenPomGenerator.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class MavenPomGenerator extends BaseSettingsApi{
8787
}
8888

8989
def addDependenciesForScope(IvyDependencyManager dependencyManager, String scope, ArrayList<String> dependencies, String type = "", String newScope=scope) {
90-
final appDependencies = type ? dependencyManager.pluginDependencyDescriptors : dependencyManager.getApplicationDependencyDescriptors(scope)
90+
final appDependencies = type ? dependencyManager.effectivePluginDependencyDescriptors : dependencyManager.getApplicationDependencyDescriptors(scope)
9191
dependencies.addAll(appDependencies.findAll { EnhancedDefaultDependencyDescriptor dd -> dd.scope == scope }.collect() { EnhancedDefaultDependencyDescriptor dd ->
9292
"""
9393
<dependency>

0 commit comments

Comments
 (0)