[
https://issues.apache.org/jira/browse/MDEP-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MDEP-470.
-------------------------------
Resolution: Incomplete
No sample provided.
> Property fileSeparator overrides definition on property pathSeparator
> ---------------------------------------------------------------------
>
> Key: MDEP-470
> URL: https://issues.apache.org/jira/browse/MDEP-470
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: build-classpath
> Affects Versions: 2.8, 2.9
> Environment: Windows
> Reporter: Isabella Silva
> Priority: Major
> Labels: close-pending
>
> I am trying to generate a classpath to use as a multi-line java property
> value like this:
> libs/lib1.jar,\
> libs/lib2.jar,\
> libs/lib3.jar,\
> libs/lib4.jar
> With this configuration on my pom:
> <configuration>
> <outputProperty>my.classpath</outputProperty>
> <prefix>${libs.dir}</prefix>
> <pathSeparator>,\${line.separator}</pathSeparator>
> <fileSeparator>/</fileSeparator>
> </configuration>
> It works fine on Unix environments (where the native file separator matches
> that of my configuration). On Windows, though, I get this (wrong) result:
> libs/lib1.jar,/
> libs/lib2.jar,/
> libs/lib3.jar,/
> libs/lib4.jar
> Notice that I've configured the path separator to use the '\' character, not
> the system native file separator. It seems the file separator is somehow
> overriding the pathSeparator configuration.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)