maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCHECKSTYLE-311) "mvn clean site -Preporting" fails with Could not find resource 'config/maven_checks.xml'
Date Wed, 30 Sep 2015 20:31:04 GMT

    [ https://issues.apache.org/jira/browse/MCHECKSTYLE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938808#comment-14938808
] 

Michael Osipov commented on MCHECKSTYLE-311:
--------------------------------------------

Idealy, the reporting plugin would depent on the resources but this is not possible due to
MSITE-444. A workaround is necessary.

> "mvn clean site -Preporting" fails with Could not find resource 'config/maven_checks.xml'
> -----------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-311
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-311
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.16
>            Reporter: Michael Osipov
>             Fix For: 2.17
>
>
> Here is the output:
> {noformat}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 06:20 min
> [INFO] Finished at: 2015-09-30T22:20:30+02:00
> [INFO] Final Memory: 47M/159M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site)
on project maven-checkstyle-plugin: Error generating maven-checkstyle-plugin:2.17-SNAPSHOT:checkstyle:
Failed during checkstyle execution: Unable to find configuration file at location: config/maven_checks.xml:
Could not find resource 'config/maven_checks.xml'. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> {noformat}
> The reason is that {{maven_checks.xml}} has been moved to [Maven Shared Resources|https://maven.apache.org/shared/maven-shared-resources/]
but this plugin has not been changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message