summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorcarnold <[email protected]>2007-07-28 00:09:16 +0000
committercarnold <[email protected]>2007-07-28 00:09:16 +0000
commit6761c397128d7fbaa4724ab014d4c4be9c867d09 (patch)
tree4ac521242d28d3fe7672837ceea086dc951a8bc1 /pom.xml
parent13baa997b4ef5ded998b6ead02d14bcfd81d32e3 (diff)
Bug 1760649: Add Maven buildable documentation, break dependency of ant/proposal/xdocs
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/cpptasks/trunk@126 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml44
1 files changed, 37 insertions, 7 deletions
diff --git a/pom.xml b/pom.xml
index 62d9a85..2ce3cbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,10 @@
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=ant-contrib-developers</archive>
</mailingList>
</mailingLists>
+ <organization>
+ <name>Ant-Contrib Project</name>
+ <url>http://ant-contrib.sourceforge.net</url>
+ </organization>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
@@ -97,12 +101,32 @@
<executions>
<!-- release builds will put SVN tags into the SCM page, this changes it back to a branch -->
<execution>
+ <phase>pre-site</phase>
+ <id>pre-site</id>
+ <configuration>
+ <tasks>
+ <mkdir dir="target/taskdocs-classes"/>
+ <javac srcdir="src/taskdocs/java" destdir="target/taskdocs-classes" debug="true"/>
+ <mkdir dir="src/site/xdoc/antdocs"/>
+ <javadoc sourcepath="src/main/java"
+ doclet="net.sf.antcontrib.taskdocs.TaskDoclet"
+ docletPath="target/taskdocs-classes"
+ classpath="${user.home}/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar">
+ <fileset dir="src/main/java" includes="**/*.java"/>
+ </javadoc>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
<phase>site</phase>
<id>untag-site</id>
<configuration>
<tasks>
<taskdef name="replaceregexp" classname="org.apache.tools.ant.taskdefs.optional.ReplaceRegExp" />
- <replaceregexp file="target/site/source-repository.html" match="/tags/[^ ]*" replace="/branches/v1_2-branch" flags="g" />
+ <replaceregexp file="target/site/source-repository.html" match="/tags/[^ ]*" replace="/branches/v1_2-branch" flags="g" />
</tasks>
</configuration>
<goals>
@@ -116,6 +140,16 @@
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant-trax</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>ant-contrib</groupId>
+ <artifactId>taskdocs</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ </dependency>
</dependencies>
</plugin>
<plugin>
@@ -134,7 +168,7 @@
</execution>
</executions>
</plugin>
- <plugin>
+ <!-- plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
@@ -144,7 +178,7 @@
</goals>
</execution>
</executions>
- </plugin>
+ </plugin -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
@@ -196,10 +230,6 @@
</reportSets>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jxr-maven-plugin</artifactId>
- </plugin>
- <plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<goals>site-deploy</goals>