Hi Bent,

This should probably be better documented (patches are welcome) but the
downloads.jelly report actually looks for <version> elements in your POM
to find out what versions have been released. If you haven't defined
any, no link will be created.

If you wish to understand better the logic, have a look in the xdoc
plugin, in plugin-resources/templates/downloads.jelly. You'll see the
following line:

<!-- Find list of versions by looking up the <version> element 
     in the POM -->

and then some code logic to iterate over the <version> elements.

Thanks
-Vincent

> -----Original Message-----
> From: Bent Andre Solheim [mailto:[EMAIL PROTECTED]
> Sent: 22 June 2004 19:53
> To: [EMAIL PROTECTED]
> Subject: Getting links to work in the Download report
> 
> Hello Maven users,
> 
> I have been working with Maven the last few days in hopes of using as
part
> of the development process in the company I work. Yesterday I tried to
get
> the Download Report into my project page - with limited luck. I
discovered
> that to make it appear in the first place, I had to set the
> maven.xdoc.distributionUrl in my project.properties file. So far, so
good
> - but there are no download links in the report. My question is; how
do I
> make my releases and distributions appear in this page? I would also
like
> to have a link to a "nightly build". Is this possible?
> 
> I realize a similar question was posted by J. B. Rainsberger some two
> weeks ago, but I am unable to get to the bottom of this with the
> information in that thread.
> 
> Any pointers, links, tips or walk-throughs are greatly appreciated! :)
> 
> 
> Best regards
> Bent Andr� Solheim
> 
> By the way; really enjoy Maven! It's probably only a question of time
> before we all use it around here! :)
> 
> ---------------------------------------------------------------------
> 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