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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: General
    • 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
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: