Skip to content

Commit

Permalink
[#354] Modified PDP to build with Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksondelametter committed Sep 27, 2024
1 parent fc77f20 commit 448ec00
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 33 deletions.
4 changes: 4 additions & 0 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@
<version.habushu.plugin>2.16.1</version.habushu.plugin>
<version.python>3.11.4</version.python>
<version.help.plugin>3.5.0</version.help.plugin>
<<<<<<< HEAD
<version.krausening>19</version.krausening>
=======
<version.krausening>20</version.krausening>
>>>>>>> feature-java17
<version.plexus.archiver>3.6.0</version.plexus.archiver>
<version.plugin.plugin>3.9.0</version.plugin.plugin>
<version.quarkus>3.6.9</version.quarkus>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Script for creating base Quarkus application Docker image
FROM registry.access.redhat.com/ubi9/openjdk-11-runtime:1.20
FROM registry.access.redhat.com/ubi9/openjdk-17-runtime:1.20

LABEL org.opencontainers.image.source="https://github.com/boozallen/aissemble"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<build>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.13.2</version>
<groupId>org.jvnet.jaxb</groupId>
<artifactId>jaxb-maven-plugin</artifactId>
<version>4.0.0</version>
<configuration>
<debug>false</debug>
<strict>false</strict>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
<jaxb:bindings xmlns:jaxb="https://jakarta.ee/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1">
jaxb:extensionBindingPrefixes="xjc" jaxb:version="3.0">
<jaxb:globalBindings generateMixedExtensions="true" fixedAttributeAsConstantProperty="true">
<xjc:simple />
</jaxb:globalBindings>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<!-- For Maven JAXB plugin -->
<system systemId="http://www.w3.org/2001/xml.xsd"
uri="maven:org.ow2.authzforce:authzforce-ce-xmlns-model:jar::7.2.0!/xml.xsd" />
uri="maven:org.ow2.authzforce:authzforce-ce-xmlns-model:jar::9.1.0!/xml.xsd" />
<public publicId="http://authzforce.github.io/xmlns/pdp/ext/3"
uri="maven:org.ow2.authzforce:authzforce-ce-pdp-ext-model:jar::7.2.0!/pdp-ext-base.xsd" />
uri="maven:org.ow2.authzforce:authzforce-ce-pdp-ext-model:jar::9.1.0!/pdp-ext-base.xsd" />
<public
publicId="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17"
uri="maven:org.ow2.authzforce:authzforce-ce-xacml-model:jar::7.2.0!/xacml-core-v3-schema-wd-17.xsd" />
uri="maven:org.ow2.authzforce:authzforce-ce-xacml-model:jar::9.1.0!/xacml-core-v3-schema-wd-17.xsd" />

</catalog>
21 changes: 0 additions & 21 deletions extensions/extensions-security/extensions-authzforce/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,27 +90,6 @@
<artifactId>slf4j-api</artifactId>
<version>${version.slf4j}</version>
</dependency>

<!-- TODO: Remove on upgrade to Java 17/authzforce-ce-core-pdp-engine 21.0.1 -->
<!-- We were previously using the javax JAXB packages, but they've been phased out/migrated to Jakarta in newer
versions of our libraries. Unfortunately, the version of authzforce that switches to Jakarta is not compatible
with Java 11 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>

<!-- TEST dependencies -->
<dependency>
<groupId>io.cucumber</groupId>
Expand Down
6 changes: 3 additions & 3 deletions extensions/extensions-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<description>Contains the implementation modules used for security</description>

<properties>
<version.authzforce>20.1.0</version.authzforce>
<version.authzforce.api>21.2.0</version.authzforce.api>
<version.authzforce.model>8.2.1</version.authzforce.model>
<version.authzforce>21.0.1</version.authzforce>
<version.authzforce.api>22.0.0</version.authzforce.api>
<version.authzforce.model>9.0.0</version.authzforce.model>
</properties>

<modules>
Expand Down

0 comments on commit 448ec00

Please sign in to comment.