Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-107

Escape special characters in string literals used by HelpMojo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.2
    • API
    • None

    Description

      On an attempt to build the maven-deploy-plugin:

      [INFO] Compilation failure
      ...\plugins\maven-deploy-plugin\target\generated-sources\plugin\org\apache\maven\plugin\deploy\HelpMojo.java:[148,97]
      illegal escape character
      

      caused by

      toLines( "... ( file://C:\m2-repo or scp://host.com/path/to/repo )", [...] )
      

      Backslashes need to be escaped, maybe other characters, too, did not look at the source yet.

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: