The plugins have moved to http://svn.apache.org/repos/asf/maven/plugins/trunk
Gilles > -----Original Message----- > From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] > Sent: 18 January 2006 14:00 > To: Maven Users List > Subject: Re: Site plugin problem - NullPointerException > > What happened to the maven-site-plugin SVN repository? > > http://svn.apache.org/repos/asf/maven/components/trunk/ > > No maven-site-plugin folder to be found! > > On 1/18/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > > > > I am having this issue without system scope dependencies. > > > > [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.ResourceNotFoundExceptio > > n: 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] > > [WARNING] Error loading report org.apache.maven.changes.ChangesMojo - > > AbstractMethodError: canGenerateReport() > > [WARNING] Error loading report org.apache.maven.jira.JiraMojo - > > AbstractMethodError: canGenerateReport() > > [WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport - > > AbstractMethodError: canGenerateReport() > > [WARNING] Error loading report > > org.codehaus.mojo.surefire.SurefireReportMojo - AbstractMethodError: > > canGenerateReport() > > [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 > > [ERROR] RHS of #set statement is null. Context will not be modified. > > org/apache/maven/plugins/site/maven-site.vm [line 2, column 1] > > > > [ERROR] Method calculateLink threw exception for reference $PathTool in > > template org/apache/maven/plugins/site/maven- site.vm at [3 > > ,29] > > [INFO] > > ------------------------------------------------------------------------ > ---- > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > ---- > > [INFO] Error during page generation > > > > Embedded error: Error while generating code. > > Invocation of method 'calculateLink' in class > > org.codehaus.plexus.util.PathTool threw exception class > > java.lang.NullPointerExcepti > > on : null > > [INFO] > > ------------------------------------------------------------------------ > ---- > > [INFO] Trace > > org.apache.maven.lifecycle.LifecycleExecutionException: Error during > page > > generation > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals ( > > DefaultLifecycleExecutor.java:556) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( > > DefaultLifecycleExecutor.java:485) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > > DefaultLifecycleExecutor.java:455) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFa > ilures > > (DefaultLifecycleExecutor.java:303) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > ( > > DefaultLifecycleExecutor.java:270) > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > > DefaultLifecycleExecutor.java:139) > > 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:249) > > 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) > > Caused by: org.apache.maven.plugin.MojoExecutionException: Error during > > page generation > > at org.apache.maven.plugins.site.SiteMojo.execute (SiteMojo.java > > :393) > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo( > > DefaultPluginManager.java:415) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > > DefaultLifecycleExecutor.java :531) > > ... 16 more > > Caused by: org.codehaus.plexus.siterenderer.RendererException: Error > while > > generating code. > > at > > org.codehaus.plexus.siterenderer.DefaultSiteRenderer.writeTemplate( > > DefaultSiteRenderer.java :357) > > at > > org.codehaus.plexus.siterenderer.DefaultSiteRenderer.generateDocument( > > DefaultSiteRenderer.java:316) > > at org.apache.maven.plugins.site.SiteMojo.generateReportsPages( > > SiteMojo.java:813) > > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java > > :301) > > ... 18 more > > Caused by: org.apache.velocity.exception.MethodInvocationException: > > Invocation of method 'calculateLink' in class org.codehaus.ple > > xus.util.PathTool threw exception class java.lang.NullPointerException : > > null > > at org.apache.velocity.runtime.parser.node.ASTMethod.execute( > > ASTMethod.java:246) > > > > On 1/12/06, Xavier Frisaye <[EMAIL PROTECTED]> wrote: > > > > > > Alright, > > > > > > This problem is known, that's the most important. > > > We will use it when this issue will be fixed because it is not > important > > > for us at the moment. > > > > > > Thanks all for replying. > > > > > > Regards, > > > > > > Xavier > > > > > > -----Original Message----- > > > From: Paul Hepworth [mailto:[EMAIL PROTECTED] > > > Sent: jeudi 12 janvier 2006 15:21 > > > To: Maven Users List > > > Subject: RE: Site plugin problem - NullPointerException > > > > > > > > > This is a known problem and I encountered it just yesterday too. > > > > > > The problem is with system scoped dependencies. There is a fix in svn > so > > > you can compile the latest beta-4-SNAPSHOT which will fix the problem. > > > > > > Paul > > > > > > -----Original Message----- > > > From: Xavier Frisaye [mailto:[EMAIL PROTECTED] > > > Sent: 12 January 2006 14:17 > > > To: Maven Users List > > > Subject: Site plugin problem - NullPointerException > > > > > > Hi all, > > > > > > I'm encountering a problem when i use maven (2.0.1) site in our > project > > > (see logs below). > > > This is not critical at all for us but i wonder if this is a known > > > issue. > > > I know that the site plugin is beta stage but it seems the exception > > > occurs in maven core code. > > > > > > Thanks for replying, > > > > > > Regards, > > > > > > ________________________________________________ > > > Xavier Frisaye > > > Programmeur > > > T4HR > > > > > > [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] ************************************************************** > > > [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(Defau > > > ltArtifactResolver.java:82) > > > at > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau > > > ltArtifactResolver.java:63) > > > at > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit > > > ory(DefaultMavenProjectBuilder.java:387) > > > at > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository( > > > DefaultMavenProjectBuilder.java:352) > > > at > > > > org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRende > > > rer.getMavenProjectFromRepository(DependenciesReport.java:362) > > > at > > > > org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRende > > > rer.renderBody(DependenciesReport.java:286) > > > at > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMa > > > venReportRenderer.java:65) > > > at > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(Dep > > > endenciesReport.java:157) > > > at > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep > > > ort.java:98) > > > at > > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.jav > > > a:802) > > > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301) > > > at > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa > > > nager.java:432) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default > > > LifecycleExecutor.java:530) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec > > > ycle(DefaultLifecycleExecutor.java:472) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL > > > ifecycleExecutor.java:451) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle > > > Failures(DefaultLifecycleExecutor.java:303) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > > > DefaultLifecycleExecutor.java:270) > > > at > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec > > > ycleExecutor.java:139) > > > 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:249) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > > > sun.reflect.NativeMethodAccessorImpl.invoke ( > > > NativeMethodAccessorImpl.jav > > > a:39) > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > > > Impl.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) > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > This message should be regarded as confidential. If you have received > > > this email in error please notify the sender and destroy it > immediately. > > > Statements of intent shall only become binding when confirmed in hard > > > copy by an authorised signatory. The contents of this email may > relate to > > > dealings with other companies within the Detica Group plc group of > > > companies. > > > > > > Detica Limited is registered in England under No: 1337451. > > > > > > Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, > > > England. > > > > > > > > > > > > --------------------------------------------------------------------- > > > 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]
