0
maven release plugin 2.2.1을 사용하고 있습니다. 내 경우에는 release:clean
과 release:prepare
이 성공적으로 실행됩니다. 그러나 release:perform
을 실행하려고하면 다음 오류가 표시됩니다.Maven 문제 - 지정한 목표는 프로젝트를 실행해야하지만이 디렉토리에는 POM이 없습니다.
EXIMR-IM-187:rabbit_trunk manojkumarbardhan$ mvn release:perform
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Curo Fabric Component for RabbitMQ 2.0.20-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.2.1:perform (default-cli) @ curo-fabric-component-rabbitmq-experiments ---
[INFO] Checking out the project to perform the release ...
[INFO] Executing: /bin/sh -c cd /Users/manojkumarbardhan/QURO_PROJECT/rabbit_trunk/target && svn --non-interactive checkout http://ssygh.dgxxxgdf.xxx.com:1080/SVNROOT/CURO/Experiments/migration/tags/curo-fabric-component-rabbitmq-experiments-2.0.19 /Users/manojkumarbardhan/QURO_PROJECT/rabbit_trunk/target/checkout
[INFO] Working directory: /Users/manojkumarbardhan/QURO_PROJECT/rabbit_trunk/target
[INFO] Executing goals 'deploy'...
[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 0.115s
[INFO] [INFO] Finished at: Thu Sep 05 17:40:01 GMT+05:30 2013
[INFO] [INFO] Final Memory: 2M/81M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/manojkumarbardhan/QURO_PROJECT/rabbit_trunk/target/checkout). Please verify you invoked Maven from the correct directory. -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.528s
[INFO] Finished at: Thu Sep 05 17:40:01 GMT+05:30 2013
[INFO] Final Memory: 6M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.1:perform (default-cli) on project curo-fabric-component-rabbitmq-experiments: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
나는 무엇이 잘못되었는지 모른다.
나는 다음 오전 프로세스는 다음과 같습니다 -
- 내 필요한 SVN은
- 가 실행
mvn release:clean
- 실행 명령을 실행
- CD가 체크 아웃 디렉토리
- 에 SVN에서 체크 아웃
mvn release:prepare
mvn release:perform
을 실행하지만 실패합니다.
미리 감사드립니다.
첫 번째 릴리스 : 수행 할 작업은 릴리스에 의해 태그 지정된 버전을 확인하는 것입니다. 준비하십시오. 로그 스 니펫은 다음을 보여줍니다 :'svn - 비 대화식 체크 아웃 http://istsvn.corp.apple.com:1080/SVNROOT/CURO/Experiments/migration/tags/curo-fabric-component-rabbitmq-experiments-2.0. 19/Users/manojkumarbardhan/QURO_PROJECT/rabbit_trunk/target/checkout '을 선택하십시오./Users/manojkumarbardhan/QURO_PROJECT/rabbit_trunk/target/checkout 디렉토리를 확인하십시오. 거기에 POM이 있습니까? 그렇지 않은 경우 체크 아웃에 실패한 이유를 조사하십시오. – user944849
예, checkout 내부에 rabbit_trunk/pom.xml 파일이 있습니다. –
해당 디렉토리가 현재 디렉토리 일 때 Maven 설치를 실행할 수 있습니까? –