1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Copyright (C) 2011, Red Hat, Inc.
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
10 <project xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns=
"http://maven.apache.org/POM/4.0.0"
11 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance">
12 <modelVersion>4.0.0</modelVersion>
15 <artifactId>org.eclipse.tracecompass.doc
</artifactId>
16 <groupId>org.eclipse.tracecompass
</groupId>
17 <version>2.0.0-SNAPSHOT
</version>
20 <artifactId>org.eclipse.tracecompass.doc.user
</artifactId>
21 <version>2.0.0-SNAPSHOT
</version>
22 <packaging>eclipse-plugin
</packaging>
24 <name>Trace Compass User Guide
</name>
29 <groupId>org.apache.maven.plugins
</groupId>
30 <artifactId>maven-antrun-plugin
</artifactId>
33 <id>generate-documentation
</id>
34 <phase>generate-sources
</phase>
36 <echo>Generating Help Files
</echo>
38 <property name=
"compile_classpath" refid=
"maven.compile.classpath" />
39 <ant target=
"build" inheritRefs=
"true" antfile=
"build.xml" />
47 <id>clean-documentation
</id>
50 <echo>Cleaning up generated Help Files
</echo>
52 <ant target=
"clean" antfile=
"build.xml" />
61 <!-- Build help index -->
63 <groupId>org.eclipse.tycho.extras
</groupId>
64 <artifactId>tycho-eclipserun-plugin
</artifactId>
66 <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build.xml build.index
</appArgLine>
69 <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
71 <artifactId>maven-clean-plugin
</artifactId>
78 <fileset><directory>index/
</directory></fileset>
96 <artifactId>maven-antrun-plugin
</artifactId>
100 <phase>install
</phase>
106 <delete includeemptydirs=
"false">
108 dir=
"${docDestination}/org.eclipse.tracecompass.doc.user">
109 <include name=
"**" />
113 <copy includeemptydirs=
"false" todir=
"${docDestination}/org.eclipse.tracecompass.doc.user">
114 <fileset dir=
"doc" includes=
"*.html,images/**"/>