Do you mean I have to do it by hand after the 'site' goal?
It's quiet weird. What's the point of having 'maven.xdoc.distributionUrl' then?
What the relation between <versions>, maven.xdoc.distributionUrl and the
manually created download.xml?
I'm still a nit confused ... sorry ;-(


--mike

Charles Daniels wrote:

-----Original Message-----
From: Michael Niemaz [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 4:47 AM
To: Maven Users List
Subject: is maven.xdoc.distributionUrl working?


Hi,
No matter what I affect to maven.xdoc.distributionUrl, the download
page is always empty. It only gets something when I play with <versions>
but then it only links to jar files ;-(
Do you know how to generate this download page which would list
the files contained in maven.xdoc.distributionUrl for download?
In fact, I would like to produce exactly what's on the maven download
page. Automatically of course ;-)



That is precisely how things are supposed to work with maven.xdoc.distributionUrl. If you want to produce a download page similar to the Maven download page, then you must create your own download.xml file. This is exactly what is done in the Maven project itself. See the Maven CVS repository (xdocs/start/download.xml): http://cvs.apache.org/viewcvs.cgi/maven/xdocs/start/.



Thanx,

--mike

Gezerk wrote:



Set this property: maven.xdoc.distributionUrl

From the site:
Location where the artifacts are distributed. This property is
optional. If it is not defined, then the Download report will not be
added to the navigation menu. NOTE: In the future this information
will be described in the POM. Usage example:
maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven


/plugins.


Info here:

http://maven.apache.org/reference/plugins/xdoc/properties.html


On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen
<[EMAIL PROTECTED]> wrote:




Greetings!

Is there any automagical thing to create this Downloads

page into the


site?
Like


http://maven.apache.org/reference/plugins/dist/downloads.html for


example.

Thanks in advance,

Teemu Hiltunen

------------------------------------------------------------


---------


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]


.





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


.




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



Reply via email to