You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/07/12 12:23:20 UTC

[jira] [Commented] (ARCHETYPE-503) Unit tests with archetype-post-generate.groovy fail on Windows

    [ https://issues.apache.org/jira/browse/ARCHETYPE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372792#comment-15372792 ] 

Hudson commented on ARCHETYPE-503:
----------------------------------

SUCCESS: Integrated in maven-archetype-m3 #214 (See [https://builds.apache.org/job/maven-archetype-m3/214/])
[ARCHETYPE-503] Unit tests with archetype-post-generate.groovy fail on (michaelo: rev 51f37fbd809844df8a1a5d4b67641af6b2ff3da8)
* archetype-common/src/test/archetypes/fileset_with_postscript-1.0/META-INF/archetype-post-generate.groovy


> Unit tests with archetype-post-generate.groovy fail on Windows
> --------------------------------------------------------------
>
>                 Key: ARCHETYPE-503
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-503
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: 2.5
>
>
> One test fails with {{IllegalArgumentException}} which is caused by 
> {code}
> def packageFolder = request.getPackage().replaceAll( '\\.', this.'file.separator' );
> {code}
> On Windows, a backslash is employed by {{replaceAll}} requires the replacement to be properly escaped. We can unanimously use slashes everywhere.



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