You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Niranjan Deshpande <ni...@gmail.com> on 2008/06/04 17:56:15 UTC

Conficuring com.sun.javadoc and com.sun.tools.doclets

My application needs the Tag and Taglets class when it is compiled.
These classes are provided in JDKs tools.jar file.

Since this has not been configured in my POM, I am getting this error:

package com.sun.tools.doclets does not exist

How do i add this dependecny to the POM? AS per my understanding this is a
provided dependency (a dependency that is used to compile the application
but will not be deployed. This scope provided is used for a dependency when
we expect the JDK or the application server to provide the JAR)

Please help.


-- 
Regards,
Niranjan Deshpande

"Shut yourself from the world and create the reality you want"

Re: Conficuring com.sun.javadoc and com.sun.tools.doclets

Posted by Vincent Siveton <vi...@gmail.com>.
Hi,

Have a glance to
http://maven.apache.org/general.html#tools-jar-dependency

Cheers,

Vincent

2008/6/4, Niranjan Deshpande <ni...@gmail.com>:
> My application needs the Tag and Taglets class when it is compiled.
>  These classes are provided in JDKs tools.jar file.
>
>  Since this has not been configured in my POM, I am getting this error:
>
>  package com.sun.tools.doclets does not exist
>
>  How do i add this dependecny to the POM? AS per my understanding this is a
>  provided dependency (a dependency that is used to compile the application
>  but will not be deployed. This scope provided is used for a dependency when
>  we expect the JDK or the application server to provide the JAR)
>
>  Please help.
>
>
>
>  --
>  Regards,
>  Niranjan Deshpande
>
>  "Shut yourself from the world and create the reality you want"
>

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