From b07ac45fa1709f39414307791aa796e17cd54e3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Ckpepper=E2=80=9D?= <kp11@sanger.ac.uk>
Date: Thu, 4 Oct 2018 14:19:24 +0100
Subject: [PATCH] Travis changes

---
 .travis.yml | 6 +++---
 pom.xml     | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 962d35e80..fa2d83d2a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,10 @@
 language: java
 jdk:
   - oraclejdk8
-sudo: false
+sudo: true
 env:
   global:
-    - BUILD_CMD='mvn -X -Dskip.tests=true clean install'
+    - BUILD_CMD='mvn -X -Dskip.tests=true validate clean install'
     - RUN_TESTS=false
 matrix:
   include:
@@ -19,7 +19,7 @@ before_install:
   - "export DISPLAY=:99.0"
   - "sh -e /etc/init.d/xvfb start"
   - "source install_dependencies.sh"
-  - "mvn -X -Dskip.tests=true initialize"
+  - mvn -X validate"
 install:
   - "$BUILD_CMD"
 script:
diff --git a/pom.xml b/pom.xml
index 7ccd710a5..93ab61477 100644
--- a/pom.xml
+++ b/pom.xml
@@ -380,7 +380,7 @@ Artemis is written in Java, and is available for UNIX, Macintosh and Windows sys
 			    <executions>
 			        <execution>
 			        		<id>install-biojava-jar</id>
-			            <phase>initialize</phase>
+			            <phase>validate</phase>
 			            <goals>
 			                <goal>install-file</goal>
 			            </goals>
@@ -395,7 +395,7 @@ Artemis is written in Java, and is available for UNIX, Macintosh and Windows sys
 			        </execution>
 			        <execution>
 			        		<id>install-jemalign-jar</id>
-			            <phase>initialize</phase>
+			            <phase>validate</phase>
 			            <goals>
 			                <goal>install-file</goal>
 			            </goals>
@@ -412,7 +412,7 @@ Artemis is written in Java, and is available for UNIX, Macintosh and Windows sys
 			        <!--  NEEDS UPGRADE.... -->
 			        <execution>
 			        		<id>install-j2ssh-core-jar</id>
-			            <phase>initialize</phase>
+			            <phase>validate</phase>
 			            <goals>
 			                <goal>install-file</goal>
 			            </goals>
@@ -428,7 +428,7 @@ Artemis is written in Java, and is available for UNIX, Macintosh and Windows sys
 			        
 			        <execution>
 			        		<id>install-ibatis-jar</id>
-			            <phase>initialize</phase>
+			            <phase>validate</phase>
 			            <goals>
 			                <goal>install-file</goal>
 			            </goals>
-- 
GitLab