Use dependency-management-plugin:1.0.0.BUILD-SNAPSHOT
This fixes an issue where the dependencyManagement entries are not added to the generated pom [1] [1] https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/141
This commit is contained in:
parent
a0427209d8
commit
95da47f579
11
build.gradle
11
build.gradle
|
|
@ -1,6 +1,6 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url "https://repo.spring.io/plugins-release" }
|
maven { url "https://repo.spring.io/plugins-snapshot" }
|
||||||
maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" }
|
maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
@ -8,12 +8,12 @@ buildscript {
|
||||||
classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.5.3")
|
classpath("org.asciidoctor:asciidoctor-gradle-plugin:1.5.3")
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.6")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.6")
|
||||||
classpath("io.spring.gradle:docbook-reference-plugin:0.3.1")
|
classpath("io.spring.gradle:docbook-reference-plugin:0.3.1")
|
||||||
|
classpath("io.spring.gradle:dependency-management-plugin:1.0.0.BUILD-SNAPSHOT")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "org.sonarqube" version "2.2.1"
|
id "org.sonarqube" version "2.2.1"
|
||||||
id "io.spring.dependency-management" version "1.0.0.RC2"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
|
|
@ -102,6 +102,7 @@ configure(allprojects) { project ->
|
||||||
|
|
||||||
ext.gradleScriptDir = "${rootProject.projectDir}/gradle"
|
ext.gradleScriptDir = "${rootProject.projectDir}/gradle"
|
||||||
|
|
||||||
|
apply plugin: "io.spring.dependency-management"
|
||||||
apply plugin: "propdeps"
|
apply plugin: "propdeps"
|
||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
apply plugin: "test-source-set-dependencies"
|
apply plugin: "test-source-set-dependencies"
|
||||||
|
|
@ -1182,6 +1183,12 @@ project("spring-aspects") {
|
||||||
project("spring-framework-bom") {
|
project("spring-framework-bom") {
|
||||||
description = "Spring Framework (Bill of Materials)"
|
description = "Spring Framework (Bill of Materials)"
|
||||||
|
|
||||||
|
dependencyManagement {
|
||||||
|
generatedPomCustomization {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
configurations.archives.artifacts.clear()
|
configurations.archives.artifacts.clear()
|
||||||
artifacts {
|
artifacts {
|
||||||
// work around GRADLE-2406 by attaching text artifact
|
// work around GRADLE-2406 by attaching text artifact
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue