File tree Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Expand file tree Collapse file tree 4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ permissions:
1515 contents : read
1616jobs :
1717 build :
18- runs-on : ' ubuntu-22.04 '
18+ runs-on : ' ubuntu-latest '
1919 strategy :
2020 fail-fast : false
2121 matrix :
@@ -30,15 +30,18 @@ jobs:
3030 distribution : " temurin"
3131 java-version : ${{ matrix.java_version }}
3232 cache : ' maven'
33+ server-id : central-snapshots
34+ server-username : CI_DEPLOY_USERNAME
35+ server-password : CI_DEPLOY_PASSWORD
3336 - name : Build
3437 run : ./mvnw -B -q -ff -ntp verify
3538 - name : Generate code coverage
36- if : github.event_name != 'pull_request' && matrix.java_version == '8'
39+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
3740 run : ./mvnw -B -q -ff -ntp test
3841 - name : Publish code coverage
39- if : github.event_name != 'pull_request' && matrix.java_version == '8'
42+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
4043 uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
4144 with :
4245 token : ${{ secrets.CODECOV_TOKEN }}
43- file : ./target/site/jacoco/jacoco.xml
46+ files : ./target/site/jacoco/jacoco.xml
4447 flags : unittests
Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3 /apache-maven-3.9.3 -bin.zip
18- wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0 /maven-wrapper-3.2.0 .jar
17+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9 /apache-maven-3.9.9 -bin.zip
18+ wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2 /maven-wrapper-3.3.2 .jar
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >com.fasterxml</groupId >
88 <artifactId >oss-parent</artifactId >
9- <version >58 </version >
9+ <version >68 </version >
1010 </parent >
1111 <groupId >com.fasterxml.uuid</groupId >
1212 <artifactId >java-uuid-generator</artifactId >
@@ -199,6 +199,11 @@ https://stackoverflow.com/questions/37958104/maven-javadoc-no-source-files-for-p
199199 </execution >
200200 </executions >
201201 </plugin >
202+ <!-- 28-May-2025, tatu: Ensure we use new Sonatype Central Portal: -->
203+ <plugin >
204+ <groupId >org.sonatype.central</groupId >
205+ <artifactId >central-publishing-maven-plugin</artifactId >
206+ </plugin >
202207 </plugins >
203208 </build >
204209
Original file line number Diff line number Diff line change 88
99#122: RFC-4122 Obsoleted by RFC-9562 (document change)
1010 (pointed out by @akefirad)
11+ - Update to `oss-parent` v68 to switch to Central Portal publishing
1112
12135.1.0 (02-Jun-2024)
1314
You can’t perform that action at this time.
0 commit comments