Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Linux.
    • Number of attachments :
      0

      Description

      Maven xdoc plugin is having the filtering process. But its not having the enhanced filtering like,

      @url@5 will be replaced as <a href="www.someurl.com?id=5">5</a> something like this. So its very easy to define the links in the xdoc xmls. It will reduce the usage of HTML specified tags in xdoc xmls.

        Activity

        Hide
        radhakrishnan added a comment -

        I have modified the plugin maven-xdoc in order to have custom filters like this. which will find and replace the strings given in plugin.properties or project.properties file with the values given with that.

        say in your plugin.properties file, you can have something like,

        maven.filter.0 = @string@5

        maven.filter.0.url = http://someurl.com?id=

        so now the xdoc plugin will filter the xmls by finding the @string@5 string and replace with <a href="http://someurl.com?id=5">5</a>.

        Show
        radhakrishnan added a comment - I have modified the plugin maven-xdoc in order to have custom filters like this. which will find and replace the strings given in plugin.properties or project.properties file with the values given with that. say in your plugin.properties file, you can have something like, maven.filter.0 = @string@5 maven.filter.0.url = http://someurl.com?id= so now the xdoc plugin will filter the xmls by finding the @string@5 string and replace with <a href="http://someurl.com?id=5">5</a>.
        Hide
        dion gillard added a comment -

        Why not use XML entities?

        Show
        dion gillard added a comment - Why not use XML entities?

          People

          • Assignee:
            Unassigned
            Reporter:
            radhakrishnan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Remaining Estimate - 1 day
              1d
              Logged:
              Time Spent - Not Specified
              Not Specified