You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Cabasson Denis <de...@insee.fr> on 2006/07/26 10:14:37 UTC

Modello & maven-changes-plugin

My question is rather simple (I'm asking here, because I can't find any
modello mailing list).
 
Can modello handle situations such as:
<author email="jruiz@exist.com">Johnny R. Ruiz III</author>

a tag with text data along with an attribute?



I'm looking into changes plugin to have it use a modello model, but there is
not much as a matter of modello documentation/example as far as attributes
are concerned.

>From modello's point of view, attributes are bad, but I think changing the
changes file format is not an option (at this point).

Maybe we could suggest a new model (without attributes, which would greatly
help for http://jira.codehaus.org/browse/MCHANGES-47
<http://jira.codehaus.org/browse/MCHANGES-47>  ) and keep backward
compatibility using and adequate XSLT transformation?

Denis.

Re: Modello & maven-changes-plugin

Posted by Trygve Laugstøl <tr...@apache.org>.
Cabasson Denis wrote:
> My question is rather simple (I'm asking here, because I can't find any
> modello mailing list).
>  
> Can modello handle situations such as:
> <author email="jruiz@exist.com">Johnny R. Ruiz III</author>

Yes, but the email should come from the pom instead of beeing duplicated 
there. Actually, all the information about the developer should come 
from the pom and the author should just be an id-based reference.

--
Trygve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Modello & maven-changes-plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
Create an account on Xircle and subscribe to dev list (I'm not sure there are all people on users 
list)(http://xircles.codehaus.org/projects/modello/lists)

But yes, you can use attribute.

Emmanuel

Cabasson Denis a écrit :
> My question is rather simple (I'm asking here, because I can't find any
> modello mailing list).
>  
> Can modello handle situations such as:
> <author email="jruiz@exist.com">Johnny R. Ruiz III</author>
> 
> a tag with text data along with an attribute?
> 
> 
> 
> I'm looking into changes plugin to have it use a modello model, but there is
> not much as a matter of modello documentation/example as far as attributes
> are concerned.
> 
>>>From modello's point of view, attributes are bad, but I think changing the
> changes file format is not an option (at this point).
> 
> Maybe we could suggest a new model (without attributes, which would greatly
> help for http://jira.codehaus.org/browse/MCHANGES-47
> <http://jira.codehaus.org/browse/MCHANGES-47>  ) and keep backward
> compatibility using and adequate XSLT transformation?
> 
> Denis.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org