[
http://jira.codehaus.org/browse/MFINDBUGS-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=192141#action_192141
]
Sebastien Gringoire commented on MFINDBUGS-92:
----------------------------------------------
the includeFilter and excludeFilter does not take an URI on the 2.0.1 version
of the plugin.
[INFO] Excecuting findbugs:check
[INFO] Using maximum effort.
[INFO] Using FindBugs Version: 1.3.8
[INFO] Using high threshold.
[INFO] Debugging is Off
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Could not find resource
'http://myhost:9000/rules_configuration/export/java/myproject/findbugs.xml'.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.codehaus.plexus.resource.loader.ResourceNotFoundException: Could not find
resource
'http://myhost:9000/rules_configuration/export/java/myproject/findbugs.xml'.
at
org.codehaus.plexus.resource.DefaultResourceManager.getResourceAsInputStream(DefaultResourceManager.java:91)
at
org.codehaus.plexus.resource.DefaultResourceManager.getResourceAsFile(DefaultResourceManager.java:117)
at
org.codehaus.plexus.resource.DefaultResourceManager.getResourceAsFile(DefaultResourceManager.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...
> Allow the use or URIs for includeFilter and excludeFilter -(CLONE)
> ------------------------------------------------------------------
>
> Key: MFINDBUGS-92
> URL: http://jira.codehaus.org/browse/MFINDBUGS-92
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Improvement
> Reporter: Sebastien Gringoire
> Assignee: Garvin LeClaire
>
> It seems impossible to use URI to declare an include or exclude filter
> definition :
> * http://intra.svn.mycompany.com/conf/findbugs-exclude.xml
> * file:///C:/path/to/conf/findbugs-exclude.xml
> None of these work.
> I am not sure if it the best way to do it, but I added two properties in the
> Mojo : includeFilterUri and excludeFilterUri. I also modified the
> addFilterToFindBugs method to take this into account (see the patch attached).
--
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