INT-3397 Add spring-integration-bom
JIRA: https://jira.spring.io/browse/INT-3397 Similar to Spring Framework's; see https://spring.io/blog/2013/12/03/spring-framework-4-0-rc2-available
This commit is contained in:
35
build.gradle
35
build.gradle
@@ -659,6 +659,41 @@ project('spring-integration-xmpp') {
|
||||
[compileJava,compileTestJava]*.options*.compilerArgs = ["${xLintArg},-path"]
|
||||
}
|
||||
|
||||
project("spring-integration-bom") {
|
||||
description = "Spring Integration (Bill of Materials)"
|
||||
|
||||
configurations.archives.artifacts.clear()
|
||||
artifacts {
|
||||
// work around GRADLE-2406 by attaching text artifact
|
||||
archives(file("spring-integration-bom.txt"))
|
||||
}
|
||||
|
||||
install {
|
||||
repositories.mavenInstaller {
|
||||
pom.whenConfigured {
|
||||
packaging = "pom"
|
||||
withXml {
|
||||
asNode().children().last() + {
|
||||
delegate.dependencyManagement {
|
||||
delegate.dependencies {
|
||||
parent.subprojects.sort { "$it.name" }.each { p ->
|
||||
if (p != project) {
|
||||
delegate.dependency {
|
||||
delegate.groupId(p.group)
|
||||
delegate.artifactId(p.name)
|
||||
delegate.version(p.version)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'docbook-reference'
|
||||
|
||||
reference {
|
||||
|
||||
@@ -29,3 +29,4 @@ include 'spring-integration-twitter'
|
||||
include 'spring-integration-ws'
|
||||
include 'spring-integration-xml'
|
||||
include 'spring-integration-xmpp'
|
||||
include 'spring-integration-bom'
|
||||
|
||||
2
spring-integration-bom/spring-integration-bom.txt
Normal file
2
spring-integration-bom/spring-integration-bom.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
This meta-project is used to generate a bill-of-materials POM that contains the other
|
||||
projects in a dependencyManagement section.
|
||||
Reference in New Issue
Block a user