maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSITE-524) Duplicate registration of doxia-module-docbook-simplifed
Date Mon, 20 Dec 2010 14:53:58 GMT

    [ http://jira.codehaus.org/browse/MSITE-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249151#action_249151
] 

Lukas Theussl commented on MSITE-524:
-------------------------------------

maven-site-plugin 2.2 is only for maven 2.x, check http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html
and please address my question above regarding the project-info-reports-plugin.

> Duplicate registration of doxia-module-docbook-simplifed
> --------------------------------------------------------
>
>                 Key: MSITE-524
>                 URL: http://jira.codehaus.org/browse/MSITE-524
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>         Environment: Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
> Java version: 1.6.0_21
> Java home: D:\java\jdk\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Petr Prochazka
>            Priority: Blocker
>         Attachments: maven-site.zip, site.log
>
>
> I have project site with page written in simplified docbook and I obtain exception:
> {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
(default-site) on project mave
> n-site-error: Error during page generation: Files 'docbook\index.xml' clashes with existing
'D:\Projects-test\maven-site
> \src\site\docbook\index.xml'. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugi
> n:3.0-beta-3:site (default-site) on project maven-site-error: Error during page generation
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>         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:597)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:127)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>         ... 19 more
> Caused by: org.apache.maven.doxia.siterenderer.RendererException: Files 'docbook\index.xml'
clashes with existing 'D:\Pr
> ojects-test\maven-site\src\site\docbook\index.xml'.
>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.addModuleFiles(DefaultSiteRenderer.java:259)
>         at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.locateDocumentFiles(DefaultSiteRenderer.java:168)
>         at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.locateDocuments(AbstractSiteRenderingMojo.java:411)
>         at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:148)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:122)
>         ... 21 more{noformat}
> I use this setting of plugin:
> {noformat}      <plugin>
>         <artifactId>maven-site-plugin</artifactId>
>         <version>3.0-beta-3</version>
>         <dependencies>
>           <dependency>
>             <groupId>org.apache.maven.doxia</groupId>
>             <artifactId>doxia-module-docbook-simple</artifactId>
>             <version>1.1.3</version>
>           </dependency>
>         </dependencies>
>       </plugin>{noformat}
> Does anyone have any idea?
> Thanks
> Petr 
> Test maven project and full log is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message