doc: Bug 495211: Update TmfTimestampFormat reference API
[deliverable/tracecompass.git] / doc / org.eclipse.tracecompass.doc.user / pom.xml
CommitLineData
89882f20
SG
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>
8995fed0 15 <artifactId>org.eclipse.tracecompass.doc</artifactId>
8336b412 16 <groupId>org.eclipse.tracecompass</groupId>
38a9b03f 17 <version>2.0.0-SNAPSHOT</version>
89882f20
SG
18 </parent>
19
8995fed0 20 <artifactId>org.eclipse.tracecompass.doc.user</artifactId>
2f187b77 21 <version>2.0.0-SNAPSHOT</version>
89882f20
SG
22 <packaging>eclipse-plugin</packaging>
23
8995fed0 24 <name>Trace Compass User Guide</name>
89882f20 25
82de5675
AM
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>
8995fed0 36 <echo>Generating Help Files</echo>
f4b0de0f 37 <target>
82de5675
AM
38 <property name="compile_classpath" refid="maven.compile.classpath" />
39 <ant target="build" inheritRefs="true" antfile="build.xml" />
f4b0de0f 40 </target>
82de5675
AM
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>
8995fed0 50 <echo>Cleaning up generated Help Files</echo>
f4b0de0f 51 <target>
82de5675 52 <ant target="clean" antfile="build.xml" />
f4b0de0f 53 </target>
82de5675
AM
54 </configuration>
55 <goals>
56 <goal>run</goal>
57 </goals>
58 </execution>
59 </executions>
82de5675 60 </plugin>
887cb879
MAL
61 <!-- Build help index -->
62 <plugin>
63 <groupId>org.eclipse.tycho.extras</groupId>
64 <artifactId>tycho-eclipserun-plugin</artifactId>
887cb879
MAL
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>
887cb879
MAL
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>
82de5675
AM
87 </plugins>
88 </build>
89
963f45d5
AM
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>
d187a562 112 <mkdir dir="${docDestination}/org.eclipse.tracecompass.doc.user/reference"/>
963f45d5
AM
113 <copy includeemptydirs="false" todir="${docDestination}/org.eclipse.tracecompass.doc.user">
114 <fileset dir="doc" includes="*.html,images/**"/>
115 </copy>
d187a562
PT
116 <copy includeemptydirs="false" todir="${docDestination}/org.eclipse.tracecompass.doc.user/reference">
117 <fileset dir="reference"/>
118 </copy>
963f45d5
AM
119 </target>
120 </configuration>
121 </execution>
122 </executions>
123 </plugin>
124 </plugins>
125 </build>
126 </profile>
127 </profiles>
128
89882f20 129</project>
This page took 0.075372 seconds and 5 git commands to generate.