You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mattux <ma...@hotmail.com> on 2007/11/13 12:17:01 UTC

APT and repeating values

Hi all, I would like to know if there is a way to list repeating values like
contributors in my own apt file, using mvn site to generate apt to html.

Cheers
-- 
View this message in context: http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13723901
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: APT and repeating values

Posted by Mattux <ma...@hotmail.com>.
I found the solution, cheers

  #foreach( $contributor in $project.contributors )
    $contributor.name
  #end


Mattux wrote:
> 
> Hi all, I would like to know if there is a way to list repeating values
> like contributors in my own apt file, using mvn site to generate apt to
> html.
> 
> Cheers
> 

-- 
View this message in context: http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13724182
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: APT and repeating values

Posted by Lukas Theussl <lt...@apache.org>.
It's going to be in 2.0-beta-6, see 
http://jira.codehaus.org/browse/MSITE-223

Note however that only .vm files get filtered.

HTH,
-Lukas


Marat Radchenko wrote:
> Hi, Mattux!
> 
> Could you tell me, what version of maven-site-plugin (or doxia or
> whatever) supports velocity expressions in APT files? As fas as I
> understand, current maven-site-plugin release does not.
> 
> 2007/11/13, Mattux <ma...@hotmail.com>:
> 
>>Hi all, I would like to know if there is a way to list repeating values like
>>contributors in my own apt file, using mvn site to generate apt to html.
>>
>>Cheers
>>--
>>View this message in context: http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13723901
>>Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

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


Re: APT and repeating values

Posted by Marat Radchenko <sl...@gmail.com>.
Thanks

2007/11/14, Mattux <ma...@hotmail.com>:
>
> Hi, i'm using 2.0-beta-6-SNAPSHOT. Also, if you want to use properties from
> the pom in your apt files (eg ${project.artifactId}) you need to rename your
> .apt to .vm.
>
> I hope that could help you, dont hesitate if you need more informations
>
>
> Marat Radchenko-2 wrote:
> >
> > Hi, Mattux!
> >
> > Could you tell me, what version of maven-site-plugin (or doxia or
> > whatever) supports velocity expressions in APT files? As fas as I
> > understand, current maven-site-plugin release does not.
> >
> > 2007/11/13, Mattux <ma...@hotmail.com>:
> >>
> >> Hi all, I would like to know if there is a way to list repeating values
> >> like
> >> contributors in my own apt file, using mvn site to generate apt to html.
> >>
> >> Cheers
> >> --
> >> View this message in context:
> >> http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13723901
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13742570
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: APT and repeating values

Posted by Mattux <ma...@hotmail.com>.
Hi, i'm using 2.0-beta-6-SNAPSHOT. Also, if you want to use properties from
the pom in your apt files (eg ${project.artifactId}) you need to rename your
.apt to .vm.

I hope that could help you, dont hesitate if you need more informations


Marat Radchenko-2 wrote:
> 
> Hi, Mattux!
> 
> Could you tell me, what version of maven-site-plugin (or doxia or
> whatever) supports velocity expressions in APT files? As fas as I
> understand, current maven-site-plugin release does not.
> 
> 2007/11/13, Mattux <ma...@hotmail.com>:
>>
>> Hi all, I would like to know if there is a way to list repeating values
>> like
>> contributors in my own apt file, using mvn site to generate apt to html.
>>
>> Cheers
>> --
>> View this message in context:
>> http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13723901
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13742570
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: APT and repeating values

Posted by Marat Radchenko <sl...@gmail.com>.
Hi, Mattux!

Could you tell me, what version of maven-site-plugin (or doxia or
whatever) supports velocity expressions in APT files? As fas as I
understand, current maven-site-plugin release does not.

2007/11/13, Mattux <ma...@hotmail.com>:
>
> Hi all, I would like to know if there is a way to list repeating values like
> contributors in my own apt file, using mvn site to generate apt to html.
>
> Cheers
> --
> View this message in context: http://www.nabble.com/APT-and-repeating-values-tf4797176s177.html#a13723901
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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