You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2007/07/13 02:03:31 UTC

svn commit: r555822 [2/2] - in /maven/plugins/trunk/maven-clover-plugin: ./ src/it/contexts/ src/it/contexts/src/test/verifier/ src/it/instrument-tests/ src/it/instrument-tests/src/test/verifier/ src/it/license/ src/it/license/build-tools/ src/it/licen...

Modified: maven/plugins/trunk/maven-clover-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/site/apt/index.apt?view=diff&rev=555822&r1=555821&r2=555822
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/site/apt/index.apt Thu Jul 12 17:03:28 2007
@@ -5,31 +5,34 @@
  <vm...@apache.org>
  ------
  October 6th, 2006
- 
- ~~ Copyright 2006 The Apache Software Foundation.
- ~~
- ~~ Licensed 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/guides/mini/guide-apt-format.html
+~~ 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/guides/mini/guide-apt-format.html
 
 Maven Clover Plugin
 
-  The Clover plugin is the place where build actions related to 
+  The Clover plugin is the place where build actions related to
   {{{http://www.cenqua.com/clover/}Clover}} are found in Maven.
 
-  Clover is a tool that generates Test Coverage reports. It is free for non-commercial use. 
-  If your project is a commercial project you will need to get a license for the Clover jar 
+  Clover is a tool that generates Test Coverage reports. It is free for non-commercial use.
+  If your project is a commercial project you will need to get a license for the Clover jar
   before using this plugin. Please note that a 30 days license is included in this plugin.
 
 * Features
@@ -68,16 +71,16 @@
 
   * {{{aggregate-mojo.html}clover:aggregate}} - Aggregate children module Clover databases if there are any. This mojo
     should  not exist. It's only there because the site plugin doesn't handle @aggregators properly at the moment...
-  
+
   * {{{check-mojo.html}clover:check}} - Verify Test Percentage Coverage (TPC) from an existing Clover database and fail
-    the build if it is below the defined threshold. The check is done on main Clover databases and also on merged Clover 
+    the build if it is below the defined threshold. The check is done on main Clover databases and also on merged Clover
     databases when they exist.
-    
+
   * {{{instrumentInternal-mojo.html}clover:instrumentInternal}} - Instrument source roots.
 
-    <<Note: Do not call this MOJO directly. It is meant to be called in a custom forked lifecycle by the other Clover 
+    <<Note: Do not call this MOJO directly. It is meant to be called in a custom forked lifecycle by the other Clover
     plugin MOJOs.>>
-    
+
   * {{{instrument-mojo.html}clover:instrument}} - Instrument all sources using Clover and forks a custom lifecycle to
     execute project's tests on the instrumented code so that a Clover database is created.
 
@@ -85,16 +88,16 @@
     This will prevent instrumented sources to be put in production by error. Thus running mvn install on a project where
     this instrument goal has been specified will run the build twice: once for building the project as usual and another
     time for instrumenting the sources with Clover and generating the Clover database.
-  
+
   * {{{log-mojo.html}clover:log}} - Provides information on the current Clover database.
-  
+
   * {{{clover-mojo.html}clover:clover}} - Generate a Clover report from existing Clover databases. The generated report is
-    an external report generated by Clover itself. If the project generating the report is a top level project and if 
+    an external report generated by Clover itself. If the project generating the report is a top level project and if
     the aggregate configuration element is set to true then an aggregated report will also be created.
 
-    Note: This report mojo should be an @aggregator and the clover:aggregate mojo shouldn't exist. This is a limitation 
+    Note: This report mojo should be an @aggregator and the clover:aggregate mojo shouldn't exist. This is a limitation
     of the site plugin which doesn't support @aggregator reports...
-  
+
   * {{{save-history-mojo.html}clover:save-history}} - Save a
     {{{http://cenqua.com/clover/doc/tutorial/part2.html}Clover history point}}.
 

Modified: maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt?view=diff&rev=555822&r1=555821&r2=555822
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/site/apt/usage.apt Thu Jul 12 17:03:28 2007
@@ -9,23 +9,26 @@
  October 11th, 2006
  ------
 
- ~~ Copyright 2006 The Apache Software Foundation.
- ~~
- ~~ Licensed 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/guides/mini/guide-apt-format.html
- 
+~~ 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/guides/mini/guide-apt-format.html
+
 {Usage}
 
 * Table Of Contents
@@ -37,7 +40,7 @@
  * {{{usage.html#Checking test coverage}Checking test coverage}}
 
    * {{{usage.html#Using block contexts}Using block contexts}}
-   
+
    * {{{usage.html#Using Clover with different JDK versions}Using Clover with different JDK versions}}
 
    * {{{usage.html#Specifying a Clover flush policy}Specifying a Clover flush policy}}
@@ -55,18 +58,18 @@
  * {{{usage.html#Specifying a custom license file}Specifying a custom license file}}
 
  []
- 
+
 * {Getting Started}
 
   The first thing to do is to create a {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}}. To do
-  this, you must either do: 
+  this, you must either do:
 
 +------+
   mvn clover:instrument
 +------+
 
- or 
- 
+ or
+
 +------+
   <build>
     <plugins>
@@ -88,8 +91,8 @@
       </plugin>
     </plugins>
   </build>
-+------+ 
-  
++------+
+
   This instruments all sources using Clover so that a
   {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}} is created (or if it already exists, the plugin
   will simply use it and add data on top of the existing one). When you execute your tests
@@ -101,11 +104,11 @@
   for the production sources and once for the Clover-instrumented sources.
 
   <Back to {{{usage.html}top}}.>
-  
+
 ** {Controlling files to instrument}
-  
+
   By default all Java files are included during the instrumentation. To specify
-  inclusion and exclusion use the <<<includes>>> and <<<excludes>>> 
+  inclusion and exclusion use the <<<includes>>> and <<<excludes>>>
   configuration elements as shown in this example:
 
 +--------
@@ -126,19 +129,19 @@
 +---------
 
   <Back to {{{usage.html}top}}.>
-  
+
 * {Checking test coverage}
 
   In order to check for a test coverage percentage and fail the build in case of
-  non-compliance, you'll need to configure the Clover plugin to tell it what 
+  non-compliance, you'll need to configure the Clover plugin to tell it what
   test coverage threshold you wish to use:
 
 +------+
   mvn clover:check -DtargetPercentage=50%
 +------+
 
- or 
- 
+ or
+
 +------+
   <build>
     <plugins>
@@ -161,25 +164,25 @@
   </build>
 +------+
 
-  In this example you've told Maven to run <<<clover:check>>> whenever the 
-  <<<verify>>> phase is reached (this will be the case if you run 
-  <<<mvn install>>> for example). 
-  
-  Furthermore, you specified that the <<<targetPercentage>>> is <<<50%>>>, 
+  In this example you've told Maven to run <<<clover:check>>> whenever the
+  <<<verify>>> phase is reached (this will be the case if you run
+  <<<mvn install>>> for example).
+
+  Furthermore, you specified that the <<<targetPercentage>>> is <<<50%>>>,
   meaning the test must result to at least <<<50%>>> test coverage percentage to
-  pass. If the <<<targetPercentage>>> was not specified, the default value of 
+  pass. If the <<<targetPercentage>>> was not specified, the default value of
   <<<70%>>> will be used.
-  
-  However, as previously mentioned, Clover needs an existing 
+
+  However, as previously mentioned, Clover needs an existing
   {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}}. Thus, a call
   to <<<clover:instrument>>> may be neccessary:
-  
+
 +------+
   mvn clover:instrument clover:check -DtargetPercentage=50%
 +------+
 
- or 
- 
+ or
+
 +------+
   <build>
     <plugins>
@@ -215,9 +218,9 @@
 +------+
   mvn clover:instrument clover:check -DtargetPercentage=50% -DfailOnViolation=false
 +------+
- 
+
   <Back to {{{usage.html}top}}.>
-  
+
 ** {Using block contexts}
 
   Clover allows specifying {{{http://cenqua.com/clover/doc/adv/contexts.html}block contexts}}
@@ -245,9 +248,9 @@
 
 ** {Using Clover with different JDK versions}
 
-  If your code is using JDK 1.4 or JDK 1.5 specific keywords, you'll need to 
+  If your code is using JDK 1.4 or JDK 1.5 specific keywords, you'll need to
   configure the Clover plugin. For example for JDK 1.4:
-  
+
 +--------
   <build>
     <plugins>
@@ -260,17 +263,17 @@
 +---------
 
   <Back to {{{usage.html}top}}.>
-  
+
 ** {Specifying a Clover flush policy}
 
-  If you want to specify the Clover 
+  If you want to specify the Clover
   {{{http://cenqua.com/clover/doc/adv/flushpolicies.html}flush policy}} that the
-  plugin should use, then specify it in the plugin's configuration. Valid 
+  plugin should use, then specify it in the plugin's configuration. Valid
   policies are <<<threaded>>>, <<<directed>>> and <<<interval>>>.
-  
+
   For example to use a <<<threaded>>> policy with a flush interval of <<<5000>>>
   ms you would write:
-  
+
 +--------
   <build>
     <plugins>
@@ -284,21 +287,21 @@
 +---------
 
   <Back to {{{usage.html}top}}.>
-  
+
 * {Generating a Clover report}
-  
+
   To generate a Clover report, simply execute the following command:
-  
+
 +------+
 mvn clover:clover
 +------+
 
   Also, you may want to generate a Clover Report everytime you generate site for
   your maven project (i.e. <<<mvn site>>>):
-  
+
 +--------
 <project>
-  [...] 
+  [...]
   <reporting>
     <plugins>
       [...]
@@ -313,19 +316,19 @@
   </reporting>
 [...]
 +---------
-  
+
   But just like the <<<clover:check>>> goal, the <<<clover:clover>>> goal
-  also needs an existing 
+  also needs an existing
   {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}}. Thus, if
-  if it still does not exist, a call to <<<clover:instrument>>> must first be 
+  if it still does not exist, a call to <<<clover:instrument>>> must first be
   made:
-  
+
 +------+
 mvn clover:instrument clover:clover
 +------+
 
-  or 
-  
+  or
+
 +--------
 <project>
   [...]
@@ -363,22 +366,22 @@
   </reporting>
 [...]
 +---------
- 
+
   Note that in the above example that <<<clover:instrument>>> was bound to the
-  <<<pre-site>>> phase. This is done to ensure that a 
-  {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}} is 
-  generated before the report executes. 
+  <<<pre-site>>> phase. This is done to ensure that a
+  {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}} is
+  generated before the report executes.
 
   <Back to {{{usage.html}top}}.>
-  
+
 ** {Specifying report formats}
 
-  By default the Clover plugin will generate a HTML report. If you want to 
-  generate a PDF or XML report, or if you simply do not want to generate the 
-  HTML report use the <<<generateHtml>>>, <<<generatePdf>>> and 
-  <<<generateXml>>> configuration elements. By default the <<<generateHtml>>> 
+  By default the Clover plugin will generate a HTML report. If you want to
+  generate a PDF or XML report, or if you simply do not want to generate the
+  HTML report use the <<<generateHtml>>>, <<<generatePdf>>> and
+  <<<generateXml>>> configuration elements. By default the <<<generateHtml>>>
   element is set to true.
-  
+
   For example if you wish to generate the PDF and XML reports you would use:
 
 +--------
@@ -395,7 +398,7 @@
 +---------
 
   Note that only the HTML report gets a link in the "Project Reports" section in
-  generated menu on the site. If you want to link the PDF or XML reports you'll 
+  generated menu on the site. If you want to link the PDF or XML reports you'll
   need to do that by modifying your <<<site.xml>>>. For example:
 
 +--------
@@ -407,10 +410,10 @@
 [...]
 +---------
 
-  If you do not want to generate the HTML report then you should not configure 
-  the Clover plugin in the <<<reporting>>> section as this section is for 
-  plugins which generate HTML reports. In that case, simply bind the 
-  <<<clover:clover>>> goal to the <<<site>>> phase in the <<<build>>> section. 
+  If you do not want to generate the HTML report then you should not configure
+  the Clover plugin in the <<<reporting>>> section as this section is for
+  plugins which generate HTML reports. In that case, simply bind the
+  <<<clover:clover>>> goal to the <<<site>>> phase in the <<<build>>> section.
   For example:
 
 +--------
@@ -442,12 +445,12 @@
 +---------
 
   <Back to {{{usage.html}top}}.>
-  
+
 ** {Generating historical reports}
 
-  Generating historical reports is done in the same manner as you generate a 
-  standard Clover report but in addition you need to set the 
-  <<<generateHistorical>>> configuration property to true (it's false by 
+  Generating historical reports is done in the same manner as you generate a
+  standard Clover report but in addition you need to set the
+  <<<generateHistorical>>> configuration property to true (it's false by
   default). For example:
 
 +--------
@@ -469,19 +472,19 @@
 [...]
 +---------
 
-  Now this will generate a 
+  Now this will generate a
   {{{http://cenqua.com/clover/doc/tutorial/part2.html}Clover historical report}}
   only if you have saved Clover historical savepoints. In order to save a Clover
-  savepoint, run the <<<clover:save-history>>> goal. It's up to you to decide 
-  when you want to call this goal. 
-  
-  For example you could call it every time a build is executing on your CI 
-  server, or you could call it at every project release, etc. The location of 
-  the history directory for saving the savepoints is controlled by the 
-  <<<historyDir>>> configuration property, which points to 
-  <<<${project.build.directory}/clover/history>>> by default. 
-  
-  It is recommended to use another location that will not get erased by a 
+  savepoint, run the <<<clover:save-history>>> goal. It's up to you to decide
+  when you want to call this goal.
+
+  For example you could call it every time a build is executing on your CI
+  server, or you could call it at every project release, etc. The location of
+  the history directory for saving the savepoints is controlled by the
+  <<<historyDir>>> configuration property, which points to
+  <<<${project.build.directory}/clover/history>>> by default.
+
+  It is recommended to use another location that will not get erased by a
   <<<mvn clean>>>. For example:
 
 +--------
@@ -504,7 +507,7 @@
 [...]
 +---------
 
-  Where <<<myHistoryDir>>> could be a Maven property that you define in a 
+  Where <<<myHistoryDir>>> could be a Maven property that you define in a
   profile.
 
   The historical report is generated in the <<<${project.build.dir}/clover/history/historical.html>>> file. If you
@@ -520,10 +523,10 @@
 +---------
 
   <Back to {{{usage.html}top}}.>
-  
+
 ** {Aggregating Clover Reports}
 
-  <Note: There's currently a 
+  <Note: There's currently a
   {{{http://jira.codehaus.org/browse/MCLOVER-34}bug in Maven2}} which results in
   the clover aggregation not working properly. More specifically the >
   <<<aggregate>>> <goal requires an existing Clover database and the first
@@ -579,21 +582,21 @@
 [...]
 +---------
 
-  When you run <<<mvn site>>> in <<<myproject/>>>, the plugin will instrument 
-  your sources, run your tests, aggregate the different 
-  {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}} generated 
+  When you run <<<mvn site>>> in <<<myproject/>>>, the plugin will instrument
+  your sources, run your tests, aggregate the different
+  {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}} generated
   for each build module (i.e. <<<project1>>> and <<<project2>>>) and generate an
   aggregated Clover report in the site for the <<<myproject>>> project.
-  
+
   Alternatively, you can execute
-  
+
 +------+
 mvn clover:aggregate clover:clover
 +------+
 
-  or if there is no existing 
+  or if there is no existing
   {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}}:
-  
+
 +------+
 mvn clover:instrument clover:aggregate clover:clover
 +------+
@@ -601,9 +604,9 @@
   Note that you can control the location of the merged
   {{{http://cenqua.com/clover/doc/adv/database.html}Clover database}} by using
   the <<<cloverMergeDatabase>>> configuration property.
-  
+
   <Back to {{{usage.html}top}}.>
-  
+
 * {Getting information on an existing Clover database}
 
   You can dump information about your project's Clover database (after it has been populated) by running
@@ -625,7 +628,7 @@
 +---------
 
   <Back to {{{usage.html}top}}.>
-  
+
 * {Specifying a custom license file}
 
   The Clover plugin provides a default evaulation license. However if you continue to use Clover you'll need your

Modified: maven/plugins/trunk/maven-clover-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/site/fml/faq.fml?view=diff&rev=555822&r1=555821&r2=555822
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/site/fml/faq.fml Thu Jul 12 17:03:28 2007
@@ -1,20 +1,23 @@
 <?xml version="1.0"?>
 
 <!--
-  ~ Copyright 2006 The Apache Software Foundation.
-  ~
-  ~ Licensed 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.
-  -->
+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.
+-->
 
 <faqs id="FAQ" title="Frequently Asked Questions">
  <part id="General">

Modified: maven/plugins/trunk/maven-clover-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/site/site.xml?view=diff&rev=555822&r1=555821&r2=555822
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/site/site.xml Thu Jul 12 17:03:28 2007
@@ -1,20 +1,23 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <!--
-  ~ Copyright 2006 The Apache Software Foundation.
-  ~
-  ~ Licensed 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.
- -->
+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.
+-->
 
 <project>
   <body>

Modified: maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojoTest.java?view=diff&rev=555822&r1=555821&r2=555822
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojoTest.java (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/CloverInstrumentInternalMojoTest.java Thu Jul 12 17:03:28 2007
@@ -1,19 +1,23 @@
+package org.apache.maven.plugin.clover;
+
 /*
- * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed 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
+ * 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
+ *   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.
+ * 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.
  */
-package org.apache.maven.plugin.clover;
 
 import org.jmock.MockObjectTestCase;
 import org.jmock.Mock;

Modified: maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/internal/CloverMojoTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/internal/CloverMojoTest.java?view=diff&rev=555822&r1=555821&r2=555822
==============================================================================
--- maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/internal/CloverMojoTest.java (original)
+++ maven/plugins/trunk/maven-clover-plugin/src/test/java/org/apache/maven/plugin/clover/internal/CloverMojoTest.java Thu Jul 12 17:03:28 2007
@@ -1,19 +1,23 @@
+package org.apache.maven.plugin.clover.internal;
+
 /*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed 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
+ * 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
+ *   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.
+ * 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.
  */
-package org.apache.maven.plugin.clover.internal;
 
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.clover.internal.AbstractCloverMojo;