From e0770502bf3f9a71d0bd035aed7ec94e96caad0a Mon Sep 17 00:00:00 2001 From: Dhrubajyoti Sadhu Date: Thu, 4 Apr 2024 00:33:36 +0100 Subject: [PATCH] feat: Updated the java version to 11 --- pom.xml | 17 +++++++++++------ waggle-dance-core/pom.xml | 1 + .../manifest/ManifestAttributes.java | 4 ++-- .../waggledance/server/FederatedHMSHandler.java | 2 +- .../manifest/ManifestAttributesTest.java | 4 ++-- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 5bf15c14b..bfdbbb025 100644 --- a/pom.xml +++ b/pom.xml @@ -34,16 +34,17 @@ - 2.5.3 - 3.1.2 + 11 + 3.0.1 + 3.2.5 2.7.11 2.10.1 2.2 2.3.7 4.13.1 3.5.15 - 1.9 - 1.8.9 + 1.14.0 + 1.9.2 4.0.0 23.0 4.0 @@ -53,6 +54,9 @@ 2.9.10.8 2.13.0 2.9.9 + 3.8.1 + ${jdk.version} + ${jdk.version} @@ -335,7 +339,7 @@ + on the below, need to wait for https://github.com/mojohaus/aspectj-maven-plugin/pull/45 --> org.codehaus.mojo aspectj-maven-plugin ${aspectj-maven-plugin.version} @@ -374,7 +378,7 @@ + only. It has no influence on the Maven build itself. --> org.eclipse.m2e lifecycle-mapping @@ -414,4 +418,5 @@ + diff --git a/waggle-dance-core/pom.xml b/waggle-dance-core/pom.xml index 3e51ad06e..cc1b855bf 100644 --- a/waggle-dance-core/pom.xml +++ b/waggle-dance-core/pom.xml @@ -1,6 +1,7 @@ 4.0.0 + com.hotels waggle-dance-parent diff --git a/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/manifest/ManifestAttributes.java b/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/manifest/ManifestAttributes.java index bc8d98c9a..6e3688542 100644 --- a/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/manifest/ManifestAttributes.java +++ b/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/manifest/ManifestAttributes.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2016-2019 Expedia, Inc. + * Copyright (C) 2016-2024 Expedia, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ *

*/ public class ManifestAttributes { - private static final Logger LOG = LoggerFactory.getLogger(ManifestAttributes.class); + private static Logger LOG = LoggerFactory.getLogger(ManifestAttributes.class); static final String META_INF_MANIFEST_MF = "META-INF/MANIFEST.MF"; private static final String JAR_PROTOCOL = "jar:"; diff --git a/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/server/FederatedHMSHandler.java b/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/server/FederatedHMSHandler.java index 46acabacd..c200dc54c 100644 --- a/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/server/FederatedHMSHandler.java +++ b/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/server/FederatedHMSHandler.java @@ -44,7 +44,7 @@ @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE) class FederatedHMSHandler extends FacebookBase implements CloseableIHMSHandler { - private static final Logger LOG = LoggerFactory.getLogger(FederatedHMSHandler.class); + private static Logger LOG = LoggerFactory.getLogger(FederatedHMSHandler.class); private static final String INVOCATION_LOG_NAME = "com.hotels.bdp.waggledance.server.invocation-log"; private final MappingEventListener databaseMappingService; diff --git a/waggle-dance-core/src/test/java/com/hotels/bdp/waggledance/manifest/ManifestAttributesTest.java b/waggle-dance-core/src/test/java/com/hotels/bdp/waggledance/manifest/ManifestAttributesTest.java index 54998fdb3..9df8b4540 100644 --- a/waggle-dance-core/src/test/java/com/hotels/bdp/waggledance/manifest/ManifestAttributesTest.java +++ b/waggle-dance-core/src/test/java/com/hotels/bdp/waggledance/manifest/ManifestAttributesTest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2016-2020 Expedia, Inc. + * Copyright (C) 2016-2024 Expedia, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ @RunWith(PowerMockRunner.class) @PrepareForTest({ ManifestAttributes.class }) -@PowerMockIgnore("javax.management.*") +@PowerMockIgnore({"javax.management.*", "com.sun.org.apache.xerces.*", "javax.xml.*", "org.xml.*", "org.w3c.*"}) public class ManifestAttributesTest { private @Rule ClassDataFolder dataFolder = new ClassDataFolder();