forked from appsody/stacks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dc9c18
commit c29bda5
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
mvnw install -Denforcer.skip=true | ||
setlocal | ||
set JAVA_FOUND=0 | ||
where java >nul 2>nul | ||
if %ERRORLEVEL% EQU 0 set JAVA_FOUND=1 | ||
if defined JAVA_HOME set JAVA_FOUND=1 | ||
if "%JAVA_FOUND%"==1 mvnw install -Denforcer.skip=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/bash | ||
./mvnw install -Denforcer.skip=true | ||
which java 2>&1 >/dev/null ; JAVA_KNOWN=$? | ||
if [ ! -z "$JAVA_HOME" ] || [ $JAVA_KNOWN = "0" ]; then | ||
./mvnw install -Denforcer.skip=true | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters