Author: baerrach
Date: Thu Jan 18 17:07:27 2007
New Revision: 497669

URL: http://svn.apache.org/viewvc?view=rev&rev=497669
Log:
[MSUREFIREREP-6] Created work-around goal "report-only" until a
better solution can be found.

Added:
    
maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportOnlyMojo.java
Modified:
    maven/surefire/trunk/maven-surefire-report-plugin/   (props changed)
    maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt

Propchange: maven/surefire/trunk/maven-surefire-report-plugin/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Jan 18 17:07:27 2007
@@ -1 +1,2 @@
-target
+target
+.project

Added: 
maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportOnlyMojo.java
URL: 
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportOnlyMojo.java?view=auto&rev=497669
==============================================================================
--- 
maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportOnlyMojo.java
 (added)
+++ 
maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportOnlyMojo.java
 Thu Jan 18 17:07:27 2007
@@ -0,0 +1,37 @@
+package org.apache.maven.plugins.surefire.report;
+
+/*
+ * 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.
+ */
+
+/**
+ * Creates a nicely formatted Surefire Test Report in html format.
+ * This goal does not run the tests, it only builds the reports.
+ * This is a workaround for 
+ * <a 
href="http://jira.codehaus.org/browse/MSUREFIREREP-6";>http://jira.codehaus.org/browse/MSUREFIREREP-6</a>
+ *
+ * @since 2.3
+ * @author <a href="mailto:[EMAIL PROTECTED]">Barrie Treloar</a>
+ * @goal report-only
+ * @execute phase="validate" lifecycle="surefire" 
+ */
+public class SurefireReportOnlyMojo
+    extends SurefireReportMojo
+{
+   
+}

Modified: 
maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt
URL: 
http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt?view=diff&rev=497669&r1=497668&r2=497669
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt 
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/site/apt/index.apt 
Thu Jan 18 17:07:27 2007
@@ -31,10 +31,14 @@
 
 * Goals Overview
 
-  Surefire-report plugin only has one goal:
+  Surefire-report plugin only has one goal (the other is a workaround):
 
   * {{{report-mojo.html}surefire-report:report}} Generates the test
   results report into html format.
+
+  * {{{report-only-mojo.html}surefire-report:report-only}} This goal does 
+  not run the tests, it only builds the reports. It is provided as a work 
+  around for {{http://jira.codehaus.org/browse/MSUREFIREREP-6}}
 
   []
 


Reply via email to