Skip to content

Commit 31005c6

Browse files
authored
Merge pull request #24 from semantic-release-java/develop
Develop
2 parents 4c2ce41 + be39c27 commit 31005c6

4 files changed

Lines changed: 32 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
1010
strategy:
1111
matrix:
12-
java: [ "8", "11" ] # 16?
12+
java: [ "17", "21" ] # "25"
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v6
1515

1616
- name: Set up JDK ${{ matrix.java }}
17-
uses: actions/setup-java@v2
17+
uses: actions/setup-java@v5
1818
with:
1919
java-version: ${{ matrix.java }}
2020
distribution: "adopt"
2121

2222
- name: Cache local Maven repository
23-
uses: actions/cache@v2
23+
uses: actions/cache@v5
2424
with:
2525
path: ~/.m2/repository
2626
key: ${{ runner.os }}-maven-build-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Set up JDK 16
19-
uses: actions/setup-java@v2
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v5
2020
with:
21-
java-version: 11
21+
java-version: 17
2222
distribution: "adopt"
2323
server-id: ossrh
2424
server-username: OSSRH_USERNAME
@@ -27,7 +27,7 @@ jobs:
2727
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2828

2929
- name: Cache local Maven repository
30-
uses: actions/cache@v2
30+
uses: actions/cache@v5
3131
with:
3232
path: ~/.m2/repository
3333
key: ${{ runner.os }}-maven-build-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}

.mvn/extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
<extension>
2121
<groupId>gg.nils</groupId>
2222
<artifactId>semantic-release-maven-plugin</artifactId>
23-
<version>1.1.4</version>
23+
<version>1.1.10</version>
2424
</extension>
2525
</extensions>

pom.xml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,33 +65,32 @@
6565
<dependency>
6666
<groupId>org.projectlombok</groupId>
6767
<artifactId>lombok</artifactId>
68-
<version>1.18.22</version>
68+
<version>1.18.42</version>
6969
<scope>compile</scope>
7070
</dependency>
7171

7272
<dependency>
7373
<groupId>org.eclipse.jgit</groupId>
7474
<artifactId>org.eclipse.jgit</artifactId>
75-
<version>5.12.0.202106070339-r</version>
75+
<version>7.5.0.202512021534-r</version>
7676
</dependency>
7777

7878
<dependency>
7979
<groupId>org.eclipse.jgit</groupId>
8080
<artifactId>org.eclipse.jgit.ssh.jsch</artifactId>
81-
<version>5.12.0.202106070339-r</version>
81+
<version>7.5.0.202512021534-r</version>
8282
</dependency>
8383

8484
<dependency>
8585
<groupId>org.junit.jupiter</groupId>
8686
<artifactId>junit-jupiter</artifactId>
87-
<version>5.8.2</version>
87+
<version>6.0.2</version>
8888
<scope>test</scope>
8989
</dependency>
9090
</dependencies>
9191

9292
<properties>
93-
<maven.compiler.source>8</maven.compiler.source>
94-
<maven.compiler.target>8</maven.compiler.target>
93+
<maven.compiler.release>17</maven.compiler.release>
9594
</properties>
9695

9796
<profiles>
@@ -102,7 +101,7 @@
102101
<plugin>
103102
<groupId>org.apache.maven.plugins</groupId>
104103
<artifactId>maven-source-plugin</artifactId>
105-
<version>3.2.1</version>
104+
<version>3.4.0</version>
106105
<executions>
107106
<execution>
108107
<id>attach-sources</id>
@@ -115,7 +114,7 @@
115114
<plugin>
116115
<groupId>org.apache.maven.plugins</groupId>
117116
<artifactId>maven-javadoc-plugin</artifactId>
118-
<version>3.3.0</version>
117+
<version>3.12.0</version>
119118
<executions>
120119
<execution>
121120
<id>attach-javadocs</id>
@@ -128,7 +127,7 @@
128127
<plugin>
129128
<groupId>org.apache.maven.plugins</groupId>
130129
<artifactId>maven-gpg-plugin</artifactId>
131-
<version>3.0.1</version>
130+
<version>3.2.8</version>
132131
<executions>
133132
<execution>
134133
<id>sign-artifacts</id>
@@ -145,8 +144,21 @@
145144
</execution>
146145
</executions>
147146
</plugin>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-compiler-plugin</artifactId>
150+
<configuration>
151+
<annotationProcessorPaths>
152+
<path>
153+
<groupId>org.projectlombok</groupId>
154+
<artifactId>lombok</artifactId>
155+
<version>1.18.42</version>
156+
</path>
157+
</annotationProcessorPaths>
158+
</configuration>
159+
</plugin>
148160
</plugins>
149161
</build>
150162
</profile>
151163
</profiles>
152-
</project>
164+
</project>

0 commit comments

Comments
 (0)