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

Gabriel Belingueres updated MSHARED-574:
----------------------------------------
    Attachment: MSHARED-574.patch

Hi!
For what I've been finding, symlinking needs privileged access in Windows, and 
once the JVM is running is not possible to elevate privileges "on demand", that 
means you must open CMD as Administrator to execute a 'mvn test'.
The attached patch adds an assert method that checks if running with elevated 
privileges and fail with a "more friendly" message (Tested on Windows only).

Regards,
Gabriel

> UT failure on Windows: utils.io.Java7SupportTest createAndReadSymlink
> ---------------------------------------------------------------------
>
>                 Key: MSHARED-574
>                 URL: https://issues.apache.org/jira/browse/MSHARED-574
>             Project: Maven Shared Components
>          Issue Type: Bug
>    Affects Versions: maven-shared-utils-3.0.1, maven-shared-utils-3.1.0
>            Reporter: Hervé Boutemy
>             Fix For: maven-shared-utils-3.1.1
>
>         Attachments: MSHARED-574.patch
>
>
> found during a vote on 3.1.0 release
> http://mail-archives.apache.org/mod_mbox/maven-dev/201607.mbox/%3Cop.yk2oanobkdkhrr%40desktop-2khsk44.dynamic.ziggo.nl%3E



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

Reply via email to