You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ashok Manji (JIRA)" <ji...@codehaus.org> on 2011/08/01 10:33:42 UTC

[jira] Closed: (MCHECKSTYLE-158) Embedded error: Unable to copy static resources

     [ https://jira.codehaus.org/browse/MCHECKSTYLE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashok Manji closed MCHECKSTYLE-158.
-----------------------------------

    Resolution: Not A Bug

For your information, this issue was resolved by simply adding the <outputDirectory> parameter to the maven-checkstyle-plugin configuration in the pom file. i.e.

<outputDirectory>${project.build.directory}/checkstyle</outputDirectory>

When this was not defined, the reports etc were being written to /target (the ROOT directory on the filesystem) and not the project's build directory /target directory.

> Embedded error: Unable to copy static resources
> -----------------------------------------------
>
>                 Key: MCHECKSTYLE-158
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-158
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6
>         Environment: Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.6.0_22
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-28-server" arch: "amd64" Family: "unix"
>            Reporter: Ashok Manji
>         Attachments: rss.png_checkstyle_error.rtf
>
>
> On a local developer machine, running checkstyle completes successfully, however, when running checkstyle on a server (Environment details above), the following build error occurs relating to rss.png.  I cannot seem to figure this out. Cleaning out the maven repository, re-downloading, going back to version 2.5 makes no difference. Works locally, but not on a server.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An error has occurred in Checkstyle report generation.
> Embedded error: Unable to copy static resources.
> /target/images/rss.png (No such file or directory)
> [INFO] ------------------------------------------------------------------------
> Attached full stacktrace to this ticket.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira