maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Regression at m-invoker-plugin 1.10
Date Sun, 05 Apr 2015 19:12:44 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message