[ http://jira.codehaus.org/browse/MSITE-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy reopened MSITE-265: -------------------------------- As DOXIA-161 has been reopened, this must be reopened. The it must be completed with a test on file like download.apt.vm. > filename with dot are considered as duplicate > --------------------------------------------- > > Key: MSITE-265 > URL: http://jira.codehaus.org/browse/MSITE-265 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: doxia integration > Affects Versions: 2.0-beta-6 > Reporter: Olivier Lamy > Assignee: Olivier Lamy > Priority: Blocker > Fix For: 2.0-beta-6 > > > I have two files : > src/site/xdoc/releases/release1.6.3.xml > src/site/xdoc/releases/release1.6.xml > The output is : Embedded error: Files 'releases\release1.6.xml' clashes with > existing > 'c:\projets\ServicesLayerServer\src\site\xdoc\releases\release1.6.3.xml'. > As I see this comes from > org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext. > There is > {noformat} > this.outputName = document.substring( 0, document.indexOf( "." ) ).replace( > '\\', '/' ) + ".html"; > {noformat} > IMHO it should be : > {noformat} > this.outputName = document.substring( 0, document.lastIndexOf( "." ) > ).replace( '\\', '/' ) + ".html"; > {noformat} > I have to try to update dependency in maven-site-plugin to last doxia to test > this fix but I have some compilation error due to some changes in doxia > c:\maven-svn\plugins\maven-site-plugin\src\main\java\org\apache\maven\plugins\site\ReportDocumentRenderer.java:[139,26] > generate(org.codehaus.doxia.sink.Sink,java.util.Locale) in > org.apache.maven.reporting.MavenReport cannot be applied to > (org.apache.maven.doxia.siterenderer.sink.SiteRendererSink,java.util.Locale) > This works with 2.0-beta-5. -- 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