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 7E253F1AE for ; Sat, 1 Jun 2013 10:58:30 +0000 (UTC) Received: (qmail 90970 invoked by uid 500); 1 Jun 2013 10:58:30 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 90786 invoked by uid 500); 1 Jun 2013 10:58:29 -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 90758 invoked by uid 99); 1 Jun 2013 10:58:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jun 2013 10:58:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jun 2013 10:58:23 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 39B4CB04CE for ; Sat, 1 Jun 2013 05:58:03 -0500 (CDT) Date: Sat, 1 Jun 2013 05:58:03 -0500 (CDT) From: "Stephen Colebourne (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MSITE-690) Add new "process-reports" goal MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org Stephen Colebourne created MSITE-690: ---------------------------------------- Summary: Add new "process-reports" goal Key: MSITE-690 URL: https://jira.codehaus.org/browse/MSITE-690 Project: Maven 2.x and 3.x Site Plugin Issue Type: Improvement Affects Versions: 3.3 Reporter: Stephen Colebourne AFAICT, maven builds a site by relying on other plugins to generate files in a specific HTML format. For example, the PMD and Checkstyle plugins generate reports that include references to "@import url("./css/maven-base.css");" and "${project.version}". The site plugin then post-processes these files to do three things: (a) add the css files, (b) convert references like ${project.version} (c) add in a generated menu structure with relative links Propose adding a new goal "process-reports" that performs steps (a) and (b) only. Instead of generating the index structure in step (c), it would simply remove the index and header parts of the HTML file to create a simple *standalone* HTML file. The aim of this improvement is to allow valid complete HTML files to be created without the rest of the generated site (with the complications of relative links). This goal would simply run in each project of the multi-module build independently, processing the resources it finds locally. Users wanting a checkstyle report could then run "mvn clean checkstyle:checkstyle-aggregator site:process-reports". Today, "mvn clean checkstyle:checkstyle-aggregator" works OK but produces half-complete HTML files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira