Bump versions for 2.2.0 release
[deliverable/tracecompass.git] / doc / org.eclipse.tracecompass.gdbtrace.doc.user / pom.xml
index 67d0654b5000a4e44bff6248fa55fa29df5b7740..ab32de8af3272a586060e23a1b15ba97474850e9 100644 (file)
   <parent>
     <artifactId>org.eclipse.tracecompass.doc</artifactId>
     <groupId>org.eclipse.tracecompass</groupId>
-    <version>0.1.0-SNAPSHOT</version>
+    <version>2.2.0-SNAPSHOT</version>
   </parent>
 
   <artifactId>org.eclipse.tracecompass.gdbtrace.doc.user</artifactId>
-  <version>0.1.0-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
 
   <name>Trace Compass GDB Tracepoint Analysis User Guide</name>
             </goals>
           </execution>
         </executions>
-
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant</artifactId>
-            <version>1.8.1</version>
-          </dependency>
-
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-launcher</artifactId>
-            <version>1.8.1</version>
-          </dependency>
-
-          <dependency>
-            <groupId>org.apache.ant</groupId>
-            <artifactId>ant-nodeps</artifactId>
-            <version>1.8.1</version>
-          </dependency>
-
-        </dependencies>
+      </plugin>
+      <!-- Build help index -->
+      <plugin>
+        <groupId>org.eclipse.tycho.extras</groupId>
+        <artifactId>tycho-eclipserun-plugin</artifactId>
+        <configuration>
+          <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build.xml build.index</appArgLine>
+        </configuration>
+      </plugin>
+      <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
+      <plugin>
+        <artifactId>maven-clean-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>clean-index</id>
+            <phase>clean</phase>
+            <configuration>
+              <filesets>
+                <fileset><directory>index/</directory></fileset>
+              </filesets>
+            </configuration>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>
 
-  <groupId>org.eclipse.tracecompass</groupId>
+  <profiles>
+    <profile>
+      <id>deploy-doc</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>deploy</id>
+                <phase>install</phase>
+                  <goals>
+                    <goal>run</goal>
+                  </goals>
+                  <configuration>
+                  <target>
+                    <delete includeemptydirs="false">
+                      <fileset
+                        dir="${docDestination}/org.eclipse.tracecompass.gdbtrace.doc.user">
+                        <include name="**" />
+                      </fileset>
+                    </delete>
+
+                    <copy includeemptydirs="false" todir="${docDestination}/org.eclipse.tracecompass.gdbtrace.doc.user">
+                      <fileset dir="doc" includes="*.html,images/**"/>
+                    </copy>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
This page took 0.027699 seconds and 5 git commands to generate.