[
http://jira.codehaus.org/browse/MFINDBUGS-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142678#action_142678
]
Garvin LeClaire commented on MFINDBUGS-61:
------------------------------------------
Let me know more about your set up.
We have been using it for EAR builds without any of the issues you state.
Garvin
> Fail on project without any classes
> -----------------------------------
>
> Key: MFINDBUGS-61
> URL: http://jira.codehaus.org/browse/MFINDBUGS-61
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Henri Tremblay
> Assignee: Garvin LeClaire
> Priority: Minor
>
> I have some maven projects that don't have any classes in them (one is an ear
> project, the other a ressource jar).
> Findbugs fails on them returning a NoClassesFoundToAnalyzeException. I'm not
> sure if the plugin can fix this or if it's a findbugs issue. And yes, the
> solution below is probably the more efficient way to handle this. I think a
> more meaningful error could be returned by the plugin though (a catch around
> FindBugsMojo line 740)
> The workaround add the code below to these projects poms:
> {code:xml}
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>findbugs-maven-plugin</artifactId>
> <version>2.0.1.3.2</version>
> <configuration>
> <skip>true</skip>
> </configuration>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email