diff --git a/.github/workflows/build-project.yml b/.github/workflows/build-project.yml index 34b8858..1bdae63 100644 --- a/.github/workflows/build-project.yml +++ b/.github/workflows/build-project.yml @@ -15,12 +15,12 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 1.11 - uses: actions/setup-java@v2.3.0 + uses: actions/setup-java@v2.3.1 with: distribution: 'zulu' java-version: '11' - name: Create custom Maven Settings.xml - uses: whelk-io/maven-settings-xml-action@v18 + uses: whelk-io/maven-settings-xml-action@v20 with: output_file: custom_maven_settings.xml servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' diff --git a/.github/workflows/release-project.yml b/.github/workflows/release-project.yml index bac04a9..bab7b66 100644 --- a/.github/workflows/release-project.yml +++ b/.github/workflows/release-project.yml @@ -22,12 +22,12 @@ jobs: # Extra the tagname form the git reference, value of GITHUB_REF will be something like refs/tags/. run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})" - name: Set up JDK 1.11 - uses: actions/setup-java@v2.3.0 + uses: actions/setup-java@v2.3.1 with: distribution: 'zulu' java-version: '11' - name: Create custom Maven Settings.xml - uses: whelk-io/maven-settings-xml-action@v18 + uses: whelk-io/maven-settings-xml-action@v20 with: output_file: custom_maven_settings.xml servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.yml index 3e8cb31..f56affe 100644 --- a/.github/workflows/sonarcloud-analysis.yml +++ b/.github/workflows/sonarcloud-analysis.yml @@ -15,7 +15,7 @@ jobs: with: fetch-depth: 0 - name: Set up JDK 1.11 - uses: actions/setup-java@v2.3.0 + uses: actions/setup-java@v2.3.1 with: distribution: 'zulu' java-version: '11' @@ -32,7 +32,7 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Create custom Maven Settings.xml - uses: whelk-io/maven-settings-xml-action@v18 + uses: whelk-io/maven-settings-xml-action@v20 with: output_file: custom_maven_settings.xml servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' diff --git a/rest-commons/pom.xml b/jaxrs-commons/pom.xml similarity index 90% rename from rest-commons/pom.xml rename to jaxrs-commons/pom.xml index 0807a64..c4bc9c5 100644 --- a/rest-commons/pom.xml +++ b/jaxrs-commons/pom.xml @@ -14,7 +14,7 @@ SPDX-License-Identifier: Apache-2.0 local-SNAPSHOT - rest-commons + jaxrs-commons jar @@ -74,13 +74,4 @@ SPDX-License-Identifier: Apache-2.0 test - - - - - org.jboss.jandex - jandex-maven-plugin - - - diff --git a/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/JaxrsConstants.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/JaxrsConstants.java new file mode 100644 index 0000000..5a39b16 --- /dev/null +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/JaxrsConstants.java @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: 2021 Alliander N.V. +// +// SPDX-License-Identifier: Apache-2.0 +package org.lfenergy.compas.core.jaxrs; + +public class JaxrsConstants { + JaxrsConstants() { + throw new UnsupportedOperationException("JaxrsConstants class"); + } + + public static final String COMPAS_COMMONS_V1_NS_URI = "https://www.lfenergy.org/compas/commons/v1"; +} diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/CompasExceptionHandler.java similarity index 88% rename from rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java rename to jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/CompasExceptionHandler.java index bbe87ba..08581fb 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandler.java +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/CompasExceptionHandler.java @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.exception; +package org.lfenergy.compas.core.jaxrs.exception; import org.lfenergy.compas.core.commons.exception.CompasException; -import org.lfenergy.compas.core.rest.model.ErrorResponse; +import org.lfenergy.compas.core.jaxrs.model.ErrorResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/ConstraintViolationExceptionHandler.java similarity index 91% rename from rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java rename to jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/ConstraintViolationExceptionHandler.java index 6499712..53b9d52 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandler.java +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/ConstraintViolationExceptionHandler.java @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.exception; +package org.lfenergy.compas.core.jaxrs.exception; -import org.lfenergy.compas.core.rest.model.ErrorResponse; +import org.lfenergy.compas.core.jaxrs.model.ErrorResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/GenericExceptionHandler.java similarity index 89% rename from rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java rename to jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/GenericExceptionHandler.java index 47eef3d..ed2367e 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandler.java +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/exception/GenericExceptionHandler.java @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.exception; +package org.lfenergy.compas.core.jaxrs.exception; -import org.lfenergy.compas.core.rest.model.ErrorResponse; +import org.lfenergy.compas.core.jaxrs.model.ErrorResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/ErrorMessage.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/ErrorMessage.java similarity index 75% rename from rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/ErrorMessage.java rename to jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/ErrorMessage.java index 1ddc577..c23a0ed 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/ErrorMessage.java +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/ErrorMessage.java @@ -1,21 +1,21 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.model; +package org.lfenergy.compas.core.jaxrs.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; -import static org.lfenergy.compas.core.rest.RestConstants.COMPAS_REST_V1_NS_URI; +import static org.lfenergy.compas.core.jaxrs.JaxrsConstants.COMPAS_COMMONS_V1_NS_URI; @XmlAccessorType(XmlAccessType.FIELD) public class ErrorMessage { - @XmlElement(name = "Code", namespace = COMPAS_REST_V1_NS_URI, required = true) + @XmlElement(name = "Code", namespace = COMPAS_COMMONS_V1_NS_URI, required = true) private String code; - @XmlElement(name = "Message", namespace = COMPAS_REST_V1_NS_URI, required = true) + @XmlElement(name = "Message", namespace = COMPAS_COMMONS_V1_NS_URI, required = true) private String message; - @XmlElement(name = "Property", namespace = COMPAS_REST_V1_NS_URI, required = true) + @XmlElement(name = "Property", namespace = COMPAS_COMMONS_V1_NS_URI, required = true) private String property; public ErrorMessage() { diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/ErrorResponse.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/ErrorResponse.java similarity index 76% rename from rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/ErrorResponse.java rename to jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/ErrorResponse.java index 6194c22..8220666 100644 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/ErrorResponse.java +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/ErrorResponse.java @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.model; +package org.lfenergy.compas.core.jaxrs.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -10,12 +10,12 @@ import java.util.ArrayList; import java.util.List; -import static org.lfenergy.compas.core.rest.RestConstants.COMPAS_REST_V1_NS_URI; +import static org.lfenergy.compas.core.jaxrs.JaxrsConstants.COMPAS_COMMONS_V1_NS_URI; -@XmlRootElement(name = "ErrorResponse", namespace = COMPAS_REST_V1_NS_URI) +@XmlRootElement(name = "ErrorResponse", namespace = COMPAS_COMMONS_V1_NS_URI) @XmlAccessorType(XmlAccessType.FIELD) public class ErrorResponse { - @XmlElement(name = "ErrorMessage", namespace = COMPAS_REST_V1_NS_URI, required = true) + @XmlElement(name = "ErrorMessage", namespace = COMPAS_COMMONS_V1_NS_URI, required = true) private List errorMessages = new ArrayList<>(); public void setErrorMessages(List errorMessages) { diff --git a/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/package-info.java b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/package-info.java new file mode 100644 index 0000000..03344b7 --- /dev/null +++ b/jaxrs-commons/src/main/java/org/lfenergy/compas/core/jaxrs/model/package-info.java @@ -0,0 +1,10 @@ +// SPDX-FileCopyrightText: 2021 Alliander N.V. +// +// SPDX-License-Identifier: Apache-2.0 +@XmlSchema(xmlns = {@XmlNs(prefix = "compas-commons", namespaceURI = COMPAS_COMMONS_V1_NS_URI)}) +package org.lfenergy.compas.core.jaxrs.model; + +import javax.xml.bind.annotation.XmlNs; +import javax.xml.bind.annotation.XmlSchema; + +import static org.lfenergy.compas.core.jaxrs.JaxrsConstants.COMPAS_COMMONS_V1_NS_URI; diff --git a/jaxrs-commons/src/main/resources/META-INF/beans.xml b/jaxrs-commons/src/main/resources/META-INF/beans.xml new file mode 100644 index 0000000..93bd9da --- /dev/null +++ b/jaxrs-commons/src/main/resources/META-INF/beans.xml @@ -0,0 +1,11 @@ + + + + diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/RestConstantsTest.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/JaxrsConstantsTest.java similarity index 66% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/RestConstantsTest.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/JaxrsConstantsTest.java index e31ca3e..a9b835d 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/RestConstantsTest.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/JaxrsConstantsTest.java @@ -1,15 +1,15 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest; +package org.lfenergy.compas.core.jaxrs; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertThrows; -class RestConstantsTest { +class JaxrsConstantsTest { @Test void constructor_WhenConstructorCalled_ThenShouldThrowExceptionCauseForbidden() { - assertThrows(UnsupportedOperationException.class, RestConstants::new); + assertThrows(UnsupportedOperationException.class, JaxrsConstants::new); } } \ No newline at end of file diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/CompasExceptionHandlerTest.java similarity index 91% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/CompasExceptionHandlerTest.java index 9932439..d611db3 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/CompasExceptionHandlerTest.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/CompasExceptionHandlerTest.java @@ -1,11 +1,11 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.exception; +package org.lfenergy.compas.core.jaxrs.exception; import org.junit.jupiter.api.Test; import org.lfenergy.compas.core.commons.exception.CompasException; -import org.lfenergy.compas.core.rest.model.ErrorResponse; +import org.lfenergy.compas.core.jaxrs.model.ErrorResponse; import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/ConstraintViolationExceptionHandlerTest.java similarity index 96% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/ConstraintViolationExceptionHandlerTest.java index e1e93a3..f589375 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/ConstraintViolationExceptionHandlerTest.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/ConstraintViolationExceptionHandlerTest.java @@ -1,11 +1,11 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.exception; +package org.lfenergy.compas.core.jaxrs.exception; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.lfenergy.compas.core.rest.model.ErrorResponse; +import org.lfenergy.compas.core.jaxrs.model.ErrorResponse; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/GenericExceptionHandlerTest.java similarity index 84% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/GenericExceptionHandlerTest.java index a15c8de..78ac52d 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/exception/GenericExceptionHandlerTest.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/exception/GenericExceptionHandlerTest.java @@ -1,16 +1,16 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.exception; +package org.lfenergy.compas.core.jaxrs.exception; import org.junit.jupiter.api.Test; -import org.lfenergy.compas.core.rest.model.ErrorResponse; +import org.lfenergy.compas.core.jaxrs.model.ErrorResponse; import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.lfenergy.compas.core.commons.exception.CompasErrorCode.UNKNOWN_EXCEPTION_ERROR; -import static org.lfenergy.compas.core.rest.exception.GenericExceptionHandler.ERROR_MESSAGE; +import static org.lfenergy.compas.core.jaxrs.exception.GenericExceptionHandler.ERROR_MESSAGE; class GenericExceptionHandlerTest { @Test diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/AbstractPojoTester.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/AbstractPojoTester.java similarity index 96% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/AbstractPojoTester.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/AbstractPojoTester.java index 9b85356..70db967 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/AbstractPojoTester.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/AbstractPojoTester.java @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.model; +package org.lfenergy.compas.core.jaxrs.model; import com.openpojo.reflection.impl.PojoClassFactory; import com.openpojo.validation.ValidatorBuilder; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/ErrorMessageTest.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/ErrorMessageTest.java similarity index 96% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/ErrorMessageTest.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/ErrorMessageTest.java index 565c3ec..0e6f318 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/ErrorMessageTest.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/ErrorMessageTest.java @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.model; +package org.lfenergy.compas.core.jaxrs.model; import org.junit.jupiter.api.Test; diff --git a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/ErrorResponseTest.java b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/ErrorResponseTest.java similarity index 97% rename from rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/ErrorResponseTest.java rename to jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/ErrorResponseTest.java index d0157d9..4c2b3d3 100644 --- a/rest-commons/src/test/java/org/lfenergy/compas/core/rest/model/ErrorResponseTest.java +++ b/jaxrs-commons/src/test/java/org/lfenergy/compas/core/jaxrs/model/ErrorResponseTest.java @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2021 Alliander N.V. // // SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest.model; +package org.lfenergy.compas.core.jaxrs.model; import org.junit.jupiter.api.Test; diff --git a/pom.xml b/pom.xml index e4819c1..90bd401 100644 --- a/pom.xml +++ b/pom.xml @@ -21,9 +21,9 @@ SPDX-License-Identifier: Apache-2.0 0.0.4 1.7.32 - 2.12.5 + 2.13.0 2.3.3 - 5.7.2 + 5.8.1 3.12.4 0.9.1 @@ -46,7 +46,7 @@ SPDX-License-Identifier: Apache-2.0 commons - rest-commons + jaxrs-commons scl-extension scl2003 scl2007b @@ -119,7 +119,7 @@ SPDX-License-Identifier: Apache-2.0 org.jboss.resteasy resteasy-core - 4.7.1.Final + 4.7.2.Final test @@ -214,20 +214,6 @@ SPDX-License-Identifier: Apache-2.0 maven-jar-plugin 3.2.0 - - - org.jboss.jandex - jandex-maven-plugin - 1.1.1 - - - make-index - - jandex - - - - diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/RestConstants.java b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/RestConstants.java deleted file mode 100644 index 79ea714..0000000 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/RestConstants.java +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Alliander N.V. -// -// SPDX-License-Identifier: Apache-2.0 -package org.lfenergy.compas.core.rest; - -public class RestConstants { - RestConstants() { - throw new UnsupportedOperationException("RestConstants class"); - } - - public static final String COMPAS_REST_V1_NS_URI = "https://www.lfenergy.org/compas/rest/v1"; -} diff --git a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/package-info.java b/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/package-info.java deleted file mode 100644 index 8751e2e..0000000 --- a/rest-commons/src/main/java/org/lfenergy/compas/core/rest/model/package-info.java +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Alliander N.V. -// -// SPDX-License-Identifier: Apache-2.0 -@XmlSchema(xmlns = {@XmlNs(prefix = "rest-commons", namespaceURI = COMPAS_REST_V1_NS_URI)}) -package org.lfenergy.compas.core.rest.model; - -import javax.xml.bind.annotation.XmlNs; -import javax.xml.bind.annotation.XmlSchema; - -import static org.lfenergy.compas.core.rest.RestConstants.COMPAS_REST_V1_NS_URI;