add placeholder javadocs task that always fails rather than relying upon a nonexistant task

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-02-15 15:52:06 +00:00
parent d47f01c350
commit 4ae7fdf84f
1 changed files with 6 additions and 1 deletions

View File

@ -781,8 +781,13 @@
<target name="default" depends="jar-core"/>
<available type="file" file="pom.xml" property="pom.xml.present"/>
<!-- TODO, this is really unintuitive how we depend on a target that does not exist -->
<target name="javadocs">
<fail message="You must redefine the javadocs task to do something!!!!!"/>
</target>
<target name="dist-maven" if="pom.xml.present" depends="jar-core, jar-src">
<target name="dist-maven" if="pom.xml.present" depends="jar-core, jar-src, javadocs">
<taskdef resource="org/apache/maven/artifact/ant/antlib.xml"
uri="antlib:org.apache.maven.artifact.ant"
classpathref="maven-ant-tasks.classpath"/>