From 44b20bfc89078097c1e5b745597ba98672ec9096 Mon Sep 17 00:00:00 2001 From: Doug Morato Date: Tue, 27 Oct 2015 21:19:12 -0400 Subject: [PATCH 1/2] Caching .m2 repository to speed the Travis build Signed-off-by: Doug Morato --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 656a6d651..e1b934356 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,12 @@ install: "/bin/true" script: - mvn clean install - git clone https://github.com/WebGoat/WebGoat-Lessons.git - - mvn -file ./WebGoat-Lessons/pom.xml package + - mvn -file ./WebGoat-Lessons/pom.xml clean package - cp -fa ./WebGoat-Lessons/target/plugins/*.jar ./webgoat-container/src/main/webapp/plugin_lessons/ - if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then mvn "-Dbuild.number=$TRAVIS_BUILD_NUMBER" -Prun-integration-tests clean install; else mvn clean install; fi +cache: + directories: + - $HOME/.m2 before_deploy: - export WEBGOAT_CONTAINTER_TARGET_DIR=$HOME/build/$TRAVIS_REPO_SLUG/webgoat-container/target - export WEBGOAT_ARTIFACTS_FOLDER=$HOME/build/$TRAVIS_REPO_SLUG/Deployable_Artifacts/ From ba20f8d14ba58d9948f1ea2740728c24b855a89b Mon Sep 17 00:00:00 2001 From: Doug Morato Date: Tue, 27 Oct 2015 22:15:14 -0400 Subject: [PATCH 2/2] Fix javax.mail dependecy and update versions Signed-off-by: Doug Morato --- pom.xml | 6 +++--- webgoat-container/pom.xml | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 226d490fa..9d706ec4f 100644 --- a/pom.xml +++ b/pom.xml @@ -117,7 +117,7 @@ 2.7 3.2.1 2.1 - 0.2 + 0.5 1.3.1 2.4 3.4 @@ -132,12 +132,12 @@ 2.6.3 6.0 1.2 - 1.7.7 + 1.7.12 1.2 1.3.1 4.12 1.2.17 - 1.4.3 + 1.5.4 3.3 2.19 1.6 diff --git a/webgoat-container/pom.xml b/webgoat-container/pom.xml index c2908d96b..36dc8d831 100644 --- a/webgoat-container/pom.xml +++ b/webgoat-container/pom.xml @@ -284,13 +284,8 @@ javax.mail - mail - ${mail.version} - - - javax.mail - mailapi - ${mail.version} + javax.mail-api + ${mail-api.version} hsqldb