You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Deblauwe, Wim" <wi...@barco.com> on 2005/03/15 15:54:24 UTC

navigation.xml question

Hi,
 
2 questions about navigation.xml:
 
1) When I use this:
 
<project name="${pom.artifactId}">
 
  <!-- Page Title -->
  <title>${pom.artifactId}</title>
....
</project>
 
Then the property is not correctly expanded. Is this a known bug or is it
not possible to use such properties?
 
2) What is the preferred way to include a link to the pdf version of the
documentation (generated using the pdf goal)? How do I get the nice icon
like on the maven site (although there seem to be 2 icons there, pointing to
the same pdf)
 
regards,
 
Wim

  
Ing. Wim Deblauwe 
Software Development Engineer 
  
BarcoView - Medical Imaging Systems 
President Kennedypark 35 
B-8500 Kortrijk, Belgium 
Tel. +32 56 233 985 Fax +32 56 233 457 
www.barco.com <http://www.barco.com/>  
wim.deblauwe@barco.com <ma...@barco.com> 

 
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

Re: navigation.xml question

Posted by Brett Porter <br...@gmail.com>.
> 2 questions about navigation.xml:
> 
> 1) When I use this:
> 
> <project name="${pom.artifactId}">

Not currently possible - the XDoc's are not scripts.

> 2) What is the preferred way to include a link to the pdf version of the
> documentation (generated using the pdf goal)? How do I get the nice icon
> like on the maven site (although there seem to be 2 icons there, pointing to
> the same pdf)

The 2 icons are probably because you installed the Firefox extension
that displays a PDF icon next to the PDF link :)

- Brett

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


RE: navigation.xml question

Posted by Arnaud HERITIER <ah...@gmail.com>.
> 
> Hi,
>  
> 2 questions about navigation.xml:
>  
> 1) When I use this:
>  
> <project name="${pom.artifactId}">
>  
>   <!-- Page Title -->
>   <title>${pom.artifactId}</title>
> ....
> </project>
>  
> Then the property is not correctly expanded. Is this a known 
> bug or is it not possible to use such properties?

You can do something like that :

http://cvs.apache.org/viewcvs.cgi/maven-plugins/pdf/src/plugin-test/xdocs/navigation.xml?rev=1.2&view=markup


>  
> 2) What is the preferred way to include a link to the pdf 
> version of the documentation (generated using the pdf goal)? 
> How do I get the nice icon like on the maven site (although 
> there seem to be 2 icons there, pointing to the same pdf)

For example :
<item name="PDF Documentation" href="/maven-pdf-plugin.pdf" img="/images/pdf.gif" target="_blank"/>


Arnaud



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