Hi, While doing builds the generated pom-transformed.xml is placed in /var/tmp/target in a solaris server. When another user does a build for the same project, it failes as the file genereated by the earlier user is still there. Is there any workaround to avoid this issue. Specifically can we determin the location of this xml.
Thanks Surendra bash-2.05$ mvn -e deploy:deploy-file -DfilePath=../lib-jars -DartifactId=servicesmanager -Dpackaging.type=jar + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building mybiz-accessmanagerservices [INFO] task-segment: [deploy:deploy-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [deploy:deploy-file] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to interpolate POM versions. /var/tmp/target/pom-transformed.xml (Permission denied) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Failed to interpolate POM versions. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa l(DefaultLifecycleExecutor.java:553) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to interpolate POM versions. at org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.jav a:244) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:678) ... 16 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to interpolate POM versions. at org.apache.maven.project.artifact.VersionExpressionTransformation.transf ormForDeployment(VersionExpressionTransformation.java:113) at org.apache.maven.artifact.transform.DefaultArtifactTransformationManager .transformForDeployment(DefaultArtifactTransformationManager.java:78) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul tArtifactDeployer.java:86) at org.apache.maven.plugin.deploy.DeployFileMojo.execute(DeployFileMojo.jav a:240) ... 18 more Caused by: org.apache.maven.project.interpolation.ModelInterpolationException: Failed to write transformed POM: /var/tmp/target/pom-transformed.xml at org.apache.maven.project.artifact.VersionExpressionTransformation.interp olateVersions(VersionExpressionTransformation.java:386) at org.apache.maven.project.artifact.VersionExpressionTransformation.transf ormVersions(VersionExpressionTransformation.java:214) at org.apache.maven.project.artifact.VersionExpressionTransformation.transf ormForDeployment(VersionExpressionTransformation.java:94) ... 21 more Caused by: java.io.FileNotFoundException: /var/tmp/target/pom-transformed.xml (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hidden.org.codehaus.plexus.util.xml.XmlStreamWriter.<init>(XmlStreamWrit er.java:62) at hidden.org.codehaus.plexus.util.WriterFactory.newXmlWriter(WriterFactory .java:112) at org.apache.maven.project.artifact.VersionExpressionTransformation.interp olateVersions(VersionExpressionTransformation.java:380) ... 23 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Fri Apr 24 15:55:16 PDT 2009 [INFO] Final Memory: 4M/9M [INFO] ------------------------------------------------------------------------ bash-2.05$ Surendra Naidu Sr. Systems Analyst West Area IT - Business Internet Services Verizon Wireless Desk: 925-279-6941 Mobile: 925-324-5282 sna...@vtext.com The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you.