Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> FindBugs-related build error


Copy link to this message
-
Re: FindBugs-related build error
I noticed you are missing the "s" on -DskipTests (mvn -DskipTest package),
but that's probably unrelated.
On Wed, Jun 20, 2012 at 7:47 PM, Ted Yu <[EMAIL PROTECTED]> wrote:

> I don't see the following in your output w.r.t. findbugs-maven-plugin:
>
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO]
> [INFO] --- findbugs-maven-plugin:2.4.0:findbugs (default) @ hbase ---
>
> Strange.
>
> On Wed, Jun 20, 2012 at 7:32 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
>
> > ~/trunk$ find . -name findbugs-exclude.xml
> > ./dev-support/findbugs-exclude.xml
> >
> > What version of maven are you using ?
> > I use the following and didn't see the following error:
> >
> > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
> >
> >
> > On Wed, Jun 20, 2012 at 7:16 PM, Mikhail Bautin <
> > [EMAIL PROTECTED]> wrote:
> >
> >> Hello,
> >>
> >> Has anyone seen the following error building HBase trunk? I must admit I
> >> haven't built the official trunk for a while, certainly not after the
> >> split
> >> into hbase-common and hbase-server happened.
> >>
> >> > mvn -DskipTest package
> >> [INFO] Scanning for projects...
> >> [INFO] Reactor build order:
> >> [INFO]   HBase
> >> [INFO]   HBase - Common
> >> [INFO]   HBase - Server
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Building HBase
> >> [INFO]    task-segment: [package]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Setting property: classpath.resource.loader.class =>
> >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> >> [INFO] Setting property: velocimacro.messages.on => 'false'.
> >> [INFO] Setting property: resource.loader => 'classpath'.
> >> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> >> [INFO] [remote-resources:process {execution: default}]
> >> [WARNING] DEPRECATED [findbugsXmlOutput]: No reason given
> >> [INFO] [findbugs:findbugs {execution: default}]
> >> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Building HBase - Common
> >> [INFO]    task-segment: [package]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] [remote-resources:process {execution: default}]
> >> [INFO] [resources:resources {execution: default-resources}]
> >> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >> [INFO] skip non existing resourceDirectory
> >> /Users/mbautin/workdirs/hbase-apache/hbase-common/src/main/resources
> >> [INFO] Copying 3 resources
> >> [INFO] [compiler:compile {execution: default-compile}]
> >> [INFO] Nothing to compile - all classes are up to date
> >> [WARNING] DEPRECATED [findbugsXmlOutput]: No reason given
> >> [INFO] [findbugs:findbugs {execution: default}]
> >> [INFO] Fork Value is true
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] FATAL ERROR
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Could not find resource
> >>
> >>
> '/Users/mbautin/workdirs/hbase-apache/hbase-common/dev-support/findbugs-exclude.xml'.
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Trace
> >> org.codehaus.plexus.resource.loader.ResourceNotFoundException: Could not
> >> find resource
> >>
> >>
> '/Users/mbautin/workdirs/hbase-apache/hbase-common/dev-support/findbugs-exclude.xml'.
> >> at
> >>
> >>
> org.codehaus.plexus.resource.DefaultResourceManager.getResourceAsInputStream(DefaultResourceManager.java:91)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> at
> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)