Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3241

It's not possible to get a property with unescaped & sign for urls

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I found no way to create a property with a not escaped ampersand (&-sign). This is needed for a MySQL jdbc-connection String with some connection variabled and should be filtered in a properties file during compile phase.

      It tried to escape it with & This leeds to following error: Project build error Cannot read project model from interpolating filter of serialized version.

      It is no option to use a double escaping with &. Here I get a & in my connection url.

      I also tried to use a <[CDATA[ ... ]]> with the same problems. It's not possible to use & sign. And if I use & this escaped tag appears in my properties file after filtering.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nils_eckert Nils Eckert

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment