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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.6
    • None
    • General
    • 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

        1. mvntest-20080327.zip
          3 kB
          Nils Eckert

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nils_eckert Nils Eckert
              Votes:
              8 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: