Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 68461 invoked from network); 4 Feb 2008 22:57:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 22:57:44 -0000 Received: (qmail 46921 invoked by uid 500); 4 Feb 2008 22:57:35 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 46836 invoked by uid 500); 4 Feb 2008 22:57:35 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 46827 invoked by uid 99); 4 Feb 2008 22:57:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 14:57:35 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 22:57:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 986271A9832; Mon, 4 Feb 2008 14:57:08 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r618480 - in /commons/sandbox/commons-build-plugin/src: main/resources/commons-xdoc-templates/ main/scripts/ site/ site/xdoc/ Date: Mon, 04 Feb 2008 22:57:07 -0000 To: commits@commons.apache.org From: niallp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080204225708.986271A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: niallp Date: Mon Feb 4 14:57:07 2008 New Revision: 618480 URL: http://svn.apache.org/viewvc?rev=618480&view=rev Log: Add Sandbox JIRA page generation Added: commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml (with props) commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml (with props) Modified: commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.build.xml commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.mojos.xml commons/sandbox/commons-build-plugin/src/site/site.xml commons/sandbox/commons-build-plugin/src/site/xdoc/generate-xdocs-build.xml Added: commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml URL: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml?rev=618480&view=auto ============================================================================== --- commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml (added) +++ commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml Mon Feb 4 14:57:07 2008 @@ -0,0 +1,100 @@ + + + + + + @NAME@ Issue tracking + Commons Documentation Team + + + +
+

+ @NAME@ uses ASF JIRA for for tracking issues. + See the Sandbox JIRA project page. +

+ +

+ To use JIRA you may need to create an account + (if you have previously created/updated Commons issues using Bugzilla an account will have been automatically + created and you can use the Forgot Password + page to get a new password). +

+ +

+ If you would like to report a bug, or raise an enhancement request with + @NAME@ please do the following: +

    +
  1. Search existing open bugs. + If you find your issue listed then please add a comment with your details.
  2. +
  3. Search the mailing list archive(s). + You may find your issue or idea has already been discussed.
  4. +
  5. Decide if your issue is a bug or an enhancement.
  6. +
  7. Submit either a bug report + or enhancement request.
  8. +
+

+ +

+ Please also remember these points: +

    +
  • the more information you provide, the better we can help you
  • +
  • test cases are vital, particularly for any proposed enhancements
  • +
  • the developers of @NAME@ are all unpaid volunteers
  • +
+

+ +

+ For more information on subversion and creating patches see the + Apache Contributors Guide. +

+ +

+ You may also find these links useful: +

+

+
+ +
Propchange: commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/sandbox/commons-build-plugin/src/main/resources/commons-xdoc-templates/sandbox-issue-tracking-template.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Modified: commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.build.xml URL: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.build.xml?rev=618480&r1=618479&r2=618480&view=diff ============================================================================== --- commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.build.xml (original) +++ commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.build.xml Mon Feb 4 14:57:07 2008 @@ -66,6 +66,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.mojos.xml URL: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.mojos.xml?rev=618480&r1=618479&r2=618480&view=diff ============================================================================== --- commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.mojos.xml (original) +++ commons/sandbox/commons-build-plugin/src/main/scripts/generate-xdocs.mojos.xml Mon Feb 4 14:57:07 2008 @@ -60,6 +60,32 @@ + sandbox-jira-page + sandbox-jira-page + Commons Build Ant Mojo: Generate Sandbox Issue Tracking page + true + + + project.name + project.name + true + true + ${project.name} + java.lang.String + The name of the project currently being built. + + + commons.jira.componentid + commons.jira.componentid + true + false + ${commons.jira.componentid} + java.lang.String + The internal JIRA component id (numeric) + + + + download-page download-page Commons Build Ant Mojo: Generate Download page Modified: commons/sandbox/commons-build-plugin/src/site/site.xml URL: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/src/site/site.xml?rev=618480&r1=618479&r2=618480&view=diff ============================================================================== --- commons/sandbox/commons-build-plugin/src/site/site.xml (original) +++ commons/sandbox/commons-build-plugin/src/site/site.xml Mon Feb 4 14:57:07 2008 @@ -26,8 +26,9 @@ - + + Modified: commons/sandbox/commons-build-plugin/src/site/xdoc/generate-xdocs-build.xml URL: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/src/site/xdoc/generate-xdocs-build.xml?rev=618480&r1=618479&r2=618480&view=diff ============================================================================== --- commons/sandbox/commons-build-plugin/src/site/xdoc/generate-xdocs-build.xml (original) +++ commons/sandbox/commons-build-plugin/src/site/xdoc/generate-xdocs-build.xml Mon Feb 4 14:57:07 2008 @@ -36,6 +36,7 @@

@@ -85,8 +86,8 @@

To generate a JIRA page, the following properties are configured in the component's pom.xml

    -
  • commons.jira.id - JIRA's external (upper case) id for the component
  • -
  • commons.jira.pid - JIRA's internal (numeric) id for the component
  • +
  • commons.jira.id - JIRA's external (upper case) project id for the component
  • +
  • commons.jira.pid - JIRA's internal (numeric) project id for the component

@@ -151,6 +152,54 @@ chain 1.1 + +]]> +

+ + + + + +
+ + +

+ The commons:sandbox-jira-page goal generates a custom JIRA Issue Tracking page for a Sandbox component. + Execute the goal using the following command: mvn commons:sandbox-jira-page +

+ +

+ Note: The Issue tracking page should only need to be generated initially + for a component or if the issue tracking template changes. +

+ +

+ This goal uses the following: +

+

+
+ + +

+ To generate a JIRA page, the following properties are configured in the component's pom.xml +

    +
  • commons.jira.componentid - JIRA's internal (numeric) id for the component
  • +
+

+

+ Example configuration: + + 12311182 ]]>

Added: commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml URL: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml?rev=618480&view=auto ============================================================================== --- commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml (added) +++ commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml Mon Feb 4 14:57:07 2008 @@ -0,0 +1,92 @@ + + + + + + commons-build-plugin - commons:sandbox-jira-page + + +
+

Commons Build Ant Mojo: Generate Sandbox Issue Tracking page

+

Mojo Attributes:

    +
  • Requires a Maven 2.0 project to execute.
  • +
  • Is NOT inherited by default in multi-project builds.
  • +
+

+ + + + + + + + + + + + + + + + + +
NameTypeDescription
commons.jira.componentidStringThe internal JIRA component id (numeric) Default value is ${commons.jira.componentid}.
basedirFileThe base directory from which to execute the Ant script. Default value is ${basedir}.
+
+ + + + + + + + + + + + +
NameTypeDescription
messageLevelStringThe message-level used to tune the verbosity of Ant logging. Default value is info.
+
+ +

commons.jira.componentid

+

The internal JIRA component id (numeric)

+
    +
  • Type: java.lang.String
  • +
  • Required: Yes
  • +
  • Default: ${commons.jira.componentid}
  • +

basedir

+

The base directory from which to execute the Ant script.

+
    +
  • Type: java.io.File
  • +
  • Required: Yes
  • +
  • Expression: ${antBasedir}
  • +
  • Default: ${basedir}
  • +

messageLevel

+

The message-level used to tune the verbosity of Ant logging.

+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Expression: ${antMessageLevel}
  • +
  • Default: info
  • +
+
+
+ +
Propchange: commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/sandbox/commons-build-plugin/src/site/xdoc/sandbox-jira-page-mojo.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL