The following comment has been added to this issue:
Author: Felipe Leme
Created: Thu, 15 Jul 2004 1:40 PM
Body:
> How is the following a problem?
> Custom (user overriden):
> path = ${basedir}/conf/myannouncement.jsl
> Default:
> path = ${plugin.resources}/announcement.jsl
That's simple, I agree. My only concern is regarding multi-project: if I have many
sub-projects with share the same announcement, I would like to define that property at
the root level only(i.e., from where multi-project is called). Would ${basedir} in
this case solve to the root's dir or to each sub-project being 'reacted'? If not, is
there any other option or would I need to set a physical path? (Sorry for the RTFMish
aspect of the question, but I'm not that familiar with multiproject yet).
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPANNOUNCEMENT-11?page=comments#action_21835
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPANNOUNCEMENT-11
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPANNOUNCEMENT-11
Summary: [PATCH] Option to set different templates to be used as announcement
Type: Improvement
Status: Unassigned
Priority: Major
Original Estimate: 15 minutes
Time Spent: Unknown
Remaining: 15 minutes
Project: maven-announcement-plugin
Assignee:
Reporter: Felipe Leme
Created: Tue, 13 Jul 2004 1:54 PM
Updated: Thu, 15 Jul 2004 1:40 PM
Environment: maven-plugins from CVS main branch
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)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]