release:prepare, it try to create jar file and failed, since the source directory is deleted by clean ? -------------------------------------------------------------------------------------------------------
Key: MRELEASE-347 URL: http://jira.codehaus.org/browse/MRELEASE-347 Project: Maven 2.x Release Plugin Issue Type: Bug Components: scm Affects Versions: 2.0-beta-7 Environment: cvs is the source code repository, unix is env Reporter: Michael Meng release:prepare -- it first clean the target folder, then it should do the verify, but why it run resources, compile and jar ? Did something wrong on my pom.xml or what might go wrong ? why the verify trigger the resources, compile and jar ? while the target folder is empty Any help will be appreciated. Michael $ mvn release:prepare [INFO] [release:prepare] ... [INFO] Executing goals 'clean verify'... [INFO] Executing: mvn clean verify --no-plugin-updates [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building UBH Service Project [INFO] task-segment: [clean, verify] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /approot/cc/cruisecontrol-bin-2.7.1/checkout/projects/service/target [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. .. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira