Escape special characters in string literals used by HelpMojo
-------------------------------------------------------------

                 Key: MPLUGIN-107
                 URL: http://jira.codehaus.org/browse/MPLUGIN-107
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
          Components: API
    Affects Versions: 2.4
            Reporter: Benjamin Bentmann


On an attempt to build the maven-deploy-plugin:
{noformat}
[INFO] Compilation failure
...\plugins\maven-deploy-plugin\target\generated-sources\plugin\org\apache\maven\plugin\deploy\HelpMojo.java:[148,97]
illegal escape character
{noformat}
caused by
{noformat}
toLines( "... ( file://C:\m2-repo or scp://host.com/path/to/repo )", [...] )
{noformat}
Backslashes need to be escaped, maybe other characters, too, did not look at 
the source yet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to