Thanks Vincent!

Just what I was looking for. Actually, I kind of expected the versions element to have 
something to do with it, so I put one in my POM. Since I really didn't have any 
"official" releases of my test project, I used HEAD as tag element in my version. Had 
I been a bit smarter, I would have put several version elements in there! (The version 
element with the HEAD tag is skipped when generating the report)

If you want, - once I get my project running with this - I can make a note of what I 
did. You can use it as Download Report documentation - or you can throw it away and 
forget you ever read it. ;)

Thanks again!
Regards
Bent

 

On Tue, 22 Jun 2004 22:37:19 +0200, Vincent Massol <[EMAIL PROTECTED]> wrote:

> 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]

Reply via email to