英文:
The goal you specified requires a project to execute but there is no POM in this directory with travis build
问题
My goal is: mvn -q spring-project/pom.xml verify -Pe2e
I am getting the following error:
Travis full build: https://travis-ci.org/github/JosephThachilGeorge/TDDTEST/jobs/715649594#L855
My project directory: https://github.com/JosephThachilGeorge/TDDTEST
With the following .travis.yml
configuration, the goals are working perfectly:
mvn -f spring-project/pom.xml clean verify -Pjacoco coveralls:report
mvn -f spring-project/pom.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent install org.jacoco:jacoco-maven-plugin:report
mvn -f spring-project/pom.xml sonar:sonar -Dsonar.projectKey=JosephThachilGeorge_TDDTEST
mvn -f spring-project/pom.xml verify -Pfailsafe
The only problem I have is with the end-to-end test goal: mvn -q spring-project/pom.xml verify -Pe2e
My project's pom.xml
is located at: https://github.com/JosephThachilGeorge/TDDTEST/tree/master/spring-project
英文:
My goal is : mvn -q spring-project/pom.xml verify -Pe2e
Travis full build : https://travis-ci.org/github/JosephThachilGeorge/TDDTEST/jobs/715649594#L855
My project directory: https://github.com/JosephThachilGeorge/TDDTEST
With .travis.yml below goals are working perfectly
- mvn -f spring-project/pom.xml clean verify -Pjacoco coveralls:report
- mvn -f spring-project/pom.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent install org.jacoco:jacoco-maven-plugin:report
- mvn -f spring-project/pom.xml sonar:sonar -Dsonar.projectKey=JosephThachilGeorge_TDDTEST
- mvn -f spring-project/pom.xml verify -Pfailsafe
Only i have problem with end to end test goal : mvn -q spring-project/pom.xml verify -Pe2e
My project pom is in below location: https://github.com/JosephThachilGeorge/TDDTEST/tree/master/spring-project
专注分享java语言的经验与见解,让所有开发者获益!
评论