From e68daada41d80426b9d483d9b8f3910f3f4f7cde Mon Sep 17 00:00:00 2001 From: samskivert Date: Wed, 8 Sep 2010 19:04:33 +0000 Subject: [PATCH] Properly configure javadoc in our POM build. The POM is now approaching the line count of the build.xml file, but I suppose that's just because XML is absurdly verbose (and Maven annoyingly chose to do things like true instead of a quiet="true" attribute). I wonder if there's a Maven plugin that allows you to specify your pom.xml in YAML or some less verbose format and which automatically converts it to XML. That'd probably cut the line count by 2/3. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2853 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- build.xml | 28 ++++++++----------- pom.xml | 13 +++++++++ .../com/samskivert => javadoc}/overview.html | 0 3 files changed, 24 insertions(+), 17 deletions(-) rename src/main/{java/com/samskivert => javadoc}/overview.html (100%) diff --git a/build.xml b/build.xml index 9eb79df8..e64ef9fd 100644 --- a/build.xml +++ b/build.xml @@ -1,22 +1,14 @@ - - - - - - - + + - - - @@ -39,9 +31,11 @@ - + + + @@ -110,9 +104,9 @@ - @@ -121,7 +115,7 @@ - Copyright © 2000-${year} ${copyright.holder}. All Rights Reserved. + Copyright © 2000-${year} Michael Bayne, et al. All Rights Reserved. @@ -158,7 +152,7 @@ - + @@ -167,7 +161,7 @@ - + diff --git a/pom.xml b/pom.xml index dd89cbc4..05d452dc 100644 --- a/pom.xml +++ b/pom.xml @@ -132,6 +132,19 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + true + com.samskivert.velocity:com.samskivert.xml + + http://download.oracle.com/javase/6/docs/api/ + http://java.sun.com/products/javamail/javadocs/ + http://download.oracle.com/javaee/1.2.1/api/ + + + diff --git a/src/main/java/com/samskivert/overview.html b/src/main/javadoc/overview.html similarity index 100% rename from src/main/java/com/samskivert/overview.html rename to src/main/javadoc/overview.html