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
This commit is contained in:
1 parent
5f37d3100d
commit
02e22d1895
5 files changed
+41
-1
No files matched your search
+2
-1
@@ -52,7 +52,8 @@
|
||||
failOnDuplication="${maven.simian.failonduplication}">
|
||||
|
||||
<ant:fileset dir="${pom.build.sourceDirectory}">
|
||||
<ant:include name="**/*.java"/>
|
||||
<ant:include name="${maven.simian.includes}"/>
|
||||
<ant:exclude name="${maven.simian.excludes}"/>
|
||||
<!-- FIXME: This is a bad cut and paste -->
|
||||
<!-- handle source modifications -->
|
||||
<j:forEach var="sm" items="${pom.build.sourceModifications}">
|
||||
|
||||
@@ -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 =
|
||||
@@ -68,6 +68,15 @@
|
||||
<role>Maven Plugin</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Eric Pugh</name>
|
||||
<id>epugh</id>
|
||||
<email>epugh@opensourceconnections.com</email>
|
||||
<organization>OpenSource Connections</organization>
|
||||
<roles>
|
||||
<role>Maven Plugin</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<contributors>
|
||||
<contributor>
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
<body>
|
||||
|
||||
<release version="1.3" date="in CVS">
|
||||
<action dev="epugh" type="add">
|
||||
Allow classes to be included/excluded.
|
||||
</action>
|
||||
<action dev="dion" type="fix">
|
||||
Allow test case to be run.
|
||||
</action>
|
||||
|
||||
@@ -69,6 +69,30 @@
|
||||
Ignore modifiers (Java, C#, C, C++, JavaScript): public, protected, static, etc.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.simian.includes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
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
|
||||
<code>${maven.src.dir}</code>. The default value is
|
||||
<code>**/*.java</code>, which matches all Java source files
|
||||
in the source tree (specified by the <code>${maven.src.dir}</code>
|
||||
property.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.simian.excludes</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
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
|
||||
<code>${maven.src.dir}</code>. The default value is to not
|
||||
exclude any files.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user