maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "redfish4ktc (JIRA)" <>
Subject [jira] [Created] (SUREFIRE-1393) Failsafe generates "URI is not hierarchical" error
Date Tue, 18 Jul 2017 16:36:00 GMT
redfish4ktc created SUREFIRE-1393:

             Summary: Failsafe generates "URI is not hierarchical" error
                 Key: SUREFIRE-1393
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Failsafe Plugin
    Affects Versions: 2.20, 2.19.1, 2.19
         Environment: Windows / Linux
            Reporter: redfish4ktc

When testing the following code, I got a "URI is not hierarchical" error when calling {{url.toURI()}}
URL url = this.getClass().getResource( "/" );
File file = new File( url.toURI() );

This only occurs with the failsafe maven plugin, not with surefire. This was working with
version 2.18.1 (and before) but not anymore with version 2.19 (and superior).

I have attached the [^] project that shows the
issue (it tests both failsafe and surefire plugins).
The problem may be related to SUREFIRE-855 introduced in version 2.19

This message was sent by Atlassian JIRA

View raw message