maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashok Manji (JIRA)" <>
Subject [jira] Closed: (MCHECKSTYLE-158) Embedded error: Unable to copy static resources
Date Mon, 01 Aug 2011 08:33:42 GMT


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.


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:
>             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-
> 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
> [INFO] ------------------------------------------------------------------------
> [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:


View raw message