You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/29 06:20:11 UTC

[jira] Closed: (MNG-912) Overzealous "duplicate files" checking during site generation

     [ http://jira.codehaus.org/browse/MNG-912?page=all ]
     
Brett Porter closed MNG-912:
----------------------------

     Assign To: Brett Porter
    Resolution: Fixed

applied

> Overzealous "duplicate files" checking during site generation
> -------------------------------------------------------------
>
>          Key: MNG-912
>          URL: http://jira.codehaus.org/browse/MNG-912
>      Project: Maven 2
>         Type: Bug
>   Components: maven-site-plugin
>     Versions: 2.0-beta-1
>     Reporter: Daniel Schömer
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-3
>  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 <br...@gmail.com> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org