Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B225018765 for ; Wed, 30 Sep 2015 20:31:04 +0000 (UTC) Received: (qmail 52829 invoked by uid 500); 30 Sep 2015 20:31:04 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 52727 invoked by uid 500); 30 Sep 2015 20:31:04 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 52452 invoked by uid 99); 30 Sep 2015 20:31:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2015 20:31:04 +0000 Date: Wed, 30 Sep 2015 20:31:04 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MCHECKSTYLE-311) "mvn clean site -Preporting" fails with Could not find resource 'config/maven_checks.xml' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)