The goal you specified requires a project to execute but there is no POM in this directory with travis build

huangapple 未分类评论82阅读模式
英文:

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:
The goal you specified requires a project to execute but there is no POM in this directory with travis build

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

i am getting below error
The goal you specified requires a project to execute but there is no POM in this directory with travis build

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

huangapple
  • 本文由 发表于 2020年8月15日 00:24:07
  • 转载请务必保留本文链接:https://java.coder-hub.com/63416551.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定