maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MINVOKER-187) Cloned IT project must be writable
Date Tue, 07 Apr 2015 06:46:13 GMT

     [ https://issues.apache.org/jira/browse/MINVOKER-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Tran closed MINVOKER-187.
-----------------------------
    Resolution: Fixed

fixed at

Revision: 1671707
Author: dantran
Date: Monday, April 06, 2015 3:37:10 PM
Message:
[MINVOKER-187] ensure cloned IT projects writable
----
Modified : /maven/plugins/trunk/maven-invoker-plugin/src/main/java/org/apache/maven/plugin/invoker/AbstractInvokerMojo.java



> Cloned IT project must be writable
> ----------------------------------
>
>                 Key: MINVOKER-187
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-187
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.10
>            Reporter: Dan Tran
>            Priority: Critical
>             Fix For: 1.10.1
>
>         Attachments: MINVOKER-187.patch
>
>
> m-invoker-p-1.10, it keeps the same file permissions when cloning IT projects to target/it,
and fail for not able to interpolate the clone source. This only happens for SCM like Perforce
where source by default is read only
> 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)
> Need this fix in order to upgrade to maven-3.3.x at Perforce environment



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message