+6
-5
lines changedFilter options
+6
-5
lines changed Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ function build() {
36
36
37
37
if pmd_ci_utils_is_fork_or_pull_request; then
38
38
pmd_ci_log_group_start "Build with mvnw"
39
-
./mvnw clean install --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
39
+
./mvnw clean install -Pcli-dist --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
40
40
pmd_ci_log_group_end
41
41
42
42
# Execute danger and dogfood only for pull requests in our own repository
@@ -70,7 +70,7 @@ function build() {
70
70
71
71
if [ "$(pmd_ci_utils_get_os)" != "linux" ]; then
72
72
pmd_ci_log_group_start "Build with mvnw"
73
-
./mvnw clean verify --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
73
+
./mvnw clean verify -Pcli-dist --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
74
74
pmd_ci_log_group_end
75
75
76
76
pmd_ci_log_info "Stopping build here, because os is not linux"
@@ -87,7 +87,7 @@ function build() {
87
87
88
88
if [ "${PMD_CI_BRANCH}" = "experimental-apex-parser" ]; then
89
89
pmd_ci_log_group_start "Build with mvnw"
90
-
./mvnw clean install --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
90
+
./mvnw clean install -Pcli-dist --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}"
91
91
pmd_ci_log_group_end
92
92
93
93
pmd_ci_log_group_start "Creating new baseline for regression tester"
@@ -321,15 +321,16 @@ ${rendered_release_notes}"
321
321
#
322
322
function pmd_ci_dogfood() {
323
323
local mpmdVersion=()
324
-
./mvnw versions:set -DnewVersion="${PMD_CI_MAVEN_PROJECT_VERSION}-dogfood" -DgenerateBackupPoms=false
324
+
./mvnw versions:set -DnewVersion="${PMD_CI_MAVEN_PROJECT_VERSION}-dogfood" -DgenerateBackupPoms=false -Pcli-dist
325
325
sed -i 's/<version>[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}.*<\/version>\( *<!-- pmd.dogfood.version -->\)/<version>'"${PMD_CI_MAVEN_PROJECT_VERSION}"'<\/version>\1/' pom.xml
326
326
./mvnw verify --show-version --errors --batch-mode "${PMD_MAVEN_EXTRA_OPTS[@]}" \
327
+
-Pcli-dist \
327
328
"${mpmdVersion[@]}" \
328
329
-DskipTests \
329
330
-Dmaven.javadoc.skip=true \
330
331
-Dmaven.source.skip=true \
331
332
-Dcheckstyle.skip=true
332
-
./mvnw versions:set -DnewVersion="${PMD_CI_MAVEN_PROJECT_VERSION}" -DgenerateBackupPoms=false
333
+
./mvnw versions:set -DnewVersion="${PMD_CI_MAVEN_PROJECT_VERSION}" -DgenerateBackupPoms=false -Pcli-dist
333
334
git checkout -- pom.xml
334
335
}
335
336
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4