Skip to content

Commit 0defccb

Browse files
authored
Merge pull request #37 from killbill/copilot/migrate-killbill-plugin-api-jdk-21
java2x: migrate killbill-plugin-api to jakarta baseline
2 parents b4ee26d + c12e717 commit 0defccb

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
</issueManagement>
5454
<properties>
5555
<check.fail-spotbugs>true</check.fail-spotbugs>
56+
<!-- killbill-oss-parent still brings extra-enforcer-rules 1.6.1, which rejects Java 21 as
57+
an unknown target. Keep this local override until the parent is updated. -->
58+
<extra-enforcer-rules.version>1.12.0</extra-enforcer-rules.version>
59+
<!-- Align with killbill-commons 0.27.0 jakarta baseline -->
60+
<killbill-commons.version>0.27.0</killbill-commons.version>
61+
<project.build.targetJdk>21</project.build.targetJdk>
5662
<!-- killbill-oss-parent still brings SpotBugs 4.7.2.1, whose ASM stack cannot parse
5763
Java 21 class files. Keep this local override until the parent moves to a
5864
Java-21-capable SpotBugs line. -->
@@ -65,6 +71,17 @@
6571
<artifactId>spotbugs-maven-plugin</artifactId>
6672
<version>${spotbugs-maven-plugin.version}</version>
6773
</plugin>
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-enforcer-plugin</artifactId>
77+
<dependencies>
78+
<dependency>
79+
<groupId>org.codehaus.mojo</groupId>
80+
<artifactId>extra-enforcer-rules</artifactId>
81+
<version>${extra-enforcer-rules.version}</version>
82+
</dependency>
83+
</dependencies>
84+
</plugin>
6885
</plugins>
6986
</build>
7087
</project>

0 commit comments

Comments
 (0)