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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]