Migrate JAXB to jakarta 89/138989/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Sat, 21 Sep 2024 19:11:50 +0000 (21:11 +0200)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Sat, 21 Sep 2024 19:11:50 +0000 (21:11 +0200)
- change javax.* JAXB packages to jakarta.*
- bump snapshot version to 1.15.0-SNAPSHOT

Issue-ID: AAI-4005
Change-Id: I2a208f717206a2ee8c2acaec8abb0a04fc620123
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
31 files changed:
aai-aaf-auth/pom.xml
aai-aaf-auth/src/main/java/org/onap/aai/aaf/auth/AAIAuthCore.java
aai-annotations/pom.xml
aai-auth/pom.xml
aai-common-docker/aai-common-images/pom.xml
aai-common-docker/aai-haproxy-image/pom.xml
aai-common-docker/pom.xml
aai-core/pom.xml
aai-core/src/main/java/org/onap/aai/introspection/sideeffect/SideEffect.java
aai-core/src/main/java/org/onap/aai/parsers/relationship/RelationshipToURI.java
aai-core/src/main/java/org/onap/aai/rest/db/HttpEntry.java
aai-core/src/main/java/org/onap/aai/serialization/db/EdgeSerializer.java
aai-core/src/main/java/org/onap/aai/serialization/queryformats/Aggregate.java
aai-core/src/main/java/org/onap/aai/serialization/queryformats/Count.java
aai-core/src/main/java/org/onap/aai/serialization/queryformats/Formatter.java
aai-core/src/main/java/org/onap/aai/serialization/queryformats/LifecycleFormat.java
aai-core/src/test/java/org/onap/aai/kafka/AAIKafkaEventIntegrationTest.java
aai-core/src/test/java/org/onap/aai/serialization/queryformats/PathedURLTest.java
aai-els-onap-logging/pom.xml
aai-failover/pom.xml
aai-failover/src/main/java/org/onap/aai/failover/FailoverMonitor.java
aai-parent/pom.xml
aai-rest/pom.xml
aai-schema-abstraction/pom.xml
aai-schema-abstraction/src/test/java/org/onap/aai/schemaif/json/JsonSchemaProviderTest.java
aai-schema-ingest/pom.xml
aai-schema-ingest/src/test/java/org/onap/aai/nodes/NodeIngestorLocalTest.java
aai-schema-ingest/src/test/java/org/onap/aai/nodes/NodeIngestorTest.java
aai-utils/pom.xml
pom.xml
version.properties

index 8be6291..113ca78 100644 (file)
@@ -6,7 +6,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <artifactId>aai-aaf-auth</artifactId>
index 72e2295..a951417 100644 (file)
@@ -30,7 +30,7 @@ import java.io.File;
 import java.io.FileNotFoundException;
 import java.io.UnsupportedEncodingException;
 import java.nio.file.Files;
-import java.nio.file.Paths;
+import java.nio.file.Path;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Base64;
@@ -154,7 +154,7 @@ public final class AAIAuthCore {
 
         try {
             LOGGER.debug("Reading from " + globalAuthFileName);
-            String authFile = new String(Files.readAllBytes(Paths.get(globalAuthFileName)));
+            String authFile = new String(Files.readAllBytes(Path.of(globalAuthFileName)));
 
             JsonObject authObject = JsonParser.parseString(authFile).getAsJsonObject();
             if (authObject.has("roles")) {
index 0a7044f..666da2c 100644 (file)
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <artifactId>aai-annotations</artifactId>
index f3e22bc..4eb17c3 100644 (file)
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <artifactId>aai-auth</artifactId>
index 267fb3d..89715bf 100644 (file)
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-common-docker</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>aai-common-images</artifactId>
-    <version>1.14.7-SNAPSHOT</version>
+    <version>1.15.0-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>aai-aai-common-images</name>
     <description>Contains dockerfiles for aai-common images (alpine and ubuntu based).</description>
index 8b98e47..6916f0c 100644 (file)
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-common-docker</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>aai-haproxy-image</artifactId>
-    <version>1.14.7-SNAPSHOT</version>
+    <version>1.15.0-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>aai-aai-haproxy-image</name>
     <description>Contains dockerfiles for aai-haproxy image.</description>
index c6c629b..97710d2 100644 (file)
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
 
index e53d233..b66e137 100644 (file)
@@ -26,7 +26,7 @@ limitations under the License.
        <parent>
                <groupId>org.onap.aai.aai-common</groupId>
                <artifactId>aai-parent</artifactId>
-               <version>1.14.7-SNAPSHOT</version>
+               <version>1.15.0-SNAPSHOT</version>
                <relativePath>../aai-parent/pom.xml</relativePath>
        </parent>
        <artifactId>aai-core</artifactId>
@@ -213,16 +213,12 @@ limitations under the License.
                        <artifactId>json-simple</artifactId>
                </dependency>
                <dependency>
-                       <groupId>javax.xml.bind</groupId>
-                       <artifactId>jaxb-api</artifactId>
+                       <groupId>jakarta.xml.bind</groupId>
+                       <artifactId>jakarta.xml.bind-api</artifactId>
                </dependency>
                <dependency>
-                       <groupId>com.sun.xml.bind</groupId>
-                       <artifactId>jaxb-impl</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>com.sun.xml.bind</groupId>
-                       <artifactId>jaxb-core</artifactId>
+                       <groupId>org.glassfish.jaxb</groupId>
+                       <artifactId>jaxb-runtime</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.eclipse.persistence</groupId>
@@ -410,7 +406,7 @@ limitations under the License.
                <dependency>
                        <groupId>org.projectlombok</groupId>
                        <artifactId>lombok</artifactId>
-                       <version>1.18.30</version>
+                       <version>1.18.34</version>
                        <scope>provided</scope>
                </dependency>
        </dependencies>
index bec4652..ce802c7 100644 (file)
@@ -136,7 +136,7 @@ public abstract class SideEffect {
     }
 
     private Optional<String> resolveRelativePath(Optional<String> populatedUri) throws UnsupportedEncodingException {
-        if (!populatedUri.isPresent()) {
+        if (populatedUri.isEmpty()) {
             return Optional.empty();
         } else {
             return Optional.of(populatedUri.get().replaceFirst("\\./", this.serializer.getURIForVertex(self) + "/"));
index 95b1517..af9d8aa 100644 (file)
@@ -112,12 +112,12 @@ public class RelationshipToURI {
         try {
             if (loader.getVersion().compareTo(schemaVersions.getRelatedLinkVersion()) >= 0) {
                 result = processRelatedLink(relatedLink);
-                if (!result.isPresent()) {
+                if (result.isEmpty()) {
                     result = processRelationshipData();
                 }
             } else {
                 result = processRelationshipData();
-                if (!result.isPresent()) {
+                if (result.isEmpty()) {
                     result = processRelatedLink(relatedLink);
                 }
             }
index 94dc63a..c4f8439 100644 (file)
@@ -384,7 +384,7 @@ public class HttpEntry {
                                 if (obj != null) {
                                     status = Status.OK;
                                     MarshallerProperties properties;
-                                    if (!request.getMarshallerProperties().isPresent()) {
+                                    if (request.getMarshallerProperties().isEmpty()) {
                                         properties = new MarshallerProperties.Builder(
                                                 org.onap.aai.restcore.MediaType.getEnum(outputMediaType)).build();
                                     } else {
index 0d491c9..ce3891e 100644 (file)
@@ -112,7 +112,7 @@ public class EdgeSerializer {
         if (message.isPresent() && !isBestEffort) {
             throw new EdgeMultiplicityException(message.get());
         }
-        if (!message.isPresent()) {
+        if (message.isEmpty()) {
             if (rule.getDirection().equals(Direction.OUT)) {
                 e = aVertex.addEdge(rule.getLabel(), bVertex);
             } else if (rule.getDirection().equals(Direction.IN)) {
@@ -185,7 +185,7 @@ public class EdgeSerializer {
         if (message.isPresent() && !isBestEffort) {
             throw new EdgeMultiplicityException(message.get());
         }
-        if (!message.isPresent()) {
+        if (message.isEmpty()) {
             if (rule.getDirection().equals(Direction.OUT)) {
                 e = aVertex.addEdge(rule.getLabel(), bVertex);
             } else if (rule.getDirection().equals(Direction.IN)) {
index 71f7bc7..54fc4eb 100644 (file)
@@ -177,7 +177,7 @@ public class Aggregate extends MultiFormatMapper {
             }
 
             return Optional.<JsonObject>empty();
-        }).filter(Optional::isPresent).map(Optional::get).forEach(json -> {
+        }).flatMap(Optional::stream).forEach(json -> {
             if (isParallel) {
                 synchronized (body) {
                     body.add(json);
index 216d021..c736eab 100644 (file)
@@ -44,7 +44,7 @@ public class Count implements FormatMapper {
 
         final JsonObject countResult = new JsonObject();
 
-        list.stream().map(this::getCount).filter(Optional::isPresent).map(Optional::get)
+        list.stream().map(this::getCount).flatMap(Optional::stream)
                 .collect(Collectors.toConcurrentMap(Pair::getValue0, Pair::getValue1, Long::sum))
                 .forEach(countResult::addProperty);
 
index da5d542..10f1edc 100644 (file)
@@ -102,7 +102,7 @@ public class Formatter {
                 }
 
                 return Optional.<JsonObject>empty();
-            }).filter(Optional::isPresent).map(Optional::get).forEach(json -> {
+            }).flatMap(Optional::stream).forEach(json -> {
                 if (isParallel) {
                     synchronized (body) {
                         body.add(json);
index 74742c9..fbe74e2 100644 (file)
@@ -267,7 +267,7 @@ public class LifecycleFormat extends HistoryFormat {
             }
 
             return Optional.<JsonObject>empty();
-        }).filter(Optional::isPresent).map(Optional::get).forEach(json -> {
+        }).flatMap(Optional::stream).forEach(json -> {
             if (isParallel) {
                 synchronized (body) {
                     body.add(json);
index 56a6a85..ce636a5 100644 (file)
@@ -26,7 +26,7 @@ import static org.mockito.Mockito.when;
 import java.io.IOException;
 import java.net.URI;
 import java.nio.file.Files;
-import java.nio.file.Paths;
+import java.nio.file.Path;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
@@ -129,7 +129,7 @@ public class AAIKafkaEventIntegrationTest extends AAISetup {
 
         traversalUriHttpEntry.setHttpEntryProperties(new SchemaVersion("v14"));
         String pserverUri = "/aai/v14/cloud-infrastructure/pservers/pserver/pserver1";
-        String entity = new String(Files.readAllBytes(Paths.get("src/test/resources/payloads/templates/pserver.json"))).replace("${hostname}", "pserver1");
+        String entity = new String(Files.readAllBytes(Path.of("src/test/resources/payloads/templates/pserver.json"))).replace("${hostname}", "pserver1");
         DBRequest dbRequest = createDBRequest(pserverUri, entity);
         List<DBRequest> dbRequests = new ArrayList<>();
         dbRequests.add(dbRequest);
index 6ed4253..cd2c3af 100644 (file)
@@ -127,7 +127,7 @@ public class PathedURLTest extends AAISetup {
         when(urlBuilder.pathed(pserver)).thenReturn("/aai/v14/cloud-infrastructure/pservers/pserver/hostname-1");
         Optional<JsonObject> jsonObjectOptional = pathedURL.getJsonFromVertex(pserver);
 
-        if (!jsonObjectOptional.isPresent()) {
+        if (jsonObjectOptional.isEmpty()) {
             fail("Expecting an json object returned from pathed url but returned none");
         }
 
@@ -150,7 +150,7 @@ public class PathedURLTest extends AAISetup {
         when(urlBuilder.pathed(pserver)).thenReturn("/aai/v14/cloud-infrastructure/pservers/pserver/hostname-1");
         Optional<JsonObject> jsonObjectOptional = pathedURL.getJsonFromVertex(pserver);
 
-        if (!jsonObjectOptional.isPresent()) {
+        if (jsonObjectOptional.isEmpty()) {
             fail("Expecting an json object returned from pathed url but returned none");
         }
 
index bf4c00f..f9eb785 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <artifactId>aai-els-onap-logging</artifactId>
@@ -65,8 +65,8 @@
             <scope>compile</scope>
         </dependency>
         <dependency>
-            <groupId>javax.annotation</groupId>
-            <artifactId>javax.annotation-api</artifactId>
+            <groupId>jakarta.annotation</groupId>
+            <artifactId>jakarta.annotation-api</artifactId>
             <scope>provided</scope>
         </dependency>
         <dependency>
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
-            <version>1.18.30</version>
+            <version>1.18.34</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
index 14c01b3..cc6ad1f 100644 (file)
@@ -5,7 +5,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
index 731abe7..111ac6b 100644 (file)
@@ -24,7 +24,6 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.nio.file.Files;
 import java.nio.file.Path;
-import java.nio.file.Paths;
 import java.util.Properties;
 
 import org.springframework.beans.factory.annotation.Value;
@@ -42,7 +41,7 @@ public class FailoverMonitor {
 
     public boolean shouldRun() throws IOException {
 
-        Path failoverPath = Paths.get(failoverPropertiesPath);
+        Path failoverPath = Path.of(failoverPropertiesPath);
 
         if (Files.exists(failoverPath)) {
             Properties properties = new Properties();
index d9b0c6a..4503349 100644 (file)
@@ -27,7 +27,7 @@ limitations under the License.
   <parent>
     <groupId>org.onap.aai.aai-common</groupId>
     <artifactId>aai-common</artifactId>
-    <version>1.14.7-SNAPSHOT</version>
+    <version>1.15.0-SNAPSHOT</version>
   </parent>
   <artifactId>aai-parent</artifactId>
   <name>aai-parent</name>
@@ -38,6 +38,7 @@ limitations under the License.
   </modules>
 
   <properties>
+    <maven.compiler.release>11</maven.compiler.release>
     <!-- update this just prior to release or figure out something with version.properties -->
     <aai.release.version>${aai.common.version}</aai.release.version>
     <aai.common.logging.version>1.8.0</aai.common.logging.version>
@@ -119,7 +120,7 @@ limitations under the License.
     <!-- we let things pass by default, set custom level for each child project -->
     <jacoco.line.coverage.limit>0.00</jacoco.line.coverage.limit>
 
-    <jacoco.version>0.8.5</jacoco.version>
+    <jacoco.version>0.8.12</jacoco.version>
     <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
     <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
@@ -273,9 +274,9 @@ limitations under the License.
         <scope>provided</scope>
       </dependency>
       <dependency>
-        <groupId>javax.annotation</groupId>
-        <artifactId>javax.annotation-api</artifactId>
-        <version>${javax.annotation.version}</version>
+        <groupId>jakarta.annotation</groupId>
+        <artifactId>jakarta.annotation-api</artifactId>
+        <version>1.3.5</version>
       </dependency>
 
       <dependency>
@@ -386,9 +387,9 @@ limitations under the License.
       </dependency>
 
       <dependency>
-        <groupId>javax.xml.bind</groupId>
-        <artifactId>jaxb-api</artifactId>
-        <version>${jaxb.version}</version>
+        <groupId>jakarta.xml.bind</groupId>
+        <artifactId>jakarta.xml.bind-api</artifactId>
+        <version>2.3.3</version>
       </dependency>
 
       <dependency>
@@ -436,15 +437,9 @@ limitations under the License.
       </dependency>
 
       <dependency>
-        <groupId>com.sun.xml.bind</groupId>
-        <artifactId>jaxb-impl</artifactId>
-        <version>${old.jaxb.version}</version>
-      </dependency>
-
-      <dependency>
-        <groupId>com.sun.xml.bind</groupId>
-        <artifactId>jaxb-core</artifactId>
-        <version>${old.jaxb.version}</version>
+        <groupId>org.glassfish.jaxb</groupId>
+        <artifactId>jaxb-runtime</artifactId>
+        <version>2.3.9</version>
       </dependency>
 
       <dependency>
index a514b11..d650ef0 100644 (file)
@@ -29,7 +29,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <artifactId>aai-rest</artifactId>
index cbf128e..fa33d3e 100644 (file)
@@ -28,7 +28,7 @@
   <parent>
     <groupId>org.onap.aai.aai-common</groupId>
     <artifactId>aai-parent</artifactId>
-    <version>1.14.7-SNAPSHOT</version>
+    <version>1.15.0-SNAPSHOT</version>
     <relativePath>../aai-parent/pom.xml</relativePath>
   </parent>
 
index 9011dfa..a4c7546 100644 (file)
@@ -33,7 +33,7 @@ import java.io.IOException;
 import java.io.PrintWriter;
 import java.io.StringWriter;
 import java.nio.file.Files;
-import java.nio.file.Paths;
+import java.nio.file.Path;
 import java.util.List;
 import java.util.Set;
 import java.util.zip.ZipEntry;
@@ -74,7 +74,7 @@ public class JsonSchemaProviderTest {
         ByteArrayOutputStream fos = new ByteArrayOutputStream();
         ZipOutputStream zos = new ZipOutputStream(fos);
         zos.putNextEntry(new ZipEntry("schemaServiceResponse.json"));
-        byte[] fileData = Files.readAllBytes(Paths.get("src/test/resources/json/schemaServiceResponse.json"));
+        byte[] fileData = Files.readAllBytes(Path.of("src/test/resources/json/schemaServiceResponse.json"));
         zos.write(fileData, 0, fileData.length);
         zos.closeEntry();
         zos.close();
@@ -591,7 +591,7 @@ public class JsonSchemaProviderTest {
     }
 
     static String readFile(String path) throws IOException {
-        byte[] encoded = Files.readAllBytes(Paths.get(path));
+        byte[] encoded = Files.readAllBytes(Path.of(path));
         return new String(encoded);
     }
 }
index 700db49..c429622 100644 (file)
@@ -26,7 +26,7 @@ limitations under the License.
        <parent>
                <groupId>org.onap.aai.aai-common</groupId>
                <artifactId>aai-parent</artifactId>
-               <version>1.14.7-SNAPSHOT</version>
+               <version>1.15.0-SNAPSHOT</version>
                <relativePath>../aai-parent/pom.xml</relativePath>
        </parent>
        <artifactId>aai-schema-ingest</artifactId>
index 6e00eb7..f26e603 100644 (file)
@@ -30,7 +30,7 @@ import java.io.IOException;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.nio.file.Files;
-import java.nio.file.Paths;
+import java.nio.file.Path;
 
 import javax.xml.bind.SchemaOutputResolver;
 import javax.xml.transform.OutputKeys;
@@ -152,7 +152,7 @@ public class NodeIngestorLocalTest {
         ctx13.generateSchema(outputResolver13);
         ByteArrayOutputStream buffer = new ByteArrayOutputStream();
         printDocument(nodeIngestor.getSchema(new SchemaVersion("v13")), buffer);
-        String content = new String(Files.readAllBytes(Paths.get("src/test/resources/forWiringTests/aai_oxm_v13.xml")));
+        String content = new String(Files.readAllBytes(Path.of("src/test/resources/forWiringTests/aai_oxm_v13.xml")));
         content = content.replaceAll("\\s+", "");
         String expected = buffer.toString().replaceAll("\\s+", "");
 
index fff2211..053004b 100644 (file)
@@ -30,7 +30,7 @@ import java.io.IOException;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.nio.file.Files;
-import java.nio.file.Paths;
+import java.nio.file.Path;
 
 import javax.xml.bind.SchemaOutputResolver;
 import javax.xml.transform.OutputKeys;
@@ -145,7 +145,7 @@ public class NodeIngestorTest {
         ctx13.generateSchema(outputResolver13);
         ByteArrayOutputStream buffer = new ByteArrayOutputStream();
         printDocument(nodeIngestor.getSchema(new SchemaVersion("v13")), buffer);
-        String content = new String(Files.readAllBytes(Paths.get("src/test/resources/forWiringTests/aai_oxm_v13.xml")));
+        String content = new String(Files.readAllBytes(Path.of("src/test/resources/forWiringTests/aai_oxm_v13.xml")));
         content = content.replaceAll("\\s+", "");
         String expected = buffer.toString().replaceAll("\\s+", "");
 
index a9d4aeb..d20ab95 100644 (file)
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.onap.aai.aai-common</groupId>
         <artifactId>aai-parent</artifactId>
-        <version>1.14.7-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
         <relativePath>../aai-parent/pom.xml</relativePath>
     </parent>
     <artifactId>aai-utils</artifactId>
@@ -63,8 +63,8 @@
             <artifactId>eclipselink</artifactId>
         </dependency>
         <dependency>
-            <groupId>javax.xml.bind</groupId>
-            <artifactId>jaxb-api</artifactId>
+            <groupId>jakarta.xml.bind</groupId>
+            <artifactId>jakarta.xml.bind-api</artifactId>
         </dependency>
         <!-- Common logging framework -->
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-core</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.glassfish.jaxb</groupId>
+            <artifactId>jaxb-runtime</artifactId>
+            <scope>runtime</scope>
+        </dependency>
         <dependency>
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-core</artifactId>
diff --git a/pom.xml b/pom.xml
index 567cde1..af1b791 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@
 
     <groupId>org.onap.aai.aai-common</groupId>
     <artifactId>aai-common</artifactId>
-    <version>1.14.7-SNAPSHOT</version>
+    <version>1.15.0-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>aai-aai-common</name>
     <description>Contains all of the common code for resources and traversal repos</description>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
                     <configuration>
-                        <source>11</source>
-                        <target>11</target>
+                        <release>11</release>
                     </configuration>
                 </plugin>
                 <plugin>
             <name>AJSC repository</name>
             <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
         </repository>
-        <repository>
-            <id>restlet</id>
-            <name>maven reslet</name>
-            <url>https://maven.restlet.com/</url>
-        </repository>
         <repository>
             <id>ecomp-releases</id>
             <name>ECOMP Release Repository</name>
index e8f490e..039d36d 100644 (file)
@@ -4,8 +4,8 @@
 # because they are used in Jenkins, whose plug-in doesn't support
 
 major_version=1
-minor_version=14
-patch_version=7
+minor_version=15
+patch_version=0
 
 base_version=${major_version}.${minor_version}.${patch_version}