Hi

Latest plugin when copy the test projects to target/it, it keeps the same
file permissions and fail not able to alter invoker.properties. This only
happens for SCM like Perforce with only 'checked out' files have write
permission

Can someone confirm about this finding? easy fix?

Here is the stack trace

Caused by: java.io.FileNotFoundException:
C:\views\dev\maven-tools\plugins\thirdparty-maven-plugin\target\it\cli\pom
.xml (Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
        at
org.codehaus.plexus.util.xml.XmlStreamWriter.<init>(XmlStreamWriter.java:59)
        at
org.codehaus.plexus.util.WriterFactory.newXmlWriter(WriterFactory.java:117)
        at
org.apache.maven.plugin.invoker.AbstractInvokerMojo.buildInterpolatedFile(AbstractInvokerMojo.java:2313)

Thanks

-Dan

PS will file a JIRA case when transition from Codehaus to Apache is done

Reply via email to