diff --git a/do b/do index e29d4d1c..688d24ed 100755 --- a/do +++ b/do @@ -3,6 +3,7 @@ # mvn clean ant version mvn clean +mvn validate mvn -f pom-common.xml # mvn # this step is needed # cd ../epadd diff --git a/do.bat b/do.bat index 1ddda269..9e8c3a65 100755 --- a/do.bat +++ b/do.bat @@ -1,6 +1,7 @@ REM call ant REM cd ..\muse call mvn clean +call mvn validate call mvn -f pom-common.xml REM call mvn -f pom-jar.xmlm REM call mvn diff --git a/lib/common-image-3.5.2.jar b/lib/common-image-3.5.2.jar new file mode 100644 index 00000000..a37e4389 Binary files /dev/null and b/lib/common-image-3.5.2.jar differ diff --git a/lib/emailchemy_api-15.0 beta.jar b/lib/emailchemy_api-15.0 beta.jar new file mode 100644 index 00000000..34352f21 Binary files /dev/null and b/lib/emailchemy_api-15.0 beta.jar differ diff --git a/lib/fast-md5-1.0.0.jar b/lib/fast-md5-1.0.0.jar new file mode 100644 index 00000000..d5ab1bab Binary files /dev/null and b/lib/fast-md5-1.0.0.jar differ diff --git a/lib/jhlabs-layouts-1.0.0.jar b/lib/jhlabs-layouts-1.0.0.jar new file mode 100644 index 00000000..98142c17 Binary files /dev/null and b/lib/jhlabs-layouts-1.0.0.jar differ diff --git a/lib/oshi-core-1.0.0.jar b/lib/oshi-core-1.0.0.jar new file mode 100644 index 00000000..bc570b47 Binary files /dev/null and b/lib/oshi-core-1.0.0.jar differ diff --git a/lib/quaqua-jfc-1.0.0.jar b/lib/quaqua-jfc-1.0.0.jar new file mode 100644 index 00000000..450f273f Binary files /dev/null and b/lib/quaqua-jfc-1.0.0.jar differ diff --git a/pom-common.xml b/pom-common.xml index a2659ad8..c4e21fd0 100755 --- a/pom-common.xml +++ b/pom-common.xml @@ -1,169 +1,170 @@ - 4.0.0 - edu.stanford.epadd - epadd-common - pom - 1.0.0-SNAPSHOT - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 + edu.stanford.epadd + epadd-common + pom + 1.0.0-SNAPSHOT + UTF-8 UTF-8 - - epadd - http://maven.apache.org - - - - project_lib - Repository in project's lib dir - default - file:///${basedir}/lib - - - - - - - apache.snapshots - http://repository.apache.org/snapshots/ - - - - - - tw.edu.ntu.csie - libsvm - 3.17 - - - - - - - - jakarta.xml.bind - jakarta.xml.bind-api - 3.0.0 - - - - - com.sun.xml.bind - jaxb-impl - 3.0.0 - runtime - - - javax.servlet - javax.servlet-api - 3.0.1 - provided - - - - - - - - - - - gov.loc - bagit - 5.2.0 - - - - - - javax.servlet - jsp-api - 2.0 - provided - - - - org.apache.lucene - lucene-core - 7.2.1 - - - - org.apache.lucene - lucene-queries - 7.2.1 - - - - org.apache.lucene - lucene-analyzers-common - 7.2.1 - - - - org.apache.lucene - lucene-queryparser - 7.2.1 - - - - org.apache.lucene - lucene-highlighter - 7.2.1 - - - - commons-httpclient - commons-httpclient - 3.1 - - - - commons-cli - commons-cli - 1.2 - - - commons-io - commons-io - 2.4 - - - commons-codec - commons-codec - 1.10 - - - - org.projectlombok - lombok - 1.18.20 - provided - - - - - + + epadd + http://maven.apache.org - - org.apache.commons - commons-imaging - 1.0-R1534292 - + + + project_lib + Repository in project's lib dir + default + file:///${basedir}/lib + + + + + + + apache.snapshots + http://repository.apache.org/snapshots/ + + + + + + + tw.edu.ntu.csie + libsvm + 3.17 + + + + + + + + jakarta.xml.bind + jakarta.xml.bind-api + 3.0.0 + + + + + com.sun.xml.bind + jaxb-impl + 3.0.0 + runtime + + + javax.servlet + javax.servlet-api + 3.0.1 + provided + + + + + + + + + + + gov.loc + bagit + 5.2.0 + + + + + + javax.servlet + jsp-api + 2.0 + provided + + + + org.apache.lucene + lucene-core + 7.2.1 + + + + org.apache.lucene + lucene-queries + 7.2.1 + + + + org.apache.lucene + lucene-analyzers-common + 7.2.1 + + + + org.apache.lucene + lucene-queryparser + 7.2.1 + + + + org.apache.lucene + lucene-highlighter + 7.2.1 + + + + commons-httpclient + commons-httpclient + 3.1 + + + + commons-cli + commons-cli + 1.2 + + + commons-io + commons-io + 2.4 + + + commons-codec + commons-codec + 1.10 + + + + org.projectlombok + lombok + 1.18.20 + provided + + + + + + + + org.apache.commons + commons-imaging + 1.0-R1534292 + - - + - - javax.mail - javax.mail-api - 1.6.2 - + + javax.mail + javax.mail-api + 1.6.2 + + + javax.activation + activation + 1.1.1 + + + + net.sf.jtidy + jtidy + r938 + + + + org.json + json + 20131018 + + + com.googlecode.json-simple + json-simple + 1.1.1 + + + com.google.code.gson + gson + 1.5 + + + org.apache.tika + tika-parsers + 1.17 + + + org.apache.tika + tika-core + 1.17 + + + + + + org.apache.opennlp + opennlp-tools + 1.5.3 + + + org.twitter4j + twitter4j-core + 3.0.5 + + + org.jsoup + jsoup + 1.7.3 + + - - - org.apache.opennlp - opennlp-tools - 1.5.3 - - - org.twitter4j - twitter4j-core - 3.0.5 - - - org.jsoup - jsoup - 1.7.3 - - - - - org.apache.logging.log4j - log4j-api - 2.18.0 - - - org.apache.logging.log4j - log4j-core - 2.18.0 - + + org.slf4j + slf4j-log4j12 + 1.7.5 + --> + + + org.apache.logging.log4j + log4j-api + 2.18.0 + + + org.apache.logging.log4j + log4j-core + 2.18.0 + org.apache.logging.log4j log4j-web 2.18.0 - - org.apache.logging.log4j - log4j-taglib - 2.18.0 - + + org.apache.logging.log4j + log4j-taglib + 2.18.0 + org.slf4j slf4j-simple 2.0.0 - - - - net.sf.opencsv - opencsv - 2.3 - - - - - commons-lang - commons-lang - 2.3 - - - - - commons-fileupload - commons-fileupload - 1.4 - - - - - org.apache.commons - commons-math3 - 3.2 - - - - - org.apache.commons - commons-collections4 - 4.0 - - - - com.google.guava - guava - 18.0 - - - - org.mnode.mstor - mstor - 1.0.2 - - - - - org.codehaus.groovy - groovy - 3.0.8 - - - - - - - - junit - junit - 4.11 - - - - org.simplejavamail - simple-java-mail - 6.6.0 - - - org.simplejavamail - outlook-module - 6.6.1 - - - - - - - install - src/java - + + + + net.sf.opencsv + opencsv + 2.3 + + + + + commons-lang + commons-lang + 2.3 + + + + + commons-fileupload + commons-fileupload + 1.4 + + + + + org.apache.commons + commons-math3 + 3.2 + + + + + org.apache.commons + commons-collections4 + 4.0 + + + + com.google.guava + guava + 18.0 + + + + org.mnode.mstor + mstor + 1.0.2 + + + + + org.codehaus.groovy + groovy + 3.0.8 + + + + + + + + junit + junit + 4.11 + + + + org.simplejavamail + simple-java-mail + 6.6.0 + + + org.simplejavamail + outlook-module + 6.6.1 + + + + + + + emailchemy_api + emailchemy_api + 15.0 beta + + + + org.apache.commons + commons-configuration2 + 2.8.0 + + + + install + src/java + + + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + + install-jar-lib + validate + + install-file + + + emailchemy_api + emailchemy_api + 15.0 beta + jar + ${basedir}/lib/emailchemy_api-15.0 beta.jar + true + + + + + + + diff --git a/pom-discovery.xml b/pom-discovery.xml index 245d3852..0bfe08dd 100755 --- a/pom-discovery.xml +++ b/pom-discovery.xml @@ -27,13 +27,6 @@ 3.0.1 provided - - com.weirdkid.emailchemy.api - emailchemy_api - 15.0 - system - ${TMP}\emailchemy_api\java\emailchemy_api.jar - javax.servlet @@ -82,12 +75,6 @@ slf4j-log4j12 1.7.5 - - emailchemy - emailchemy_api - 15.0 beta - compile - diff --git a/pom.xml b/pom.xml index 45bc06fb..39172762 100644 --- a/pom.xml +++ b/pom.xml @@ -1,439 +1,428 @@ - 4.0.0 - - edu.stanford.epadd - epadd-common - 1.0.0-SNAPSHOT - ./pom-common.xml - - epadd - 0.0.1-SNAPSHOT - war - epadd - ePADD software from Stanford University Libraries - - UTF-8 - UTF-8 - yyyyMMdd-HHmm - ${maven.build.timestamp} - true - true - - - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + + edu.stanford.epadd + epadd-common + 1.0.0-SNAPSHOT + ./pom-common.xml + + epadd + 0.0.1-SNAPSHOT + war + epadd + ePADD software from Stanford University Libraries + + UTF-8 + UTF-8 + yyyyMMdd-HHmm + ${maven.build.timestamp} + true + true + + + prod false - false + false + - - - - javax.servlet - javax.servlet-api - 3.0.1 - provided - - - - - - - javax.servlet - jsp-api - 2.0 - - - - - - - com.google.code.gson - gson - 1.5 - - - - - jpl - jpl - 7.4.0 - - - - - net.java.dev.jna - jna - 5.12.1 - - - - - - net.java.dev.jna - jna-platform - 5.12.1 - - - - jhlabs-layouts - jhlabs-layouts - 1.0.0 - - - - - net.sourceforge.jdatepicker - jdatepicker - 1.3.2 - - - - - - - - commons-fileupload - commons-fileupload - 1.3.3 - - - - - org.apache.logging.log4j - log4j-api - 2.18.0 - - - org.apache.logging.log4j - log4j-core - 2.18.0 - + + + + + javax.servlet + javax.servlet-api + 3.0.1 + provided + + + + + + + javax.servlet + jsp-api + 2.0 + + + + + + com.google.code.gson + gson + 1.5 + + + + + jpl + jpl + 7.4.0 + + + + + net.java.dev.jna + jna + 5.12.1 + + + + + + net.java.dev.jna + jna-platform + 5.12.1 + + + + jhlabs-layouts + jhlabs-layouts + 1.0.0 + + + oshi-core + oshi-core + 1.0.0 + + + + + + net.sourceforge.jdatepicker + jdatepicker + 1.3.2 + + + + + + + + commons-fileupload + commons-fileupload + 1.3.3 + + + + + org.apache.logging.log4j + log4j-api + 2.18.0 + + + org.apache.logging.log4j + log4j-core + 2.18.0 + org.apache.logging.log4j log4j-web 2.18.0 - - org.apache.logging.log4j - log4j-taglib - 2.18.0 - + + org.apache.logging.log4j + log4j-taglib + 2.18.0 + org.slf4j slf4j-simple 2.0.0 - - - jakarta.xml.bind - jakarta.xml.bind-api - 3.0.0 - - - - - - - - org.codehaus.groovy - groovy - 3.0.8 - - - - emailchemy - emailchemy_api - 15.0 beta - - - common-image - common-image - 3.5.2 - - - - net.samuelcampos - usbdrivedetector - 2.0.4 - - - - - com.opencsv - opencsv - 5.7.1 - - - - org.subethamail - subethasmtp - 3.1.7 - test - - - - org.xerial - sqlite-jdbc - 3.40.0.0 - - - - - relaxngDatatype - relaxngDatatype - 20020414 - - - - quaqua-jfc - quaqua-jfc - 1.0.0 - - - - - org.apache.poi - poi-ooxml - 5.2.3 - - - - - info.picocli - picocli - 4.7.0 - - - - - - - ch.qos.logback - logback-core - 1.4.5 - - - - - ch.qos.logback - logback-classic - 1.4.5 - test - - - - - com.beetstra.jutf7 - jutf7 - 1.0.0 - - - - - com.twelvemonkeys.imageio - imageio-metadata - 3.9.4 - - - - - com.twelvemonkeys.imageio - imageio-icns - 3.9.4 - - - - - com.twelvemonkeys.imageio - imageio-core - 3.9.4 - - - - - fast-md5 - fast-md5 - 1.0.0 - - - - oshi-core - oshi-core - 1.0.0 - - - - org.dom4j - dom4j - 2.1.3 - - - - - org.apache.commons - commons-configuration2 - 2.8.0 - - - - org.apache.commons - commons-text - 1.10.0 - - - - - commons-logging - commons-logging - 1.2 - - - - - org.apache.commons - commons-lang3 - 3.12.0 - - - - - commons-lang - commons-lang - 2.6 - - - - - commons-dbutils - commons-dbutils - 1.7 - - - - - commons-configuration - commons-configuration - 1.10 - - - - - org.apache.commons - commons-compress - 1.22 - - - - - commons-collections - commons-collections - 3.2.2 - - - - - commons-codec - commons-codec - 1.15 - - - - - commons-beanutils - commons-beanutils - 1.9.4 - - - - - com.twelvemonkeys.common - common-lang - 3.9.4 - - - - - com.twelvemonkeys.common - common-io - 3.9.4 - - - - - com.twelvemonkeys.common - common-image - 3.9.4 - - - - - install - src/java - - - - WebContent/WEB-INF/classes - - - - - - maven-compiler-plugin - 3.1 - - 11 - 11 - - **/edu/stanford/epadd/launcher/*.java - - UTF-8 - - - - - org.codehaus.mojo - license-maven-plugin - 1.8 - - - download-licenses - - download-licenses - - - - + + + jakarta.xml.bind + jakarta.xml.bind-api + 3.0.0 + + + + + + + + org.codehaus.groovy + groovy + 3.0.8 + + + + common-image + common-image + 3.5.2 + + + + net.samuelcampos + usbdrivedetector + 2.0.4 + + + + + com.opencsv + opencsv + 5.7.1 + + + + org.subethamail + subethasmtp + 3.1.7 + test + + + + org.xerial + sqlite-jdbc + 3.40.0.0 + + + + + relaxngDatatype + relaxngDatatype + 20020414 + + + + quaqua-jfc + quaqua-jfc + 1.0.0 + + + + + org.apache.poi + poi-ooxml + 5.2.3 + + + + + info.picocli + picocli + 4.7.0 + + + + + + ch.qos.logback + logback-core + 1.4.5 + + + + + ch.qos.logback + logback-classic + 1.4.5 + test + + + + + com.beetstra.jutf7 + jutf7 + 1.0.0 + + + + + com.twelvemonkeys.imageio + imageio-metadata + 3.9.4 + + + + + com.twelvemonkeys.imageio + imageio-icns + 3.9.4 + + + + + com.twelvemonkeys.imageio + imageio-core + 3.9.4 + + + + + fast-md5 + fast-md5 + 1.0.0 + + + + + org.dom4j + dom4j + 2.1.3 + + + + org.apache.commons + commons-text + 1.10.0 + + + + + commons-logging + commons-logging + 1.2 + + + + + org.apache.commons + commons-lang3 + 3.12.0 + + + + + commons-lang + commons-lang + 2.6 + + + + + commons-dbutils + commons-dbutils + 1.7 + + + + + commons-configuration + commons-configuration + 1.10 + + + + + org.apache.commons + commons-compress + 1.22 + + + + + commons-collections + commons-collections + 3.2.2 + + + + + commons-codec + commons-codec + 1.15 + + + + + commons-beanutils + commons-beanutils + 1.9.4 + + + + + com.twelvemonkeys.common + common-lang + 3.9.4 + + + + + com.twelvemonkeys.common + common-io + 3.9.4 + + + + + com.twelvemonkeys.common + common-image + 3.9.4 + + + + + install + src/java + + + + WebContent/WEB-INF/classes + + + + + + maven-compiler-plugin + 3.1 + + 11 + 11 + + **/edu/stanford/epadd/launcher/*.java + + UTF-8 + + + + + org.codehaus.mojo + license-maven-plugin + 1.8 + + + download-licenses + + download-licenses + + + + + ${skip.generate.git.props} + ${project.build.outputDirectory}/git.properties @@ -503,7 +494,7 @@ - + org.apache.maven.plugins maven-enforcer-plugin @@ -519,9 +510,15 @@ git.dirty - ${line.separator}${line.separator}!!!!!!!! --------- git.dirty property not found -- commit id plugin must not have run. --------!!!!!!!!!${line.separator}${line.separator} + ${line.separator}${line.separator}!!!!!!!! --------- git.dirty property not + found -- commit id plugin must not have run. + --------!!!!!!!!!${line.separator}${line.separator} + false - ${line.separator}${line.separator}!!!!!!!! --------- Git dirty must not be true -- make sure all files are committed before building. --------!!!!!!!!!${line.separator}${line.separator} + ${line.separator}${line.separator}!!!!!!!! --------- Git dirty must + not be true -- make sure all files are committed before building. + --------!!!!!!!!!${line.separator}${line.separator} + true @@ -529,24 +526,98 @@ - - org.apache.maven.plugins - maven-install-plugin - 2.5.2 - - - - - - - maven-war-plugin - 2.3 - - WebContent - - true - - - - + + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + + install-jar-lib + validate + + install-file + + + oshi-core + oshi-core + 1.0.0 + jar + ${basedir}/lib/oshi-core-1.0.0.jar + true + + + + install-jar-lib2 + validate + + install-file + + + jhlabs-layouts + jhlabs-layouts + 1.0.0 + jar + ${basedir}/lib/jhlabs-layouts-1.0.0.jar + true + + + + install-jar-lib3 + validate + + install-file + + + common-image + common-image + 3.5.2 + jar + ${basedir}/lib/common-image-3.5.2.jar + true + + + + install-jar-lib4 + validate + + install-file + + + quaqua-jfc + quaqua-jfc + 1.0.0 + jar + ${basedir}/lib/quaqua-jfc-1.0.0.jar + true + + + + + install-jar-lib6 + validate + + install-file + + + fast-md5 + fast-md5 + 1.0.0 + jar + ${basedir}/lib/fast-md5-1.0.0.jar + true + + + + + + maven-war-plugin + 2.3 + + WebContent + + true + + + +