File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -787,6 +787,41 @@ project("spring-aspects") {
787
787
}
788
788
}
789
789
790
+ project(" spring-framework-bom" ) {
791
+ description = " Spring Framework (Bill of Materials)"
792
+
793
+ configurations. archives. artifacts. clear()
794
+ artifacts {
795
+ // work around GRADLE-2406 by attaching text artifact
796
+ archives(file(" spring-framework-bom.txt" ))
797
+ }
798
+
799
+ install {
800
+ repositories. mavenInstaller {
801
+ pom. whenConfigured {
802
+ packaging = " pom"
803
+ withXml {
804
+ asNode(). children(). last() + {
805
+ delegate. dependencyManagement {
806
+ delegate. dependencies {
807
+ parent. subprojects. sort { " $it . name " }. each { p ->
808
+ if (p. hasProperty(" merge" ) && p. merge. into == null && p != project) {
809
+ delegate. dependency {
810
+ delegate. groupId(p. group)
811
+ delegate. artifactId(p. name)
812
+ delegate. version(p. version)
813
+ }
814
+ }
815
+ }
816
+ }
817
+ }
818
+ }
819
+ }
820
+ }
821
+ }
822
+ }
823
+ }
824
+
790
825
configure(rootProject) {
791
826
description = " Spring Framework"
792
827
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ include "spring-web"
22
22
include " spring-webmvc"
23
23
include " spring-webmvc-portlet"
24
24
include " spring-webmvc-tiles3"
25
+ include " spring-framework-bom"
25
26
26
27
// Exposes gradle buildSrc for IDE support
27
28
include " buildSrc"
Original file line number Diff line number Diff line change
1
+ This meta-project is used to generate a bill-of-materials POM that contains the other
2
+ projects in a dependencyManagement section.
You can’t perform that action at this time.
0 commit comments