You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andy Abendschein <aa...@powertagging.com> on 2014/05/15 23:35:31 UTC

maven-site-plugin unhappy with jdk 1.8?

I have recently udated my jdk from 1.7 to 1.8.
Now I am having problems with the maven-site-plugin which fails with the 
error:

     Error during page generation: Error rendering Maven report: 
Unsupported targetJdk value '1.8'.

Is there a way to specify a different targetJdk value to the plugin?
Is there a plan to update the plugin to accommodate jdk 1.8?

Thanks,
Andy

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


Re: maven-site-plugin unhappy with jdk 1.8?

Posted by Hervé BOUTEMY <he...@free.fr>.
AFAIK, the m-site-p itself doesn't have any problem with jdk 8, since it 
doesn't care about jdk
but from the little trace you give, there seem to be a reporting plugin that 
is sensitive to jdk 8: yes, some plugins have problems, we track them here [1]

just look at your error traces and you'll see which report is in cause

Regards,

Hervé


[1] http://jira.codehaus.org/browse/MNG-5551

Le jeudi 15 mai 2014 15:35:31 Andy Abendschein a écrit :
> I have recently udated my jdk from 1.7 to 1.8.
> Now I am having problems with the maven-site-plugin which fails with the
> error:
> 
>      Error during page generation: Error rendering Maven report:
> Unsupported targetJdk value '1.8'.
> 
> Is there a way to specify a different targetJdk value to the plugin?
> Is there a plan to update the plugin to accommodate jdk 1.8?
> 
> Thanks,
> Andy
> 
> ---------------------------------------------------------------------
> 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: maven-site-plugin unhappy with jdk 1.8?

Posted by Martin Gainty <mg...@hotmail.com>.

  


> Date: Thu, 15 May 2014 15:35:31 -0600
> From: aabendschein@powertagging.com
> To: users@maven.apache.org
> Subject: maven-site-plugin unhappy with jdk 1.8?
> 
> I have recently udated my jdk from 1.7 to 1.8.
> Now I am having problems with the maven-site-plugin which fails with the 
> error:
> 
> Error during page generation: Error rendering Maven report: 
> Unsupported targetJdk value '1.8'.

MG>GIYF: looks like this is targetJdk attribute from maven-pmd-plugin

The target JDK to analyse based on. Should match the target used in the compiler plugin. Valid values are currently 1.3, 1.4, 1.5 and 1.6. 
Note: support for 1.6 was added in version 2.3 of this plugin. 



Parameter:
expression="${targetJdk}

MG>http://grepcode.com/file/repo1.maven.org/maven2/org.apache.maven.plugins/maven-pmd-plugin/2.3/org/apache/maven/plugin/pmd/PmdReport.java#PmdReport.0targetJdk"

> 
> Is there a way to specify a different targetJdk value to the plugin?
> Is there a plan to update the plugin to accommodate jdk 1.8?
> 
> Thanks,
> Andy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>