Use pom.build.sourceModifications where they exist
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113677 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -130,7 +130,22 @@
|
||||
|
||||
<ant:fileset dir="${pom.build.sourceDirectory}"
|
||||
includes="${maven.checkstyle.includes}"
|
||||
excludes="${maven.checkstyle.excludes}"/>
|
||||
excludes="${maven.checkstyle.excludes}">
|
||||
<!-- FIXME: This is a bad cut and paste -->
|
||||
<!-- handle source modifications -->
|
||||
<j:forEach var="sm" items="${pom.build.sourceModifications}">
|
||||
<ant:available property="classPresent" classname="${sm.className}"/>
|
||||
<j:if test="${classPresent != 'true'}">
|
||||
<j:forEach var="exclude" items="${sm.excludes}">
|
||||
<ant:exclude name="${exclude}"/>
|
||||
</j:forEach>
|
||||
<j:forEach var="include" items="${sm.includes}">
|
||||
<ant:include name="${include}"/>
|
||||
</j:forEach>
|
||||
</j:if>
|
||||
</j:forEach>
|
||||
|
||||
</ant:fileset>
|
||||
|
||||
<ant:formatter type="xml"
|
||||
toFile="${maven.build.dir}/checkstyle-raw-report.xml"/>
|
||||
|
||||
Reference in New Issue
Block a user