You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/02/15 16:52:06 UTC
svn commit: r1244552 - /lucene/dev/trunk/lucene/common-build.xml
Author: rmuir
Date: Wed Feb 15 15:52:06 2012
New Revision: 1244552
URL: http://svn.apache.org/viewvc?rev=1244552&view=rev
Log:
add placeholder javadocs task that always fails rather than relying upon a nonexistant task
Modified:
lucene/dev/trunk/lucene/common-build.xml
Modified: lucene/dev/trunk/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/common-build.xml?rev=1244552&r1=1244551&r2=1244552&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/common-build.xml (original)
+++ lucene/dev/trunk/lucene/common-build.xml Wed Feb 15 15:52:06 2012
@@ -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"/>