www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: SonarQube analysis fails for PDBox
Date Sun, 03 May 2015 10:05:54 GMT
No. The main difference is java 1.7 :-)

This version is now mandatory with last sonar.
I finished upgraded sonar to 5.1 yesterday but busy weekend so didn't have
time to upgrade projects to use 1.7

--
Olivier
On 3 May 2015 19:57, "Tilman Hausherr" <THausherr@t-online.de> wrote:

> The last analysis of PDFBox is from April 29. SonarQube was updated to
> version 5 shortly after that. Now the build fails:
>
> https://analysis.apache.org/jenkins/job/pdfbox/668/console
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project
> pdfbox-reactor: Execution default-cli of goal
> org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: An API
> incompatibility was encountered while executing
> org.codehaus.mojo:sonar-maven-plugin:2.6:sonar:
> java.lang.UnsupportedClassVersionError: org/sonar/api/utils/SonarException
> : Unsupported major.minor version 51.0
>
> A look at
> https://analysis.apache.org/dashboard/?did=5
> shows that only 8 projects have been updated since April 29.
>
> Here's a project where the analysis succeeded:
> https://analysis.apache.org/jenkins/job/directmemory/136/consoleFull
>
> The difference with PDFBox is that directmemory is using a newer maven
> version:
>
> pdfbox:
>
> /x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Maven_MavenInstallation/maven-3.0.4/bin/mvn
> -f /x1/jenkins/jenkins-master/jenkins-home/jobs/pdfbox/workspace/pom.xml -e
> -B org.codehaus.mojo:sonar-maven-plugin:2.6:sonar
> -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://
> 192.168.0.64:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
> ******** ******** -Dsonar.host.url=http://localhost:9090 ******** ********
>
> directmemory:
> /x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Maven_MavenInstallation/maven-3.2.1/bin/mvn
> -f
> /x1/jenkins/jenkins-master/jenkins-home/jobs/directmemory/workspace/pom.xml
> -e -B org.codehaus.mojo:sonar-maven-plugin:2.4:sonar
> -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://
> 192.168.0.64:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
> ******** ******** -Dsonar.host.url=http://localhost:9090 ********
> ********
> -Dmaven.repo.local=/x1/jenkins/jenkins-master/jenkins-home/maven-repositories/0
>
> So I'd ask that our project be updated to 3.2.1 or whatever is best.
>
> Tilman
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message