Issue Details (XML | Word | Printable)

Key: MPXDOC-28
Type: New Feature New Feature
Status: Open Open
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: radhakrishnan
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x XDoc Plugin

To have custom filters.

Created: 04/Sep/03 07:43 AM   Updated: 22/Aug/05 06:41 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: 1 day
Original Estimate - 1 day
Remaining Estimate: 1 day
Remaining Estimate - 1 day
Time Spent: Not Specified
Time Spent - Not Specified

Environment: Linux.


 Description  « Hide

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.



radhakrishnan added a comment - 04/Sep/03 07:46 AM

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>.


dion gillard added a comment - 24/Sep/03 12:29 AM

Why not use XML entities?