Can you add your details to that issue anyway (and watch it), I expect
that the fix will be similar if not identical.

- Brett

On 11/5/05, Thomas Van de Velde <[EMAIL PROTECTED]> wrote:
> Nope. I have this:
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd ">
>         <modelVersion>4.0.0</modelVersion>
>         <parent>
>                 <groupId>com.whatever.more.prm</groupId>
>                 <artifactId>prm-project</artifactId>
>                 <version>1.0</version>
>         </parent>
>         <artifactId>prm-prototype</artifactId>
>         <groupId>com.whataever.more.prm.proto</groupId>
>         <packaging>jar</packaging>
>         <name>PRM Prototype</name>
>         <dependencies>
>                 <dependency>
>                         <artifactId>mysql-connector-java</artifactId>
>                         <groupId>mysql</groupId>
>                         <version>3.0.10</version>
>                         <scope>provided</scope>
>                 </dependency>
>                 <dependency>
>                         <artifactId>junit</artifactId>
>                         <groupId>junit</groupId>
>                         <version>3.8.1</version>
>                         <scope>test</scope>
>                 </dependency>
>                 <dependency>
>                         <artifactId>spring-webmvc</artifactId>
>                         <groupId>springframework</groupId>
>                         <version>1.2.5</version>
>                 </dependency>
>                 <dependency>
>                         <artifactId>geronimo-spec-jta</artifactId>
>                         <groupId>geronimo-spec</groupId>
>                         <version>1.0-M1</version>
>                         <scope>provided</scope>
>                 </dependency>
>                 <dependency>
>                         <artifactId>spring-hibernate</artifactId>
>                         <groupId>springframework</groupId>
>                         <version>1.2.5</version>
>                         <exclusions>
>                                 <exclusion>
>                                         <artifactId>toplink-api</artifactId>
>                                         <groupId>com.oracle</groupId>
>                                 </exclusion>
>                                 <exclusion>
>                                         <artifactId>jacc</artifactId>
>                                         <groupId>javax.security</groupId>
>                                 </exclusion>
>                                 <exclusion>
>                                         <artifactId>ejb</artifactId>
>                                         <groupId>javax.persistence</groupId>
>                                 </exclusion>
>                                 <exclusion>
>                                         <artifactId>jdo</artifactId>
>                                         <groupId>javax.jdo</groupId>
>                                 </exclusion>
>                         </exclusions>
>                 </dependency>
>                 <dependency>
>                         <artifactId>spring-mock</artifactId>
>                         <groupId>springframework</groupId>
>                         <version>1.2.5</version>
>                         <exclusions>
>                                 <exclusion>
>                                         <artifactId>jta</artifactId>
>                                         <groupId>javax.transaction</groupId>
>                                 </exclusion>
>                                 <exclusion>
>                                         <artifactId>jdbc-stdext</artifactId>
>                                         <groupId>javax.sql</groupId>
>                                 </exclusion>
>                                 <exclusion>
>                                         <artifactId>jsf-api</artifactId>
>                                         <groupId>javax.faces</groupId>
>                                 </exclusion>
>                         </exclusions>
>                 </dependency>
>         </dependencies>
> </project>
>
> and the one I extend from:
>
> <project>
>         <modelVersion>4.0.0</modelVersion>
>         <groupId>com.whatever.more.prm</groupId>
>         <version>1.0</version>
>         <artifactId>prm-project</artifactId>
>         <packaging>pom</packaging>
>         <name>Whatever Project</name>
>         <modules>
>                 <module>proto</module>
>         </modules>
>       <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-compiler-plugin</artifactId>
>                 <configuration>
>                     <source>1.5</source>
>                     <target>1.5</target>
>                 </configuration>
>              </plugin>
>          </plugins>
>       </build>
> </project>
>
>
>
> On 11/4/05, Hervé <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > Could your problem be the same as http://jira.codehaus.org/browse/MNG-1316?
> >
> > Le Jeudi 3 Novembre 2005 13:42, Thomas Van de Velde a écrit :
> > > Hi,
> > >
> > > I am running mvn site and get the following error:
> > >
> > > [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:380)
> > > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > DefaultMavenProjectBuilder.java:346)
> > > 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:399)
> > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:519)
> > > at
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:469)
> > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java:448)
> > > at
> > >
> >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:301)
> > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > DefaultLifecycleExecutor.java:268)
> > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > > DefaultLifecycleExecutor.java:137)
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
> > > 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)
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Total time: 6 seconds
> > > [INFO] Finished at: Thu Nov 03 13:38:15 CET 2005
> > > [INFO] Final Memory: 7M/12M
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > >
> >
> > ---------------------------------------------------------------------
> > 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]

Reply via email to