You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Olivier Lamy (JIRA)" <ji...@apache.org> on 2011/02/07 09:57:30 UTC
[jira] Closed: (INFRA-3430) Camel builds fail on sonar.a.o
[ https://issues.apache.org/jira/browse/INFRA-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed INFRA-3430.
-------------------------------
Resolution: Fixed
fixed with adding more memory on the slave.
> Camel builds fail on sonar.a.o
> ------------------------------
>
> Key: INFRA-3430
> URL: https://issues.apache.org/jira/browse/INFRA-3430
> Project: Infrastructure
> Issue Type: Task
> Security Level: public(Regular issues)
> Environment: sonar
> Reporter: Hadrian Zbarcea
> Assignee: Olivier Lamy
>
> Brett added Camel to sonar and [builds failed|http://sonar.apache.org/jenkins/job/Camel/3/console] so far which is very bad considering the time camel takes to build.
> The cause for the failure seems to be:
> {code}
> Caused by: org.sonar.api.utils.SonarException: Findbugs needs sources to be compiled. Please build project or edit pom.xml to set the <outputDirectory> property before executing sonar.
> at org.sonar.plugins.findbugs.FindbugsConfiguration.getFindbugsProject(FindbugsConfiguration.java:68)
> at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:62)
> ... 34 more
> {code}
> and there is also a (we believe related)
> {code}
> [INFO] Java bytecode scan...
> [WARN] Class 'org/apache/camel/web/Main' is not accessible through the ClassLoader.
> [WARN] Class 'org/apache/camel/web/Main' is not accessible through the ClassLoader.
> [WARN] Class 'org/apache/camel/web/Main' is not accessible through the ClassLoader.
> {code}
> above in the stack. The Main.java class referred above is the only class in the project.
> Help appreciated. If there's any maven plugin configuration we need to add to camel to support sonar I'll be more than happy to try any suggestion. I was also thinking about adding another dummy class to see if that would help as a (crazy) workaround.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira