- Fixed MPCLOVER-48: allow override of flushpolicy, flushinterval in <clover-setup>, change default values. Thanks to Brendan Humphreys for providing a patch. Note: I've had a failure the first time I ran the clover plugin tests. I wasn't able to reproduce it later on. I hope this is not related to any time-issue while flushing coverage data to the database due to the change of policy. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@292410 13f79535-47bb-0310-9956-ffa450edef68
100 lines
4.1 KiB
Properties
100 lines
4.1 KiB
Properties
# -------------------------------------------------------------------
|
|
# Copyright 2001-2005 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.
|
|
# -------------------------------------------------------------------
|
|
|
|
# -------------------------------------------------------------------
|
|
# Default Maven properties for the Clover Plugin
|
|
# -------------------------------------------------------------------
|
|
|
|
# Location of build files generated by the Clover plugin
|
|
maven.clover.build = ${maven.build.dir}/clover
|
|
|
|
# Location where clovered classes will be generated
|
|
maven.clover.build.classes = ${maven.clover.build}/classes
|
|
|
|
# Location of the Clover database (i.e file into which coverage data
|
|
# will be generated).
|
|
maven.clover.database = ${maven.clover.build}/database/clover_coverage.db
|
|
|
|
# Flush policies. See http://cenqua.com/clover/doc/adv/flushpolicies.html
|
|
maven.clover.flushpolicy = threaded
|
|
maven.clover.flushinterval = 5000
|
|
|
|
# Default ordering for the generated Clover reports.
|
|
maven.clover.orderBy = PcCoveredAsc
|
|
|
|
# Whether tests should be instrumented by Clover or not
|
|
maven.clover.instrument.tests = false
|
|
|
|
# Location of the Clover license. Users can override this property to point to
|
|
# their own Clover license. By default uses an eval license valid for open
|
|
# source projects. Set it to an empty value if you wish to use Clover's other
|
|
# license loading mechanisms (Clover looks next to clover.jar on the filesystem
|
|
# and in the classpath).
|
|
maven.clover.license.path = ${plugin.resources}/clover.license
|
|
|
|
# What are the reports that should be generated
|
|
maven.clover.report.html = true
|
|
maven.clover.report.xml = false
|
|
maven.clover.report.swing = false
|
|
maven.clover.report.pdf = false
|
|
|
|
# Decide whether to execute generate Clover data during the site report
|
|
# generation or not. If false, the plugin will only generate Clover reports
|
|
# based on an existing Clover database.
|
|
maven.clover.execute.during.report = true
|
|
|
|
# Specify whether the current project is a master project in a multiproject
|
|
# setup or not. Set it to true for your master project so that adding
|
|
# the maven-clover-plugin report to your POM will call the clover:multiproject
|
|
# goal (same for the clover goal).
|
|
maven.clover.multiproject = false
|
|
|
|
# List of files to include/exclude from Cloverification
|
|
maven.clover.includes = **/*.java
|
|
maven.clover.excludes =
|
|
|
|
# Directory where Clover history data are saved. If you wish to save your
|
|
# history point data so that they are not erased, point this directory to
|
|
# a safe place that will not be deleted by a "maven clean".
|
|
maven.clover.history.dir = ${maven.clover.build}/history
|
|
|
|
# List of databases to include in the merge when using the clover:merge goal
|
|
maven.clover.merge.databases = **/clover_coverage.db
|
|
|
|
# Test coverage % under which the build will fail when clover:check is called.
|
|
# Set it to an empty value if you wish to only use the per-package definitions.
|
|
maven.clover.check.target = 50%
|
|
|
|
# Per-package list of test coverage % under which the build will fail when
|
|
# clover:check is called
|
|
# maven.clover.check.packages=my.package1,my.package2
|
|
# maven.clover.check.targets=10%,80%
|
|
|
|
# List of Clover-defined block contexts to filter. Example:
|
|
# maven.clover.context.block.names = static, method
|
|
|
|
# List of user-defined method context names. Example:
|
|
# maven.clover.context.method.names = name1, name2
|
|
|
|
# List of user-defined methods context regexps. Example:
|
|
# maven.clover.context.method.regexps = regexp1, regexp2
|
|
|
|
# List of user-defined statement context names. Example:
|
|
# maven.clover.context.statement.names = name3, name4
|
|
|
|
# List of user-defined statement context regexps. Example:
|
|
# maven.clover.context.statement.regexps = regexp3, regexp4
|