------ Generating Release Report ------ John Tolentino ------ 09 December 2006 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html Generating Release Report You can use this supplied velocity template of plexus-swizzle by specifying <<>> as your template. The generated report will be in xdoc format. See {{{http://maven.apache.org/maven-1.x/plugins/xdoc/}Maven 1.x XDoc Plug-in}} for more details on xdoc. *POM configuration Here's a rundown of the POM fields where the plugin retrieves the values for the report. +-------+ [...] maven-swizzle-plugin org.apache.maven.plugins 1.0-SNAPSHOT maven-swizzle-plugin SWIZZLE target/test-classes/unit/release-report.xml 107 true target/test-classes/unit/docck-successful.txt false target/test-classes/unit/license-failed.txt scm:svn:http://svn.yoursvn.org/yourproject/trunk http://download-it-here.org/repo http://yoururl.org/~yourname/yourstagingsite [...] +-------+ *Maven WAR Plugin example Here's an example on how to generate a report on resolved issues for the maven-war-plugin that is scheduled for its 2.0.2 release: +-------+ [...] org.apache.maven.plugins maven-swizzle-plugin 1.0-SNAPSHOT MWAR target/test-classes/unit/release-report.xml 107 true target/test-classes/unit/docck-successful.txt false target/test-classes/unit/license-failed.txt scm:svn:http://svn.yoursvn.org/yourproject/trunk http://download-it-here.org/repo http://yoururl.org/~yourname/yourstagingsite [...] +-------+ *Default Values example We're using default values already found in this project's POM or provided through default values in the parameters so the configuration can be made shorter: +-------+ [...] org.apache.maven.plugins maven-swizzle-plugin 1.0-SNAPSHOT MWAR target/test-classes/unit/release-report.xml 107 true false scm:svn:http://svn.yoursvn.org/yourproject/trunk http://download-it-here.org/repo http://yoururl.org/~yourname/yourstagingsite [...] +-------+ *Overriding Default Values example Here's an example of how to override all the default values of available parameters: +-------+ [...] org.apache.maven.plugins maven-swizzle-plugin 1.0-SNAPSHOT swizzletester swizzle http://jira.codehaus.org SWIZZLE Test 0.3.0 target/test-classes/unit/my-release-report.xml org.codehaus.plexus.swizzle scm:svn:http://svn.mysvn.org/myproject/trunk swizzle 107 http://myurl.org/repo/myproject-1.0.jar http://myurl.org/release-reports true mytestresults/docck-successful.txt false mytestresults/license-failed.txt MM/dd/yy hh:mm [...] +-------+