From d59e19051f594db5bcda68dd1be84b39d63d87b5 Mon Sep 17 00:00:00 2001 From: Anshul BANSAL Date: Sat, 18 Jan 2020 20:40:00 +0200 Subject: [PATCH] code indent in pom.xml with spaces --- open-liberty/pom.xml | 238 +++++++++--------- .../openliberty/person/model/Person.java | 3 - 2 files changed, 119 insertions(+), 122 deletions(-) diff --git a/open-liberty/pom.xml b/open-liberty/pom.xml index b01811ff77..d6588ce49a 100644 --- a/open-liberty/pom.xml +++ b/open-liberty/pom.xml @@ -1,130 +1,130 @@ - 4.0.0 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.baeldung - open-liberty - 1.0-SNAPSHOT - war + com.baeldung + open-liberty + 1.0-SNAPSHOT + war - - - jakarta.platform - jakarta.jakartaee-web-api - ${version.jakarta.jakartaee-web-api} - provided - - - org.eclipse.microprofile - microprofile - ${version.microprofile} - pom - provided - - - org.apache.derby - derby - ${version.derby} - + + + jakarta.platform + jakarta.jakartaee-web-api + ${version.jakarta.jakartaee-web-api} + provided + + + org.eclipse.microprofile + microprofile + ${version.microprofile} + pom + provided + + + org.apache.derby + derby + ${version.derby} + - - - junit - junit - ${version.junit} - test - - - org.eclipse - yasson - ${version.yasson} - test - - - org.apache.cxf - cxf-rt-rs-client - ${version.cxf-rt-rs-client} - test - - - org.glassfish - javax.json - ${version.javax.json} - test - - - org.apache.cxf - cxf-rt-rs-mp-client - ${version.cxf-rt-rs-mp-client} - test - - + + + junit + junit + ${version.junit} + test + + + org.eclipse + yasson + ${version.yasson} + test + + + org.apache.cxf + cxf-rt-rs-client + ${version.cxf-rt-rs-client} + test + + + org.glassfish + javax.json + ${version.javax.json} + test + + + org.apache.cxf + cxf-rt-rs-mp-client + ${version.cxf-rt-rs-mp-client} + test + + - - ${project.artifactId} - - - - io.openliberty.tools - liberty-maven-plugin - ${version.liberty-maven-plugin} - - - org.apache.maven.plugins - maven-dependency-plugin - ${version.maven-dependency-plugin} - - - copy-derby-dependency - package - - copy-dependencies - - - derby - ${project.build.directory}/liberty/wlp/usr/shared/resources/ - - ${testServerHttpPort} - - - - - - - org.apache.maven.plugins - maven-war-plugin - ${version.maven-war-plugin} - + + ${project.artifactId} + + + + io.openliberty.tools + liberty-maven-plugin + ${version.liberty-maven-plugin} + + + org.apache.maven.plugins + maven-dependency-plugin + ${version.maven-dependency-plugin} + + + copy-derby-dependency + package + + copy-dependencies + + + derby + ${project.build.directory}/liberty/wlp/usr/shared/resources/ + + ${testServerHttpPort} + + + + + + + org.apache.maven.plugins + maven-war-plugin + ${version.maven-war-plugin} + - - + + - - 1.8 - 1.8 - UTF-8 - UTF-8 - false + + 1.8 + 1.8 + UTF-8 + UTF-8 + false - - 8.0.0 - 3.2 - 10.14.2.0 - 3.1 - 2.10 - 3.2.3 - 4.12 - 1.0.5 - 3.2.6 - 1.0.4 - 3.3.1 + + 8.0.0 + 3.2 + 10.14.2.0 + 3.1 + 2.10 + 3.2.3 + 4.12 + 1.0.5 + 3.2.6 + 1.0.4 + 3.3.1 - - openliberty - 9080 - 9443 - 7070 - + + openliberty + 9080 + 9443 + 7070 + \ No newline at end of file diff --git a/open-liberty/src/main/java/com/baeldung/openliberty/person/model/Person.java b/open-liberty/src/main/java/com/baeldung/openliberty/person/model/Person.java index e506fd005b..79e8c16911 100644 --- a/open-liberty/src/main/java/com/baeldung/openliberty/person/model/Person.java +++ b/open-liberty/src/main/java/com/baeldung/openliberty/person/model/Person.java @@ -14,10 +14,7 @@ public class Person { @Id private int id; - @NotBlank private String username; - - @Email private String email; public int getId() {