I hope you got the info you wanted. The page filtering is only available
in the 2.0-beta-6-SNAPSHOT plugin. See here, under "filtering":

http://maven.apache.org/plugins/maven-site-plugin/usage.html

I have also found that certain values will not filter properly into the
site file. It's too convoluted for me to be able to know specifically
which ones: I think that properties defined in profiles, which profiles
are defined in the settings file, do not work right.

Ciao!


On Tue, 2007-10-23 at 11:32 +0200, LAMY Olivier wrote:
> Here : 
> http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html
>   
> 
> 
> --
> Olivier
> -----Message d'origine-----
> De : Rémy Sanlaville [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 23 octobre 2007 11:12
> À : Maven Users List
> Objet : Re: Site Plugin 2.0-beta-6-SNAPSHOT ".vm" filtering fails now
> 
> Really nice, I will use it as soon as possible.
> I think this new feature is very useful and lot of people ask for it.
> 
> I am not sure that it is very well known.
> It will be great to upgrade the maven-site-plugin website to indicate this 
> filtering feature.
> 
> Thanks,
> 
> Rémy
> 
> Le 23/10/07, LAMY Olivier <[EMAIL PROTECTED]> a écrit :
> >
> > Work in last snapshot.
> >
> > I have just try with this content in site.xml :
> >
> >     <breadcrumbs>
> >       <item name="Maven" 
> > href="http://maven.apache.org/${currentVersion}
> > "/>
> >       <item name="Maven" href="http://maven.apache.org/${cliVar}"/>
> >     </breadcrumbs>
> >
> >
> > In the pom :
> >
> >   <properties>
> >     <currentVersion>2.0.7</currentVersion>
> >     <cliVar>${cliVar}</cliVar>
> >   </properties>
> >
> > In my cli : mvn clean site -DcliVar=test
> >
> >
> > Generated content :
> > <a href="http://maven.apache.org/2.0.7"; class="externalLink">Maven</a> 
> > <a href="http://maven.apache.org/test"; class="externalLink">Maven</a>
> >
> > --
> > Olivier
> >
> >
> 
> 
> This e-mail, any attachments and the information contained therein ("this 
> message") are confidential and intended solely for the use of the 
> addressee(s). If you have received this message in error please send it back 
> to the sender and delete it. Unauthorized publication, use, dissemination or 
> disclosure of this message, either in whole or in part is strictly prohibited.
> ********************************************************************** 
> Ce message électronique et tous les fichiers joints ainsi que  les 
> informations contenues dans ce message ( ci après "le message" ), sont 
> confidentiels et destinés exclusivement à l'usage de la  personne à laquelle 
> ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le 
> renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, 
> totale ou partielle ou divulgation sous quelque forme que se soit non 
> expressément autorisées de ce message, sont interdites.
> ********************************************************************** 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to