From: Wendy S. <ws...@gm...> - 2006-08-30 06:08:33
|
On 8/29/06, Wendy Smoak <ws...@gm...> wrote: > It works fine in Tiles 2. ... and then I added it to the struts-parent pom, to see if it would aggregate the DTDs for both struts-config and tiles-config or just generate them underneath their respective modules. Instead, it died. :( The stack trace is below. It's complaining because there is no src/main/resources under http://svn.apache.org/repos/asf/struts/struts1/trunk I added a profile to the struts-parent pom with the repositories and <reporting> plugin config. If you want to try it, check out the svn URL above, then execute: $ mvn site -P dtddoc Let me know if you need more info! Here's the stack trace: [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] basedir e:\svn\struts\current\struts1\src\main\resources does not exist [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: basedir e:\svn\struts\current\struts1\src\main\ resources does not exist at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java: 542) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1402) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1368) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1340) at net.sf.dtddoc.maven2.DTDDocReport.executeReport(DTDDocReport.java:146 ) at net.sf.dtddoc.maven2.DTDDocReport.generate(DTDDocReport.java:128) 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(DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.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(DelegatingMethodAcces sorImpl.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: 17 seconds [INFO] Finished at: Tue Aug 29 22:50:59 MST 2006 [INFO] Final Memory: 20M/37M [INFO] ------------------------------------------------------------------------ -- Wendy Smoak |