You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Teemu Hiltunen <Te...@uta.fi> on 2004/11/19 12:23:26 UTC

How to create Downloads page into site?

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: is maven.xdoc.distributionUrl working?

Posted by Charles Daniels <cj...@yahoo.com>.
> -----Original Message-----
> From: Michael Niemaz [mailto:Michael.Niemaz@xrce.xerox.com] 
> 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
> ><te...@uta.fi> 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: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >>    
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >.
> >
> >  
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


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


is maven.xdoc.distributionUrl working?

Posted by Michael Niemaz <Mi...@xrce.xerox.com>.
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 ;-)

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
><te...@uta.fi> 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: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>.
>
>  
>

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


Re: How to create Downloads page into site? [SOLVED]

Posted by Michael Niemaz <Mi...@xrce.xerox.com>.
I solved my problem which was to insert the distribution files
.zip and .tar.gz in the download page.
Adding the following in the project properties made the trick:

    maven.xdoc.distributionType=zip

However, I can not say why it suddenly turned to work because I've been 
trying
this for ages and it's only lately that I could see the download page 
fulfilled
as excepted. Must have done something somehow ;-)

Still, I don't know how to specify that there might be several formats 
to download
such zip and tar.gz

Thanx anyway,

--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
><te...@uta.fi> 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: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>.
>
>  
>

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


Re: How to create Downloads page into site?

Posted by Gezerk <ge...@gmail.com>.
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
<te...@uta.fi> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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