You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeremy Simoncello <je...@gmail.com> on 2005/05/13 17:20:27 UTC

[m2] : site:site problem

Hi
Not a big problem but I have just tested the site plugin with 2.0
alpha 2, I noticed an error (stack trace below) when calling m2
site:site.
I corrected it by adding name and url to my pom.xml. 
I had  generated my pom.xml with archetype plugin
m2 archetype:create -DgroupId=org.q.m2test -DartifactId=m2test

bye

Stack trace was :

[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Error during site generation
        at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:181)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:415)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Defa
ultLifecycleExecutor.java:169)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:90)
        at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
Caused by: java.lang.NullPointerException
        at org.codehaus.plexus.util.StringUtils.interpolate(StringUtils.java:206
5)
        at org.apache.maven.doxia.DoxiaMojo.getSiteDescriptor(DoxiaMojo.java:283
)
        at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:176)
        ... 14 more






-- 
Jérémy Simoncello

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] : site:site problem

Posted by Brett Porter <br...@gmail.com>.
actually, it's good because everything that gets fixed should have a JIRA issue.

I've closed it.

Cheers,
Brett

On 5/14/05, Thomas Van de Velde <th...@gmail.com> wrote:
> I've opened an issue on this before reading this mail:
>  
>  http://jira.codehaus.org/browse/MNG-389
>  
>  I guess I can close it then.
> 
> 
> On 5/14/05, Brett Porter <br...@gmail.com> wrote:
> > 
> > On 5/14/05, Jeremy Simoncello <je...@gmail.com> wrote:
> > > Hi
> > > Not a big problem but I have just tested the site plugin with 2.0
> > > alpha 2, I noticed an error (stack trace below) when calling m2 
> > > site:site.
> > 
> > Thanks, Jason has fixed it.
> > 
> > > I corrected it by adding name and url to my pom.xml.
> > > I had  generated my pom.xml with archetype plugin
> > > m2 archetype:create -DgroupId=org.q.m2test -DartifactId=m2test
> > 
> > Also added a default name and URL to the archetype.
> > 
> > Cheers,
> > Brett
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> > 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] : site:site problem

Posted by Thomas Van de Velde <th...@gmail.com>.
I've opened an issue on this before reading this mail:

http://jira.codehaus.org/browse/MNG-389

I guess I can close it then.

On 5/14/05, Brett Porter <br...@gmail.com> wrote:
> 
> On 5/14/05, Jeremy Simoncello <je...@gmail.com> wrote:
> > Hi
> > Not a big problem but I have just tested the site plugin with 2.0
> > alpha 2, I noticed an error (stack trace below) when calling m2
> > site:site.
> 
> Thanks, Jason has fixed it.
> 
> > I corrected it by adding name and url to my pom.xml.
> > I had generated my pom.xml with archetype plugin
> > m2 archetype:create -DgroupId=org.q.m2test -DartifactId=m2test
> 
> Also added a default name and URL to the archetype.
> 
> Cheers,
> Brett
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

Re: [m2] : site:site problem

Posted by Brett Porter <br...@gmail.com>.
On 5/14/05, Jeremy Simoncello <je...@gmail.com> wrote:
> Hi
> Not a big problem but I have just tested the site plugin with 2.0
> alpha 2, I noticed an error (stack trace below) when calling m2
> site:site.

Thanks, Jason has fixed it.

> I corrected it by adding name and url to my pom.xml.
> I had  generated my pom.xml with archetype plugin
> m2 archetype:create -DgroupId=org.q.m2test -DartifactId=m2test

Also added a default name and URL to the archetype.

Cheers,
Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org