You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Tran <da...@gmail.com> on 2015/04/05 21:12:44 UTC

Regression at m-invoker-plugin 1.10

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

Re: Regression at m-invoker-plugin 1.10

Posted by Dan Tran <da...@gmail.com>.
Filed  https://issues.apache.org/jira/browse/MINVOKER-187

On Sun, Apr 5, 2015 at 12:12 PM, Dan Tran <da...@gmail.com> wrote:

>
> 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
>
>
>
>
>
>