Thank you all for your help. When I run from the root, I get a successful build but the surefire report show 0 tests run.
How is one suppose to run a "full build", tests, site and all? Gary On Mon, Oct 31, 2011 at 7:58 PM, sebb <seb...@gmail.com> wrote: > On 31 October 2011 23:39, ralph.goers @dslextreme.com > <ralph.go...@dslextreme.com> wrote: > > I ran it from the project root, not core. > > Likewise. > > > I've never tried to run mvn site from a subdirectory. > > It fails for me too when running from core. > > This may be a bug in the findbugs plugin - see > > > http://maven.apache.org/plugin-developers/common-bugs.html#Resolving_Relative_Paths > > I suggest you try reporting it as such. > > > Ralph > > > > On Mon, Oct 31, 2011 at 2:11 PM, Gary Gregory <garydgreg...@gmail.com > >wrote: > > > >> Thank you for checking. What dir did you run from? > >> > >> Gary > >> > >> On Oct 31, 2011, at 16:46, "ralph.goers @dslextreme.com" > >> <ralph.go...@dslextreme.com> wrote: > >> > >> > I did an svn up and ran mvn site with Maven 3. I had no problems. > >> > > >> > Ralph > >> > > >> > On Mon, Oct 31, 2011 at 10:39 AM, Gary Gregory < > garydgreg...@gmail.com > >> >wrote: > >> > > >> >> When I run "mvn clean site" in the VFS core directory, I get: > >> >> > >> >> [ERROR] Could not find resource 'findbugs-exclude-filter.xml'. -> > [Help > >> 1] > >> >> org.codehaus.plexus.resource.loader.ResourceNotFoundException: Could > not > >> >> find resource 'findbugs-exclude-filter.xml'. > >> >> at > >> >> > >> >> > >> > org.codehaus.plexus.resource.DefaultResourceManager.getResourceAsInputStream(DefaultResourceManager.java:91) > >> >> at > >> >> > >> >> > >> > org.codehaus.plexus.resource.DefaultResourceManager.getResourceAsFile(DefaultResourceManager.java:117) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:738) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:726) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) > >> >> at > >> >> > >> >> > >> > org.codehaus.mojo.findbugs.FindBugsMojo.getResourceFile(FindBugsMojo.groovy:1059) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:338) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) > >> >> at > >> >> > >> >> > >> > org.codehaus.mojo.findbugs.FindBugsMojo$_executeFindbugs_closure4_closure13.doCall(FindBugsMojo.groovy:835) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:249) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) > >> >> at groovy.lang.Closure.call(Closure.java:292) > >> >> at groovy.lang.Closure.call(Closure.java:305) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1068) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1045) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:51) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.metaclass.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:54) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:738) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:726) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) > >> >> at > >> >> > >> >> > >> > org.codehaus.mojo.findbugs.FindBugsMojo$_executeFindbugs_closure4.doCall(FindBugsMojo.groovy:833) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:249) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) > >> >> at > >> >> > >> >> > >> > org.codehaus.mojo.findbugs.FindBugsMojo$_executeFindbugs_closure4.doCall(FindBugsMojo.groovy) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:249) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) > >> >> at groovy.lang.Closure.call(Closure.java:292) > >> >> at groovy.lang.Closure.call(Closure.java:287) > >> >> at > >> >> groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:143) > >> >> at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:149) > >> >> at > groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:756) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:730) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) > >> >> at > >> >> > >> >> > >> > org.codehaus.mojo.findbugs.FindBugsMojo.executeFindbugs(FindBugsMojo.groovy:760) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > >> >> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > >> >> at > groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) > >> >> at > >> >> > >> >> > >> > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) > >> >> at > >> >> > >> >> > >> > org.codehaus.mojo.findbugs.FindBugsMojo.executeReport(FindBugsMojo.groovy:562) > >> >> at > >> >> > >> >> > >> > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190) > >> >> at > >> >> > >> >> > >> > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:165) > >> >> at > >> >> > >> >> > >> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:330) > >> >> at > >> >> > >> >> > >> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134) > >> >> at > >> >> > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:159) > >> >> at > >> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:122) > >> >> at > >> >> > >> >> > >> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) > >> >> at > >> >> > >> >> > >> > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) > >> >> at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) > >> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > >> >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > >> >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > >> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> at > >> >> > >> >> > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> >> at > >> >> > >> >> > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> >> at java.lang.reflect.Method.invoke(Method.java:597) > >> >> at > >> >> > >> >> > >> > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) > >> >> at > >> >> > >> > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > >> >> at > >> >> > >> >> > >> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > >> >> at > >> >> > >> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > >> >> > >> >> Any ideas? > >> >> > >> >> Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) > >> >> Maven home: C:\Java\apache-maven-3.0.3\bin\.. > >> >> Java version: 1.6.0_29, vendor: Sun Microsystems Inc. > >> >> Java home: C:\Program Files\Java\jdk1.6.0_29\jre > >> >> Default locale: en_US, platform encoding: Cp1252 > >> >> OS name: "windows 7", version: "6.1", arch: "amd64", family: > "windows" > >> >> > >> >> Same kind of error on Maven 2: > >> >> > >> >> [ERROR] BUILD ERROR > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [INFO] Error during page generation > >> >> > >> >> Embedded error: Error rendering Maven report: error while invoking > >> generate > >> >> Could not find resource 'findbugs-exclude-filter.xml'. > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> > >> >> Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) > >> >> Java version: 1.6.0_29 > >> >> Java home: C:\Program Files\Java\jdk1.6.0_29\jre > >> >> Default locale: en_US, platform encoding: Cp1252 > >> >> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows" > >> >> > >> >> > >> >> Thank you, > >> >> > >> >> -- > >> >> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > >> >> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 > >> >> Spring Batch in Action: <http://s.apache.org/HOq> > http://bit.ly/bqpbCK > >> >> Blog: http://garygregory.wordpress.com > >> >> Home: http://garygregory.com/ > >> >> Tweet! http://twitter.com/GaryGregory > >> >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > >> For additional commands, e-mail: dev-h...@commons.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory