diff --git a/jws/java-core-samples-lib/jardiff.jar b/jws/java-core-samples-lib/jardiff.jar deleted file mode 100644 index 08b5bb61ab00..000000000000 Binary files a/jws/java-core-samples-lib/jardiff.jar and /dev/null differ diff --git a/jws/java-core-samples-lib/jnlp-servlet.jar b/jws/java-core-samples-lib/jnlp-servlet.jar deleted file mode 100644 index c27167c64700..000000000000 Binary files a/jws/java-core-samples-lib/jnlp-servlet.jar and /dev/null differ diff --git a/pom.xml b/pom.xml index 89c030428d20..c7d617bb5fee 100644 --- a/pom.xml +++ b/pom.xml @@ -687,7 +687,6 @@ json-modules jsoup jts - jws ksqldb kubernetes-modules libraries @@ -1128,7 +1127,6 @@ jmonkeyengine json-modules jsoup - jws ksqldb kubernetes-modules libraries diff --git a/jws/.gitignore b/security-modules/jws/.gitignore similarity index 100% rename from jws/.gitignore rename to security-modules/jws/.gitignore diff --git a/jws/pom.xml b/security-modules/jws/pom.xml similarity index 78% rename from jws/pom.xml rename to security-modules/jws/pom.xml index 2e5a29feea98..731b1af80108 100644 --- a/jws/pom.xml +++ b/security-modules/jws/pom.xml @@ -1,64 +1,55 @@ - - - 4.0.0 - jws - war - jws - - - com.baeldung - parent-modules - 1.0.0-SNAPSHOT - - - - ${project.artifactId} - - - org.apache.maven.plugins - maven-jar-plugin - ${maven-jar-plugin.version} - - - compile - - jar - - - - - com.example.Hello - - - ${project.basedir}/target/jws - - - - - - org.apache.maven.plugins - maven-war-plugin - ${maven-war-plugin.version} - - - package - - - - - - ${project.basedir}/java-core-samples-lib/ - - **/*.jar - - WEB-INF/lib - - - - - - - - + + + 4.0.0 + jws + war + jws + + + com.baeldung + security-modules + 1.0.0-SNAPSHOT + + + + ${project.artifactId} + + + org.apache.maven.plugins + maven-jar-plugin + ${maven-jar-plugin.version} + + + compile + + jar + + + + + com.example.Hello + + + ${project.basedir}/target/jws + + + + + + org.apache.maven.plugins + maven-war-plugin + ${maven-war-plugin.version} + + + package + + + + + + + + + diff --git a/jws/src/main/java/com/example/Hello.java b/security-modules/jws/src/main/java/com/example/Hello.java similarity index 100% rename from jws/src/main/java/com/example/Hello.java rename to security-modules/jws/src/main/java/com/example/Hello.java diff --git a/jws/src/main/resources/logback.xml b/security-modules/jws/src/main/resources/logback.xml similarity index 100% rename from jws/src/main/resources/logback.xml rename to security-modules/jws/src/main/resources/logback.xml diff --git a/jws/src/main/webapp/WEB-INF/web.xml b/security-modules/jws/src/main/webapp/WEB-INF/web.xml similarity index 96% rename from jws/src/main/webapp/WEB-INF/web.xml rename to security-modules/jws/src/main/webapp/WEB-INF/web.xml index 18f29ddd128a..2399a4445e85 100644 --- a/jws/src/main/webapp/WEB-INF/web.xml +++ b/security-modules/jws/src/main/webapp/WEB-INF/web.xml @@ -1,24 +1,24 @@ - - - Java Web Start - JNLP Example for Java Web Start Article - - - JnlpDownloadServlet - jnlp.sample.servlet.JnlpDownloadServlet - - - JnlpDownloadServlet - *.jar - - - JnlpDownloadServlet - *.jnlp - - - - index.html - - + + + Java Web Start + JNLP Example for Java Web Start Article + + + JnlpDownloadServlet + jnlp.sample.servlet.JnlpDownloadServlet + + + JnlpDownloadServlet + *.jar + + + JnlpDownloadServlet + *.jnlp + + + + index.html + + diff --git a/jws/src/main/webapp/hello.jnlp b/security-modules/jws/src/main/webapp/hello.jnlp similarity index 100% rename from jws/src/main/webapp/hello.jnlp rename to security-modules/jws/src/main/webapp/hello.jnlp diff --git a/jws/src/main/webapp/index.html b/security-modules/jws/src/main/webapp/index.html similarity index 100% rename from jws/src/main/webapp/index.html rename to security-modules/jws/src/main/webapp/index.html diff --git a/security-modules/pom.xml b/security-modules/pom.xml index 20f2ccee2a87..55192364d0d4 100644 --- a/security-modules/pom.xml +++ b/security-modules/pom.xml @@ -21,6 +21,7 @@ jee-7-security jjwt jwt + jws oauth2-framework-impl sql-injection-samples