[ http://jira.codehaus.org/browse/MSITE-2?page=all ]
Jason van Zyl moved MNG-912 to MSITE-2:
---------------------------------------
Version: (was: 2.0-beta-1)
Fix Version: (was: 2.0-beta-3)
Component: (was: maven-site-plugin)
Workflow: jira (was: Maven)
Key: MSITE-2 (was: MNG-912)
Project: Maven 2.x Site Plugin (was: Maven 2)
> Overzealous "duplicate files" checking during site generation
> -------------------------------------------------------------
>
> Key: MSITE-2
> URL: http://jira.codehaus.org/browse/MSITE-2
> Project: Maven 2.x Site Plugin
> Type: Bug
> Reporter: Daniel Schömer
> Assignee: Brett Porter
> Attachments: site-resources.patch
>
>
> I'm currently testing m2 beta-1 with one of my projects. During site
> generation, I got an error that there are duplicate files in the
> src/site/ directory.
> | # m2 clean:clean site:site
> | ...
> | [INFO] Diagnosis: Error during report generation
> | [INFO]
> ----------------------------------------------------------------------------
> | [ERROR] Cause:
> | org.apache.maven.plugin.MojoExecutionException: Error during report
> generation
> | ...
> | Caused by: org.apache.maven.reporting.MavenReportException: Some files are
> duplicates in the site directory or in the generated-site directory.
> | Review the following files for the "Default" version:
> | images/logos/cl-options_figlet-invita
> | resources/images/logos/cl-options_figlet-invita.png
> | resources/images/logos/cl-options_figlet-invita.txt
> | resources/images/logos/cl-options_figlet-invita.xcf
> | ...
> The listed files are not duplicates, they just contain the logo of the
> project in different file formats (PNG, plain text and GIMP). Its
> seems a little strange to me that m2 doesn't allows me to store
> "content" in different file formats in the site directory without
> giving them different filenames (except of the filename-"extension").
> To me, this may make sense for files that are processed by m2 to
> generate the site (like xdoc and apt), but not for files that are only
> copied during site generation.
> As Brett Porter <[EMAIL PROTECTED]> replied to the "Maven
> Users List"
> (http://article.gmane.org/gmane.comp.jakarta.turbine.maven.user/26908),
> the tests for duplicate files seems to be too overzealous - it should only
> check for
> duplicates in the different doc directories, not in the resources directory.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]