Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Environment:maven-plugins from CVS main branch
-
Number of attachments :
Description
Hi Vince,
It would be nice to allow using different templates (i.e., stylesheet) for the announcement file.
I did some changes (not sure if they're the best, as Jelly is very tricky
at plugin.jelly, so now it looks for the following properties in order to define the stylesheet:
maven.announcement.stylesheet.locationType
maven.announcement.stylesheet.locationValue
locationType determines the context where the stylesheet is located (right now: resource, uri or project) and locationValue is the path per see - I'm describing the process in more details on xdocs/properties.xml.
So, I'm sending a patch created from the CVS branch (I've set the currentVersion as 1.3-SNAPSHOT in the project.xml and xdocs/changes.xml included in the patch)
Regards,
Felipe (felipeal at ASF)
Patch with the proposed enhancement. Includes:
PS: I didn't provide any unit test case because I think it's not possible for code developed in Jelly. Am I'm right?
- plugin.jelly
- xdocs/properties.xml
- xdocs/changes.xml
- project.xml
PS: I didn't provide any unit test case because I think it's not possible for code developed in Jelly. Am I'm right?