Skip to content

Commit 3092191

Browse files
committed
Fix for broken nexus install during build
1 parent fd4bfda commit 3092191

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

build.gradle

-19
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,4 @@ publishing {
129129
}
130130
}
131131
}
132-
publications {
133-
mavenJar(MavenPublication) {
134-
pom.withXml {
135-
def pomNode = asNode()
136-
pomNode.dependencyManagement.replaceNode {}
137-
138-
// simply remove dependencies without a version
139-
// version-less dependencies are handled with dependencyManagement
140-
// see https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/8 for more complete solutions
141-
pomNode.dependencies.dependency.findAll {
142-
it.version.text().isEmpty()
143-
}.each {
144-
it.replaceNode {}
145-
}
146-
}
147-
from components.java
148-
149-
}
150-
}
151132
}

0 commit comments

Comments
 (0)