File tree 2 files changed +9
-7
lines changed
hermetic_build/library_generation/owlbot/templates/java_library
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104
104
- uses : actions/setup-java@v4
105
105
with :
106
106
distribution : temurin
107
- java-version : 11
107
+ java-version : 17
108
108
- run : java -version
109
109
- run : .kokoro/build.sh
110
110
env :
Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ set +e
55
55
case ${JOB_TYPE} in
56
56
test)
57
57
echo " SUREFIRE_JVM_OPT: ${SUREFIRE_JVM_OPT} "
58
- mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true ${SUREFIRE_JVM_OPT}
58
+ mvn test -B -ntp -Dfmt.skip=true - Dclirr.skip=true -Denforcer.skip=true ${SUREFIRE_JVM_OPT}
59
59
RETURN_CODE=$?
60
60
;;
61
61
lint)
62
- mvn com.coveo :fmt-maven-plugin:check -B -ntp
62
+ mvn com.spotify.fmt :fmt-maven-plugin:check -B -ntp
63
63
RETURN_CODE=$?
64
64
;;
65
65
javadoc)
66
- mvn javadoc:javadoc javadoc:test-javadoc -B -ntp
66
+ mvn javadoc:javadoc javadoc:test-javadoc -B -ntp -Dfmt.skip=true
67
67
RETURN_CODE=$?
68
68
;;
69
69
integration)
@@ -75,13 +75,14 @@ integration)
75
75
-Denforcer.skip=true \
76
76
-Dcheckstyle.skip=true \
77
77
-DskipUnitTests=true \
78
+ -Dfmt.skip=true \
78
79
-fae \
79
80
verify
80
81
RETURN_CODE=$?
81
82
;;
82
83
graalvm)
83
84
# Run Unit and Integration Tests with Native Image
84
- mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
85
+ mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test -Dfmt.skip=true
85
86
RETURN_CODE=$?
86
87
;;
87
88
samples)
@@ -105,6 +106,7 @@ samples)
105
106
-DtrimStackTrace=false \
106
107
-Dclirr.skip=true \
107
108
-Denforcer.skip=true \
109
+ -Dfmt.skip=true \
108
110
-fae \
109
111
verify
110
112
RETURN_CODE=$?
@@ -114,7 +116,7 @@ samples)
114
116
fi
115
117
;;
116
118
clirr)
117
- mvn -B -ntp -Denforcer.skip=true clirr:check
119
+ mvn -B -ntp -Dfmt.skip=true - Denforcer.skip=true clirr:check
118
120
RETURN_CODE=$?
119
121
;;
120
122
* )
136
138
fi
137
139
138
140
echo " exiting with ${RETURN_CODE} "
139
- exit ${RETURN_CODE}
141
+ exit ${RETURN_CODE}
You can’t perform that action at this time.
0 commit comments