From 02e22d1895d0be743f0b8a5fec75c6c509d6d683 Mon Sep 17 00:00:00 2001 From: epugh Date: Thu, 29 Jan 2004 12:02:32 +0000 Subject: [PATCH] Add properties to include/exclude files to be processed. Similar to the maven.pmd.includes/excludes properties. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114638 13f79535-47bb-0310-9956-ffa450edef68 --- simian/plugin.jelly | 3 ++- simian/plugin.properties | 3 +++ simian/project.xml | 9 +++++++++ simian/xdocs/changes.xml | 3 +++ simian/xdocs/properties.xml | 24 ++++++++++++++++++++++++ 5 files changed, 41 insertions(+), 1 deletion(-) diff --git a/simian/plugin.jelly b/simian/plugin.jelly index da5ea930..3a749dab 100644 --- a/simian/plugin.jelly +++ b/simian/plugin.jelly @@ -52,7 +52,8 @@ failOnDuplication="${maven.simian.failonduplication}"> - + + diff --git a/simian/plugin.properties b/simian/plugin.properties index 5c8f0af8..7de5ac87 100644 --- a/simian/plugin.properties +++ b/simian/plugin.properties @@ -6,3 +6,6 @@ maven.simian.ignorestringcase = false maven.simian.ignorenumbers = false maven.simian.ignoresubtypenames = false maven.simian.ignoremodifiers = false + +maven.simian.includes = **/*.java +maven.simian.excludes = diff --git a/simian/project.xml b/simian/project.xml index 9ba00da7..1216608c 100644 --- a/simian/project.xml +++ b/simian/project.xml @@ -68,6 +68,15 @@ Maven Plugin + + Eric Pugh + epugh + epugh@opensourceconnections.com + OpenSource Connections + + Maven Plugin + + diff --git a/simian/xdocs/changes.xml b/simian/xdocs/changes.xml index f09995b6..0ee42cf5 100644 --- a/simian/xdocs/changes.xml +++ b/simian/xdocs/changes.xml @@ -9,6 +9,9 @@ + + Allow classes to be included/excluded. + Allow test case to be run. diff --git a/simian/xdocs/properties.xml b/simian/xdocs/properties.xml index cdfe1738..55831179 100644 --- a/simian/xdocs/properties.xml +++ b/simian/xdocs/properties.xml @@ -69,6 +69,30 @@ Ignore modifiers (Java, C#, C, C++, JavaScript): public, protected, static, etc. + + maven.simian.includes + Yes + + Specifies a comma-separated list of Ant patterns to use + when matching files in the source tree to be included in the + Simian report. The pattern specified is relative to + ${maven.src.dir}. The default value is + **/*.java, which matches all Java source files + in the source tree (specified by the ${maven.src.dir} + property. + + + + maven.simian.excludes + Yes + + Specifies a comma-separated list of Ant patterns to use when + matching files in the source tree to be excluded from the + Simian report. The pattern specified is relative to + ${maven.src.dir}. The default value is to not + exclude any files. + +