Hi When building a project everything seems to be OK as building a maven project without releasing it does not require files ( at least the POM file ) to be checked out. But when trying to perform a maven release I get the error below:
*/[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project risk-position-library-testing: Error writing POM: /data/risktech-local/services/jenkins/workspace/risk-mtm-testing/risk/risk-position-library-testing/pom.xml (Permission denied) -> [Help 1] /* I am assuming this is due to the fact that the maven release:prepare step fails because the files under the workspace cannot be checked out through perforce plugin. Checking the files udner the workspace we can see that the pom.xml is read-only. *-r--r----- 1 riskrun software 1313 Feb 11 10:34 pom.xml* Release gols and options in the Jenkins project: *-Dresume=false -DignoreSnapshots=true release:prepare release:perform* I need to emphsize that the workspace gets downloaded from our SCM and all the files are there but checking them out fails during the maven release build. So could anyone tell me what that problem is? *Additional information:* ====================================== *Jenkins version: 1.540 Perforce Plugin vesion: 1.3.27 Jenkins maven relase Plugin version: 0.13.0* ====================================== Your help is appreciated. Thanks -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/When-performing-maven-writing-to-POM-file-fails-tp4690172.html Sent from the Jenkins issues mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.