kaz         02/04/27 09:17:20

  Modified:    src/templates/build build-maven.xml
  Log:
  Somewhere along the line, Maven refused to build documentation for
  documentation-only projects (i.e. those without any source directories).
  This change fixes that problem.  Now, projects such as
  jakarta-turbine-site build again.
  
  Revision  Changes    Path
  1.37      +7 -0      jakarta-turbine-maven/src/templates/build/build-maven.xml
  
  Index: build-maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-maven.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- build-maven.xml   25 Apr 2002 15:51:28 -0000      1.36
  +++ build-maven.xml   27 Apr 2002 16:17:20 -0000      1.37
  @@ -185,6 +185,13 @@
   
     <target
       name="compile"
  +    if="sourcesPresent"
  +    description="o Compile project source code">
  +    <antcall target="do-compile"/>
  +  </target>
  +
  +  <target
  +    name="do-compile"
       depends="env,prepare-sources,javac.compile,aspectj.compile"
       description="o Compile project source code"/>
   
  
  
  


Reply via email to