core/src/main/java/io/fabric8/maven/core/util/FileUtil.java
public static String getAbsolutePath(URL url) {
        try {
            return url != null ? Paths.get(url.toURI()).toAbsolutePath().toString() : null;
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        }
    }
public static String getAbsolutePath(URL url) {
        try {
            return url != null ? Paths.get(url.toURI()).toAbsolutePath().toString() : null;
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        }
    }
public static String getAbsolutePath ( URL url ) { try { return url != null ? Paths . get ( url . toURI ( ) ) . toAbsolutePath ( ) . toString ( ) : null ; } catch ( URISyntaxException e ) { throw new RuntimeException ( e ) ; } }
Returns the absolute path to a resource addressed by the given <code>url</code>
@param url resource URL
@return absolute path to the resource
Returns the absolute path to a resource addressed by the given <code > url< / code >