10000 mega-melt: skip lifecycle when installing POM · scijava/pom-scijava@28dcbbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 28dcbbd

Browse files
committed
mega-melt: skip lifecycle when installing POM
We do not need to perform the entire Maven lifecycle just to install the doctored 999-mega-melt version of the pom-scijava parent into the local repository cache. We can just invoke the install:install goal directly. Not only does t 8000 his speed up the mega-melt slightly (e.g. no enforcer checks), it also avoids an issue whereby the Gradle platform+catalog build would fail due to being in the wrong working/base directory.
1 parent bad7b0f commit 28dcbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ shortVersionClashes=\
5252
rm -rf "$megaMeltDir" && mkdir -p "$megaMeltDir" || die "Creation of $megaMeltDir failed!"
5353
cp "$pom" "$pomParent" &&
5454
mvn -B -f "$pomParent" versions:set -DnewVersion=999-mega-melt > "$versionSwapLog" &&
55-
mvn -B -f "$pomParent" install >> "$versionSwapLog" ||
55+
mvn -B -f "$pomParent" install:install >> "$versionSwapLog" ||
5656
die "pom-scijava version update failed:\n$(cat "$versionSwapLog")"
5757
python "$generateMegaMeltScript" "$megaMeltDir" || die 'Generation failed!'
5858
sectionEnd # Generating mega-melt project

0 commit comments

Comments
 (0)
0