You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Raphael Philipe Mendes da Silva <rs...@cpqd.com.br> on 2004/05/06 21:07:54 UTC

Javadoc

  Why when i run a "maven javadoc:install" maven generates a jar in the root directory?
  There are some way to put this jar in another place? There are some property that do this?

Thanks for all

Raphael Philipe Mendes da Silva
DSB - Diretoria de Soluções em Billing
CPqD Telecom & IT Solutions
Tel.: +55 19 3705-6957
www.cpqd.com.br
rsilva@cpqd.com.br


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


Re: Javadoc

Posted by di...@multitask.com.au.
I'll fix that one.
--
dIon Gillard, Multitask Consulting



dion_gillard@multitask.com.au wrote on 07/05/2004 12:10:15 PM:

> I believe this is a bug in the javadoc:jar goal:
> 
>   <goal name="javadoc:jar" prereqs="javadoc">
>     <j:set var="maven.javadoc.final.name" 
> value="${maven.war.build.dir}/${maven.final.name}_javadoc.jar" 
> /> 
>     <ant:jar 
>          destfile="${maven.javadoc.final.name}"
>          basedir="${maven.javadoc.destdir}" 
>          update="true">
>     </ant:jar>
> 
> It uses (for some unknown reason) the maven.war.build.dir property, 
which 
> is completely bizarre.
> --
> dIon Gillard, Multitask Consulting
> 
> 
> 
> "Raphael Philipe Mendes da Silva" <rs...@cpqd.com.br> wrote on 
06/05/2004 
> 04:07:54 PM:
> 
> >   Why when i run a "maven javadoc:install" maven generates a jar in 
> > the root directory?
> >   There are some way to put this jar in another place? There are 
> > some property that do this?
> > 
> > Thanks for all
> > 
> > Raphael Philipe Mendes da Silva
> > DSB - Diretoria de Soluções em Billing
> > CPqD Telecom & IT Solutions
> > Tel.: +55 19 3705-6957
> > www.cpqd.com.br
> > rsilva@cpqd.com.br
> > 
> > 
> > ---------------------------------------------------------------------
> > 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: Javadoc

Posted by di...@multitask.com.au.
I believe this is a bug in the javadoc:jar goal:

  <goal name="javadoc:jar" prereqs="javadoc">
    <j:set var="maven.javadoc.final.name" 
           value="${maven.war.build.dir}/${maven.final.name}_javadoc.jar" 
/> 
    <ant:jar 
         destfile="${maven.javadoc.final.name}"
         basedir="${maven.javadoc.destdir}" 
         update="true">
    </ant:jar>

It uses (for some unknown reason) the maven.war.build.dir property, which 
is completely bizarre.
--
dIon Gillard, Multitask Consulting



"Raphael Philipe Mendes da Silva" <rs...@cpqd.com.br> wrote on 06/05/2004 
04:07:54 PM:

>   Why when i run a "maven javadoc:install" maven generates a jar in 
> the root directory?
>   There are some way to put this jar in another place? There are 
> some property that do this?
> 
> Thanks for all
> 
> Raphael Philipe Mendes da Silva
> DSB - Diretoria de Soluções em Billing
> CPqD Telecom & IT Solutions
> Tel.: +55 19 3705-6957
> www.cpqd.com.br
> rsilva@cpqd.com.br
> 
> 
> ---------------------------------------------------------------------
> 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: Javadoc

Posted by Arnaud Heritier <ar...@laposte.net>.
By default the jar is created in: 
${maven.war.build.dir}

If it is possible for you, you can modify it.

Otherwise you can create a postGoal to move the jar.

Arnaud.

> -----Message d'origine-----
> De : Raphael Philipe Mendes da Silva [mailto:rsilva@cpqd.com.br]
> Envoyé : jeudi 6 mai 2004 21:08
> À : Maven Users List (E-mail)
> Objet : Javadoc
> 
>   Why when i run a "maven javadoc:install" maven generates a jar in the
> root directory?
>   There are some way to put this jar in another place? There are some
> property that do this?
> 
> Thanks for all
> 
> Raphael Philipe Mendes da Silva
> DSB - Diretoria de Soluções em Billing
> CPqD Telecom & IT Solutions
> Tel.: +55 19 3705-6957
> www.cpqd.com.br
> rsilva@cpqd.com.br
> 
> 
> ---------------------------------------------------------------------
> 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