From eb1f958e06b1a12169ff26ddb3235be36e527f0e Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Thu, 11 Aug 2022 12:55:28 -0400 Subject: [PATCH] Change Project to run as Spring Boot --- core/pom.xml | 33 +- pom.xml | 1088 ++++++++++++++++++++++++-------------------------- 2 files changed, 544 insertions(+), 577 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index ddc7631..c4a390d 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -19,19 +19,12 @@ true 1.250 2.5.6.SEC03 - 2.4.11 + true - - - org.apache.logging.log4j - log4j-slf4j-impl - 2.11.0 - - junit @@ -118,6 +111,30 @@ + + + org.springframework.boot + spring-boot-autoconfigure + + + + org.springframework.boot + spring-boot-starter + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.security + spring-security-oauth2-client + + + org.springframework.security + spring-security-oauth2-jose + + + diff --git a/pom.xml b/pom.xml index 0a17300..3bd7a6f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,601 +1,551 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 - com.usvisatrack - usvisatrack-main - 0.1.0 - pom + com.usvisatrack + usvisatrack-main + 0.1.0 + pom - USVisaTrack main module - The module that constitutes the main USVisaTrack data process system - - - - The MIT license - http://www.opensource.org/licenses/mit-license.php - repo - - - - - core - services - - - - scm:git:git://github.com/ntc/usvisatrack.git - scm:git:ssh://git@github.com/ntc/usvisatrack.git - https://github.com/ntc/usvisatrack - HEAD - - - - - github-pages - gitsite:git@github.com/jenkinsci/maven-site.git:core - - - - - JIRA - http://bug.ossez.com/projects/USVisaTrack - - - - - UTF-8 - private - - - github - jenkinsci - jenkins - https://api.github.com - jenkins-jira - - 1.7.25 - 2.8.2 - 2.14 - 1.4.1 - 0.11 - ${skipTests} - 3.0.4 - true - 1.2 - 1.11 - ${access-modifier.version} - ${access-modifier.version} - - 8 - - https://upcex.com/changelog - - - - - - repo.jenkins-ci.org - http://repo.jenkins-ci.org/public/ - - - - - - - repo.jenkins-ci.org - http://repo.jenkins-ci.org/public/ - - - - - - - org.samba.jcifs - jcifs - 1.3.17-kohsuke-1 - - - org.kohsuke - access-modifier-annotation - ${access-modifier-annotation.version} - - - - - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - - org.apache.logging.log4j - log4j-api - ${log4j.version} - - - - org.apache.logging.log4j - log4j-core - ${log4j.version} - - - - org.apache.logging.log4j - log4j-slf4j-impl - ${log4j.version} - - - - - commons-io - commons-io - 2.5 - - - org.apache.commons - commons-lang3 - 3.6 - - - org.apache.commons - commons-math3 - 3.6.1 - - - commons-net - commons-net - 3.6 - - - org.apache.commons - commons-csv - 1.5 - - - commons-validator - commons-validator - 1.6 - - - org.apache.httpcomponents - httpclient - 4.5.3 - - - org.mockito - mockito-core - 1.10.19 - - - - org.powermock - powermock-module-junit4 - 1.6.2 - - - org.powermock - powermock-api-mockito - 1.6.2 - + + org.springframework.boot + spring-boot-starter-parent + 2.4.13 + + USVisaTrack Main + The module that constitutes the main USVisaTrack data process system - - - com.google.guava - guava - 22.0 - + + + The MIT license + http://www.opensource.org/licenses/mit-license.php + repo + + - - com.google.code.gson - gson - 2.8.1 - + + core + services + - - - org.jdom - jdom2 - 2.0.6 - + + scm:git:git://github.com/ntc/usvisatrack.git + scm:git:ssh://git@github.com/ntc/usvisatrack.git + https://github.com/ntc/usvisatrack + HEAD + - - org.jsoup - jsoup - 1.10.3 - + + + github-pages + gitsite:git@github.com/jenkinsci/maven-site.git:core + + - - - joda-time - joda-time - 2.9.9 - + + JIRA + http://bug.ossez.com/projects/USVisaTrack + + + + + UTF-8 + private + + + github + jenkinsci + jenkins + https://api.github.com + jenkins-jira + + 1.7.25 + 2.8.2 + 2.14 + 1.4.1 + 0.11 + 3.0.4 + true + 1.2 + 1.11 + ${access-modifier.version} + + ${access-modifier.version} + + 8 + + https://upcex.com/changelog + + + + + + + + + + + + + org.samba.jcifs + jcifs + 1.3.17-kohsuke-1 + + + org.kohsuke + access-modifier-annotation + ${access-modifier-annotation.version} + + + + + + + + + org.slf4j + slf4j-api + ${slf4j.version} + + + + org.apache.logging.log4j + log4j-api + ${log4j.version} + + + + org.apache.logging.log4j + log4j-core + ${log4j.version} + + + + org.apache.logging.log4j + log4j-slf4j-impl + ${log4j.version} + + + + + commons-io + commons-io + 2.5 + + + org.apache.commons + commons-lang3 + 3.6 + + + org.apache.commons + commons-math3 + 3.6.1 + + + commons-net + commons-net + 3.6 + + + org.apache.commons + commons-csv + 1.5 + + + commons-validator + commons-validator + 1.6 + + + org.apache.httpcomponents + httpclient + 4.5.3 + + + org.mockito + mockito-core + 1.10.19 + + + + org.powermock + powermock-module-junit4 + 1.6.2 + + + org.powermock + powermock-api-mockito + 1.6.2 + + + + + org.springframework.boot + spring-boot-autoconfigure + + + + org.springframework.boot + spring-boot-starter + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-batch + + + + org.springframework.security + spring-security-oauth2-client + + + org.springframework.security + spring-security-oauth2-jose + + + + + com.google.guava + guava + 22.0 + + + + com.google.code.gson + gson + 2.8.1 + + + + + org.jdom + jdom2 + 2.0.6 + + + + org.jsoup + jsoup + 1.10.3 + + + + + joda-time + joda-time + 2.9.9 + - - - org.mariadb.jdbc - mariadb-java-client - 2.1.1 - - - org.glassfish - javax.el - 3.0.1-b08 - + + + org.mariadb.jdbc + mariadb-java-client + 2.1.1 + + + org.glassfish + javax.el + 3.0.1-b08 + + + + junit + junit + 4.12 + test + + + + org.codehaus.mojo + animal-sniffer-annotations + 1.9 + provided + true + + + + install + + + ${basedir}/src/main/resources + false + + + ${basedir}/src/filter/resources + true + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-deploy-plugin + 2.7 + + + org.apache.maven.plugins + maven-dependency-plugin + 2.8 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + true + alwaysNew + ${java.version} + ${java.version} + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.4 + + + org.apache.maven.plugins + maven-install-plugin + 2.3.1 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + true + + + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + org.apache.maven.plugins + maven-war-plugin + 2.6 + + + org.apache.maven.plugins + maven-surefire-plugin + 2.20 + + -noverify + + + ${project.build.directory} + 3600 + true + + false + true + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.5.5 + - - - junit - junit - 4.12 - test - - - - org.codehaus.mojo - animal-sniffer-annotations - 1.9 - provided - true - - + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + - - install - - - ${basedir}/src/main/resources - false - - - ${basedir}/src/filter/resources - true - - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.7 - - - org.apache.maven.plugins - maven-dependency-plugin - 2.8 - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - true - alwaysNew - ${java.version} - ${java.version} - - + + org.kohsuke + access-modifier-checker + ${access-modifier-checker.version} + + + com.cloudbees + maven-license-plugin + 1.7 + + + + process + + compile + + true + + + + + + + org.jvnet.localizer + maven-localizer-plugin + 1.24 + + UTF-8 + + + + org.jvnet.hudson.tools + maven-encoding-plugin + 1.1 + + + com.infradna.tool + bridge-method-injector + 1.17 + + + org.codehaus.mojo + antlr-maven-plugin + 2.1 + + + org.codehaus.mojo + cobertura-maven-plugin + 2.5.2 + + + org.codehaus.mojo + findbugs-maven-plugin + ${findbugs-maven-plugin.version} + + Max + High + + ../src/findbugs/findbugs-excludes.xml + true + false + + + + findbugs + + check + + verify + + + + + org.apache.maven.plugins + maven-pmd-plugin + 2.7.1 + - - org.apache.maven.plugins - maven-gpg-plugin - 1.4 - - - org.apache.maven.plugins - maven-install-plugin - 2.3.1 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.3 - - true - - - - org.apache.maven.plugins - maven-jar-plugin - 2.6 - - - org.apache.maven.plugins - maven-war-plugin - 2.6 - - - org.apache.maven.plugins - maven-surefire-plugin - 2.20 - - -noverify - - ${project.build.directory} - 3600 - true - - false - true - - - - org.apache.maven.plugins - maven-assembly-plugin - 2.5.5 - - - maven-jarsigner-plugin - 1.2 - - - ${hudson.sign.alias} - ${hudson.sign.storepass} - ${hudson.sign.keystore} - - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - - - org.kohsuke.stapler - maven-stapler-plugin - - true - - - org.jvnet.maven-jellydoc-plugin - maven-jellydoc-plugin - 1.4 - - - - - org.kohsuke - access-modifier-checker - ${access-modifier-checker.version} - - - com.cloudbees - maven-license-plugin - 1.7 - - - - process - - compile - - true - - - - - - - org.jvnet.localizer - maven-localizer-plugin - 1.24 - - UTF-8 - - - - org.jvnet.hudson.tools - maven-encoding-plugin - 1.1 - - - com.infradna.tool - bridge-method-injector - 1.17 - - - org.codehaus.mojo - antlr-maven-plugin - 2.1 - - - org.codehaus.mojo - cobertura-maven-plugin - 2.5.2 - - - org.codehaus.mojo - findbugs-maven-plugin - ${findbugs-maven-plugin.version} - - Max - High - - ../src/findbugs/findbugs-excludes.xml - true - false - - - - findbugs - - check - - verify - - - - - org.apache.maven.plugins - maven-pmd-plugin - 2.7.1 - + + org.jvnet.updatecenter2 + maven-makepkgs-plugin + 0.6.2 + - - org.jvnet.updatecenter2 - maven-makepkgs-plugin - 0.6.2 - + + org.apache.maven.plugins + maven-site-plugin + 3.3 + + + org.kohsuke + doxia-module-markdown + 1.0 + + + - - org.apache.maven.plugins - maven-site-plugin - 3.3 - - - org.kohsuke - doxia-module-markdown - 1.0 - - - + + - - + - - - maven-remote-resources-plugin - - - - process - - - - org.jvnet.hudson:license:1.0 - - - - - + + maven-compiler-plugin + + 1.${java.level} + 1.${java.level} + + + - - maven-compiler-plugin - - 1.${java.level} - 1.${java.level} - - - + - + + + org.kohsuke + wagon-gitsite + 0.3.5 + + + - - - org.kohsuke - wagon-gitsite - 0.3.5 - - - + + + rc + + rc + + + + - - - rc - - rc - - - - + + + + + + metrics + + - - - - - - metrics - - - - org.codehaus.mojo - findbugs-maven-plugin - - High - - - - - + + + - - sorcerer - - - - org.kohsuke.sorcerer - maven-sorcerer-plugin - ${sorcerer.version} - - 1.${java.level} - - - - - - - - org.kohsuke.sorcerer - maven-sorcerer-plugin - ${sorcerer.version} - - 1.${java.level} - - - - - + + sorcerer + + + + + + - - m2e - - target - - - - m2e.version - - - - ${m2BuildDirectory} - - - org.maven.ide.eclipse - lifecycle-mapping - 0.12.0 - - customizable - - - - - - org.apache.maven.plugins:maven-resources-plugin:: - - - - - - - + + + + + + m2e + + target + + + + m2e.version + + + + ${m2BuildDirectory} + + + + + +