doc: Bug 495211: Update TmfTimestampFormat reference API
[deliverable/tracecompass.git] / doc / org.eclipse.tracecompass.doc.user / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2011, Red Hat, Inc.
4
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
9 -->
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>
13
14 <parent>
15 <artifactId>org.eclipse.tracecompass.doc</artifactId>
16 <groupId>org.eclipse.tracecompass</groupId>
17 <version>2.0.0-SNAPSHOT</version>
18 </parent>
19
20 <artifactId>org.eclipse.tracecompass.doc.user</artifactId>
21 <version>2.0.0-SNAPSHOT</version>
22 <packaging>eclipse-plugin</packaging>
23
24 <name>Trace Compass User Guide</name>
25
26 <build>
27 <plugins>
28 <plugin>
29 <groupId>org.apache.maven.plugins</groupId>
30 <artifactId>maven-antrun-plugin</artifactId>
31 <executions>
32 <execution>
33 <id>generate-documentation</id>
34 <phase>generate-sources</phase>
35 <configuration>
36 <echo>Generating Help Files</echo>
37 <target>
38 <property name="compile_classpath" refid="maven.compile.classpath" />
39 <ant target="build" inheritRefs="true" antfile="build.xml" />
40 </target>
41 </configuration>
42 <goals>
43 <goal>run</goal>
44 </goals>
45 </execution>
46 <execution>
47 <id>clean-documentation</id>
48 <phase>clean</phase>
49 <configuration>
50 <echo>Cleaning up generated Help Files</echo>
51 <target>
52 <ant target="clean" antfile="build.xml" />
53 </target>
54 </configuration>
55 <goals>
56 <goal>run</goal>
57 </goals>
58 </execution>
59 </executions>
60 </plugin>
61 <!-- Build help index -->
62 <plugin>
63 <groupId>org.eclipse.tycho.extras</groupId>
64 <artifactId>tycho-eclipserun-plugin</artifactId>
65 <configuration>
66 <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build.xml build.index</appArgLine>
67 </configuration>
68 </plugin>
69 <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
70 <plugin>
71 <artifactId>maven-clean-plugin</artifactId>
72 <executions>
73 <execution>
74 <id>clean-index</id>
75 <phase>clean</phase>
76 <configuration>
77 <filesets>
78 <fileset><directory>index/</directory></fileset>
79 </filesets>
80 </configuration>
81 <goals>
82 <goal>clean</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>
87 </plugins>
88 </build>
89
90 <profiles>
91 <profile>
92 <id>deploy-doc</id>
93 <build>
94 <plugins>
95 <plugin>
96 <artifactId>maven-antrun-plugin</artifactId>
97 <executions>
98 <execution>
99 <id>deploy</id>
100 <phase>install</phase>
101 <goals>
102 <goal>run</goal>
103 </goals>
104 <configuration>
105 <target>
106 <delete includeemptydirs="false">
107 <fileset
108 dir="${docDestination}/org.eclipse.tracecompass.doc.user">
109 <include name="**" />
110 </fileset>
111 </delete>
112 <mkdir dir="${docDestination}/org.eclipse.tracecompass.doc.user/reference"/>
113 <copy includeemptydirs="false" todir="${docDestination}/org.eclipse.tracecompass.doc.user">
114 <fileset dir="doc" includes="*.html,images/**"/>
115 </copy>
116 <copy includeemptydirs="false" todir="${docDestination}/org.eclipse.tracecompass.doc.user/reference">
117 <fileset dir="reference"/>
118 </copy>
119 </target>
120 </configuration>
121 </execution>
122 </executions>
123 </plugin>
124 </plugins>
125 </build>
126 </profile>
127 </profiles>
128
129 </project>
This page took 0.032899 seconds and 5 git commands to generate.