From afaa34b3737eb73496edc928b67bffabcac3e128 Mon Sep 17 00:00:00 2001 From: Tristan <135599584+Tristan-WorkGH@users.noreply.github.com> Date: Sun, 16 Jul 2023 14:14:37 +0200 Subject: [PATCH] Update parent 12 (#111) * Use new shared lombok configuration * Remove EqualsVerifier Signed-off-by: Tristan Chuine --- .mvn/lombok-config-copy.marker | 0 lombok.config | 1 + pom.xml | 20 ++++++++----------- .../server/EquipmentInfosServiceTests.java | 4 ---- 4 files changed, 9 insertions(+), 16 deletions(-) create mode 100644 .mvn/lombok-config-copy.marker create mode 100644 lombok.config diff --git a/.mvn/lombok-config-copy.marker b/.mvn/lombok-config-copy.marker new file mode 100644 index 0000000..e69de29 diff --git a/lombok.config b/lombok.config new file mode 100644 index 0000000..4fa8250 --- /dev/null +++ b/lombok.config @@ -0,0 +1 @@ +import target/configs/powsybl-build-tools.jar!powsybl-build-tools/lombok.config diff --git a/pom.xml b/pom.xml index a78bf82..fd9c4a6 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.powsybl powsybl-parent-ws - 11 + 12 powsybl-network-conversion-server @@ -25,7 +25,6 @@ UTF-8 0.0.2 - 3.7.1 2.3.0 1.16.2 @@ -81,11 +80,6 @@ log4j2-mock ${log4j2-mock-version} - - nl.jqno.equalsverifier - equalsverifier - ${equalsverifier-version} - org.testcontainers elasticsearch @@ -96,6 +90,13 @@ + + + org.projectlombok + lombok + provided + + com.google.guava @@ -234,11 +235,6 @@ log4j2-mock test - - nl.jqno.equalsverifier - equalsverifier - test - org.springframework.cloud spring-cloud-stream diff --git a/src/test/java/com/powsybl/network/conversion/server/EquipmentInfosServiceTests.java b/src/test/java/com/powsybl/network/conversion/server/EquipmentInfosServiceTests.java index 3984a28..07fd12b 100644 --- a/src/test/java/com/powsybl/network/conversion/server/EquipmentInfosServiceTests.java +++ b/src/test/java/com/powsybl/network/conversion/server/EquipmentInfosServiceTests.java @@ -19,7 +19,6 @@ import com.powsybl.network.conversion.server.elasticsearch.EquipmentInfosService; import com.powsybl.network.store.iidm.impl.NetworkFactoryImpl; import com.powsybl.network.store.iidm.impl.NetworkImpl; -import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @@ -54,9 +53,6 @@ public void setup() { @Test public void testAddDeleteEquipmentInfos() { - EqualsVerifier.simple().forClass(EquipmentInfos.class).verify(); - EqualsVerifier.simple().forClass(VoltageLevelInfos.class).verify(); - List infos = List.of( EquipmentInfos.builder().networkUuid(NETWORK_UUID).id("id1").name("name1").type(IdentifiableType.LOAD.name()).voltageLevels(Set.of(VoltageLevelInfos.builder().id("vl1").name("vl1").build())).build(), EquipmentInfos.builder().networkUuid(NETWORK_UUID).id("id2").name("name2").type(IdentifiableType.LOAD.name()).voltageLevels(Set.of(VoltageLevelInfos.builder().id("vl2").name("vl2").build())).build()