Skip to content

Commit 326463d

Browse files
committed
Polishing.
Reorder methods.
1 parent 477ff96 commit 326463d

File tree

2 files changed

+191
-190
lines changed

2 files changed

+191
-190
lines changed

src/main/java/org/springframework/data/release/build/BuildSystem.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ interface BuildSystem extends Plugin<Project> {
4949
*/
5050
ModuleIteration prepareVersion(ModuleIteration module, Phase phase);
5151

52+
/**
53+
* Triggers the pre-release checks for the given {@link ModuleIteration}.
54+
*
55+
* @param module must not be {@literal null}.
56+
* @return
57+
*/
58+
<M extends ProjectAware> M triggerPreReleaseCheck(M module);
59+
60+
5261
/**
5362
* Open a remote repository for staging artifacts.
5463
*/
@@ -59,6 +68,8 @@ interface BuildSystem extends Plugin<Project> {
5968
*/
6069
void close(StagingRepository stagingRepository);
6170

71+
<M extends ProjectAware> M triggerBuild(M module);
72+
6273
/**
6374
* Deploy artifacts for the given {@link ModuleIteration} using {@link DeploymentInformation}.
6475
*
@@ -84,16 +95,6 @@ interface BuildSystem extends Plugin<Project> {
8495
*/
8596
<M extends ProjectAware> M triggerDistributionBuild(M module);
8697

87-
<M extends ProjectAware> M triggerBuild(M module);
88-
89-
/**
90-
* Triggers the pre-release checks for the given {@link ModuleIteration}.
91-
*
92-
* @param module must not be {@literal null}.
93-
* @return
94-
*/
95-
<M extends ProjectAware> M triggerPreReleaseCheck(M module);
96-
9798
/**
9899
* Verify general functionality and correctness of the build setup.
99100
*/

0 commit comments

Comments
 (0)