I'm using Travic CI as a tool for coutinuous integration on a java maven project and my .travis.yml file is configured this way :
language: java
sudo: false
script: mvn clean verify
But when I execute, I get this error :
The travis ci build could not complete due to an error
The command "eval mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V" failed.
Anyone have an idea on how to fix this problem ? Thanks
It seems you are using maven-compiler-plugin 1.8 in you pom.xml. The supported version of travis-ci server is 7, so change it to 1.7 link
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.