diff --git a/.travis.yml b/.travis.yml
index 962d35e8067cbf87fc98474dd585bc113a639d94..fa2d83d2ad48a430e499d3e83749c06619c10c76 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 7ccd710a502f051dafd734ab452072836a0fcb39..93ab61477623fc7a67a12ad94866d2f8fc527b73 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>