File tree 5 files changed +5
-23
lines changed
5 files changed +5
-23
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,8 @@ dependencies {
30
30
31
31
## Milestone releases
32
32
33
- Milestone releases are published to https://repo.spring.io/milestone . Include that as a maven repository in your build
34
- configuration to use milestone releases. Note that milestone releases are for testing purposes and are not intended for
35
- production use.
33
+ Starting with the 1.5.0-M2 release, milestone releases and release candidates will be published to Maven Central.
34
+ Note that milestone releases are for testing purposes and are not intended for production use.
36
35
37
36
## Documentation
38
37
Original file line number Diff line number Diff line change @@ -242,14 +242,6 @@ subprojects {
242
242
password findProperty(' SNAPSHOT_REPO_PASSWORD' )
243
243
}
244
244
}
245
- maven {
246
- name = ' Milestone'
247
- url = ' https://repo.spring.io/milestone'
248
- credentials {
249
- username findProperty(' MILESTONE_REPO_USER' )
250
- password findProperty(' MILESTONE_REPO_PASSWORD' )
251
- }
252
- }
253
245
}
254
246
}
255
247
Original file line number Diff line number Diff line change 16
16
// tag::main[]
17
17
repositories {
18
18
maven { url ' https://repo.spring.io/snapshot' } // for snapshots
19
- maven { url ' https://repo.spring.io/milestone' } // for milestones
20
- mavenCentral() // for GA
19
+ mavenCentral() // for GA and milestones
21
20
}
22
21
23
22
ext {
Original file line number Diff line number Diff line change 76
76
<enabled >false</enabled >
77
77
</releases >
78
78
</repository >
79
- <repository >
80
- <id >spring-milestones</id >
81
- <name >Spring Milestones</name >
82
- <url >https://repo.spring.io/milestone</url > <!-- For Milestones -->
83
- <snapshots >
84
- <enabled >false</enabled >
85
- </snapshots >
86
- </repository >
87
79
</repositories >
88
80
</project >
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ elif [ $CIRCLE_TAG ]; then
14
14
echo -e " Publishing Release => Branch ['$CIRCLE_BRANCH '] Tag ['$CIRCLE_TAG ']"
15
15
case " $CIRCLE_TAG " in
16
16
* -M* )
17
- ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true -Prelease.stage=milestone candidate publishNebulaPublicationToMilestoneRepository $SWITCHES
17
+ ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true -Prelease.stage=milestone candidate publishNebulaPublicationToMavenCentralRepository closeAndReleaseMavenCentralStagingRepository $SWITCHES
18
18
;;
19
19
* -RC* )
20
20
# -Prelease.stage=milestone instead of rc (should be rc), probably related to this bug: https://github.com/nebula-plugins/nebula-release-plugin/issues/213
21
- ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true -Prelease.stage=milestone candidate publishNebulaPublicationToMilestoneRepository $SWITCHES
21
+ ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true -Prelease.stage=milestone candidate publishNebulaPublicationToMavenCentralRepository closeAndReleaseMavenCentralStagingRepository $SWITCHES
22
22
;;
23
23
* )
24
24
./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true -Prelease.stage=final final publishNebulaPublicationToMavenCentralRepository closeAndReleaseMavenCentralStagingRepository $SWITCHES
You can’t perform that action at this time.
0 commit comments