[ 
https://jira.codehaus.org/browse/MDEP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282558#comment-282558
 ] 

Thomas Gran commented on MDEP-325:
----------------------------------

I ment,

{noformat} 
When generating a properties file the File.separator should by default be '\\' 
on windows and '/' on Unix.
{noformat} 


> build-classpath adds a newline character when dependency artifact name starts 
> with letter n
> -------------------------------------------------------------------------------------------
>
>                 Key: MDEP-325
>                 URL: https://jira.codehaus.org/browse/MDEP-325
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: build-classpath
>    Affects Versions: 2.1, 2.2, 2.3
>            Reporter: L. Compère
>            Assignee: Brian Fox
>
> I'm using a combination of the maven-dependency-plugin and the 
> maven-assembly-plugin to insert a classpath in a filtered resource.
> It so happens that one of the dependencies to be added to the classpath is 
> "neethi-2.0.4.jar".
> The build-classpath goal of the dependency plugin writes the following in a 
> file (all on one line):
> classpath=%MM_ENV_PATH%J/Lib/\httpcore-nio-4.0-beta1.jar;%MM_ENV_PATH%J/Lib/\neethi-2.0.4.jar;%MM_ENV_PATH%J/Lib/\axiom-api-1.2.7.jar;%MM_ENV_PATH%J/Lib/\axiom-dom-1.2.7.jar;
> When the assembly plugin uses the content of the file generated by the 
> build-classpath goal of the dependency plugin, it translates the \n found in 
> "%MM_ENV_PATH%J/Lib/\neethi-2.0.4.jar;" into a NEWLINE character... causing 
> my classpath to be broken as such (on two lines):
> %MM_ENV_PATH%J/Lib/\httpcore-nio-4.0-beta1.jar;%MM_ENV_PATH%J/Lib/
> eethi-2.0.4.jar;%MM_ENV_PATH%J/Lib/\axiom-api-1.2.7.jar;%MM_ENV_PATH%J/Lib/\axiom-dom-1.2.7.jar;
> notice how neethi-2.0.4.jar has become eethi-2.0.4.jar....
> Has anyone had such a problem?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to