Commit 68909dd
committed
udpate versions (pom and property) in the same run
If versions:set and versions:set-property are launched in separate
maven commands, versions:set-property can fail as poms are in an
inconsistent state.
Attached test case shows a practical use-case where a property is used
in dependencyManagement declaration in a multi-module project.
If project is not installed, versions:set-property 1.0.1-SNAPSHOT ->
1.0.1 fails as maven tries to resolve dependency 1.0.1-SNAPSHOT in a
project already versionned in 1.0.1.1 parent dd0468b commit 68909dd
File tree
1 file changed
+14
-3
lines changed- src/main/java/com/amashchenko/maven/plugin/gitflow
1 file changed
+14
-3
lines changedLines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1020 | 1024 | | |
1021 | | - | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1022 | 1029 | | |
1023 | 1030 | | |
1024 | 1031 | | |
| 1032 | + | |
1025 | 1033 | | |
1026 | 1034 | | |
1027 | | - | |
1028 | | - | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1029 | 1040 | | |
1030 | 1041 | | |
1031 | 1042 | | |
| |||
0 commit comments