Okay so I got passed my errors of missing dependencies (which are not really used) by mucking with the poms (not the best way, but it worked so I can move on). Now I get a NPE when running the site goal, which is incl'd below. How do I know what the arguments are that are needed for this goal or plugin (not sure of terminology).
[INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] [INFO] Generate "Continuous Integration" report. [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 [INFO] Generate "Dependencies" report. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225) at org.apache.maven.report.projectinfo.DependenciesReport $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362) at org.apache.maven.report.projectinfo.DependenciesReport $DependenciesRenderer.renderBody(DependenciesReport.java:286) at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65) at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Tue May 09 15:42:00 EDT 2006 [INFO] Final Memory: 7M/13M [INFO] ------------------------------------------------------------------------ Regards, Douglas WF Acheson On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote: > Hello, > > The output you see is from running [m2] with the -X option. I ran the > package goal (with -X) and the same output is produced. > > Regards, > Douglas WF Acheson > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote: > > I'm not sure where these dependencies are coming from, esp poi 1.1 is > > a very old release, so you might want to run "mvn -X package" to see > > what is bringing in poi 1.1 since it appears to be a transitive > > dependency. > > > > But here's poi, latest appears to be 2.5.1: > > http://www.ibiblio.org/maven2/poi/poi/ > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio. > > Check with the easymock project website/email list. > > > > Wayne > > > > On 5/9/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > I am trying to run the goal site for my project, and I am running into > > > problems. Specifically, unable to find required dependencies, here is > > > the output : > > > > > > 1) easymock:easymockcontainer:jar:1.0.1 > > > > > > Try downloading the file manually from the project website. > > > > > > Then, install it using the command: > > > mvn install:install-file -DgroupId=easymock > > > -DartifactId=easymockcontainer \ > > > -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file > > > > > > Path to dependency: > > > 1) mycompany:myproject:jar:5.0 > > > 2) drools:drools-decisiontables:jar:2.1 > > > 3) drools:drools-core:jar:2.1 > > > 4) easymock:easymockcontainer:jar:1.0.1 > > > > > > 2) poi:poi:jar:1.1 > > > > > > Try downloading the file manually from the project website. > > > > > > Then, install it using the command: > > > mvn install:install-file -DgroupId=poi -DartifactId=poi \ > > > -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file > > > > > > Path to dependency: > > > 1) mycompany:myproject:jar:5.0 > > > 2) drools:drools-decisiontables:jar:2.1 > > > 3) poi:poi:jar:1.1 > > > > > > > > > If these artifacts do not exist, how can I continue? I tried looking > > > for easymockcontainer on the web, but could not find it. > > > > > > Signed confused :-) > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]