You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Krishnamurthi, Venkat " <ve...@citi.com> on 2008/09/12 16:23:39 UTC

Specifying jdk version for maven-javadoc-plugin

 
Hi,

I'm using jdk 1.6 for the maven compiler plugin. But JAVA_HOME env is
set to jdk 1.5. So during the site phase, generating javadoc goal fails.
It's because it still uses jdk 1.5. Is there a way to specify the jdk
version to be used for the maven-javadoc-plugin and also following
plugins:

maven-pmd-plugin
cobertura-maven-plugin

Thanks,
Venkat

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


RE: Specifying jdk version for maven-javadoc-plugin

Posted by "Krishnamurthi, Venkat " <ve...@citi.com>.
Yeah. We have to have both jdk5 and jdk6. Only very few projects in
cruisecontrol use jdk.. 

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Friday, September 12, 2008 1:41 PM
To: Maven Users List
Subject: Re: Specifying jdk version for maven-javadoc-plugin

Err, point at JDK6. ;-)

Wayne

On Fri, Sep 12, 2008 at 10:40 AM, Wayne Fay <wa...@gmail.com> wrote:
> Is there a reason you cannot simply update the JAVA_HOME to point it
at JDK5?
>
> Wayne
>
> On Fri, Sep 12, 2008 at 7:23 AM, Krishnamurthi, Venkat 
> <ve...@citi.com> wrote:
>>
>> Hi,
>>
>> I'm using jdk 1.6 for the maven compiler plugin. But JAVA_HOME env is

>> set to jdk 1.5. So during the site phase, generating javadoc goal
fails.
>> It's because it still uses jdk 1.5. Is there a way to specify the jdk

>> version to be used for the maven-javadoc-plugin and also following
>> plugins:
>>
>> maven-pmd-plugin
>> cobertura-maven-plugin
>>
>> Thanks,
>> Venkat
>>
>> ---------------------------------------------------------------------
>> 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: Specifying jdk version for maven-javadoc-plugin

Posted by Wayne Fay <wa...@gmail.com>.
Err, point at JDK6. ;-)

Wayne

On Fri, Sep 12, 2008 at 10:40 AM, Wayne Fay <wa...@gmail.com> wrote:
> Is there a reason you cannot simply update the JAVA_HOME to point it at JDK5?
>
> Wayne
>
> On Fri, Sep 12, 2008 at 7:23 AM, Krishnamurthi, Venkat
> <ve...@citi.com> wrote:
>>
>> Hi,
>>
>> I'm using jdk 1.6 for the maven compiler plugin. But JAVA_HOME env is
>> set to jdk 1.5. So during the site phase, generating javadoc goal fails.
>> It's because it still uses jdk 1.5. Is there a way to specify the jdk
>> version to be used for the maven-javadoc-plugin and also following
>> plugins:
>>
>> maven-pmd-plugin
>> cobertura-maven-plugin
>>
>> Thanks,
>> Venkat
>>
>> ---------------------------------------------------------------------
>> 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: Specifying jdk version for maven-javadoc-plugin

Posted by Wayne Fay <wa...@gmail.com>.
Is there a reason you cannot simply update the JAVA_HOME to point it at JDK5?

Wayne

On Fri, Sep 12, 2008 at 7:23 AM, Krishnamurthi, Venkat
<ve...@citi.com> wrote:
>
> Hi,
>
> I'm using jdk 1.6 for the maven compiler plugin. But JAVA_HOME env is
> set to jdk 1.5. So during the site phase, generating javadoc goal fails.
> It's because it still uses jdk 1.5. Is there a way to specify the jdk
> version to be used for the maven-javadoc-plugin and also following
> plugins:
>
> maven-pmd-plugin
> cobertura-maven-plugin
>
> Thanks,
> Venkat
>
> ---------------------------------------------------------------------
> 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