@@ -109,7 +109,7 @@
<!-- Simian -->
<!-- Simian -->
<property name="simian.version"
<property name="simian.version"
value="2.5.10"
value="2.5.10"
description="Which V ersion of Simian to use"/>
description="Which v ersion of Simian to use"/>
<property name="simian.uri"
<property name="simian.uri"
value="http://www.harukizaemon.com/simian/simian-${simian.version}.tar.gz"
value="http://www.harukizaemon.com/simian/simian-${simian.version}.tar.gz"
description="Where to get Simian"/>
description="Where to get Simian"/>
@@ -128,6 +128,11 @@
value="${build.dir}/reports/owasp-dc"
value="${build.dir}/reports/owasp-dc"
description="Where to store the OWASP Dependency Check reports"/>
description="Where to store the OWASP Dependency Check reports"/>
<!-- Nu HTML Validator -->
<property name="vnu.version"
value="18.11.5"
description="Which version of Nu HTML Validator to use"/>
<target name="init-ivy">
<target name="init-ivy">
<property name="ivy.version" value="2.4.0"/>
<property name="ivy.version" value="2.4.0"/>
<property name="ivy.jar.url" value="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"/>
<property name="ivy.jar.url" value="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"/>
@@ -312,4 +317,19 @@
</owasp:dependency-check>
</owasp:dependency-check>
</target>
</target>
<target name="vnu" description="--> Runs the Nu HTML Validator" depends="init-ivy">
<ivy:cachepath organisation="nu.validator" module="validator" revision="${vnu.version}"
inline="true" conf="default" pathid="nu.classpath"/>
<fileset dir="." id="html.files">
<include name="${src.dir}/**/*.html"/>
<include name="${manual.dir}/**/*.html"/>
<exclude name="${manual.dir}/index.html"/>
</fileset>
<pathconvert pathsep=" " property="html.list" refid="html.files"/>
<java classname="nu.validator.client.SimpleCommandLineValidator" classpathref="nu.classpath"
failonerror="true" taskname="vnu">
<arg line="--html --format text"/>
<arg line="${html.list}"/>
</java>
</target>
</project>
</project>