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:
15
15
contents : read
16
16
jobs :
17
17
build :
18
- runs-on : ' ubuntu-22.04 '
18
+ runs-on : ' ubuntu-latest '
19
19
strategy :
20
20
fail-fast : false
21
21
matrix :
@@ -30,15 +30,18 @@ jobs:
30
30
distribution : " temurin"
31
31
java-version : ${{ matrix.java_version }}
32
32
cache : ' maven'
33
+ server-id : central-snapshots
34
+ server-username : CI_DEPLOY_USERNAME
35
+ server-password : CI_DEPLOY_PASSWORD
33
36
- name : Build
34
37
run : ./mvnw -B -q -ff -ntp verify
35
38
- 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' }}
37
40
run : ./mvnw -B -q -ff -ntp test
38
41
- 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' }}
40
43
uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
41
44
with :
42
45
token : ${{ secrets.CODECOV_TOKEN }}
43
- file : ./target/site/jacoco/jacoco.xml
46
+ files : ./target/site/jacoco/jacoco.xml
44
47
flags : unittests
Original file line number Diff line number Diff line change 14
14
# KIND, either express or implied. See the License for the
15
15
# specific language governing permissions and limitations
16
16
# 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 6
6
<parent >
7
7
<groupId >com.fasterxml</groupId >
8
8
<artifactId >oss-parent</artifactId >
9
- <version >58 </version >
9
+ <version >68 </version >
10
10
</parent >
11
11
<groupId >com.fasterxml.uuid</groupId >
12
12
<artifactId >java-uuid-generator</artifactId >
@@ -199,6 +199,11 @@ https://stackoverflow.com/questions/37958104/maven-javadoc-no-source-files-for-p
199
199
</execution >
200
200
</executions >
201
201
</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 >
202
207
</plugins >
203
208
</build >
204
209
Original file line number Diff line number Diff line change 8
8
9
9
#122: RFC-4122 Obsoleted by RFC-9562 (document change)
10
10
(pointed out by @akefirad)
11
+ - Update to `oss-parent` v68 to switch to Central Portal publishing
11
12
12
13
5.1.0 (02-Jun-2024)
13
14
You can’t perform that action at this time.
0 commit comments