mirror of https://github.com/apache/lucene.git
SOLR-762: Provide RAT support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@693602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86ad9f717a
commit
897f0c2577
14
build.xml
14
build.xml
|
@ -813,6 +813,20 @@
|
||||||
depends="test, create-package">
|
depends="test, create-package">
|
||||||
<!-- no description, don't advertise -->
|
<!-- no description, don't advertise -->
|
||||||
</target>
|
</target>
|
||||||
|
<target name="-taskdef">
|
||||||
|
<typedef resource="org/apache/rat/anttasks/antlib.xml" uri="antlib:rat.anttasks">
|
||||||
|
<classpath>
|
||||||
|
<fileset dir="." includes="rat*.jar"/>
|
||||||
|
</classpath>
|
||||||
|
</typedef>
|
||||||
|
</target>
|
||||||
|
<target name="rat-sources" depends="-taskdef"
|
||||||
|
description="runs the tasks over src/java excluding the license directory">
|
||||||
|
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
|
||||||
|
<fileset dir="src/java">
|
||||||
|
</fileset>
|
||||||
|
</rat:report>
|
||||||
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue