Bug 385410 - Build documentation using tycho - Part 1 org.eclispe.platform.doc.user
diff --git a/bundles/org.eclipse.platform.doc.user/pom.xml b/bundles/org.eclipse.platform.doc.user/pom.xml
index ede30e5..4e97765 100644
--- a/bundles/org.eclipse.platform.doc.user/pom.xml
+++ b/bundles/org.eclipse.platform.doc.user/pom.xml
@@ -23,4 +23,41 @@
   <artifactId>org.eclipse.platform.doc.user</artifactId>
   <version>4.2.0-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho.extras</groupId>
+        <artifactId>tycho-eclipserun-plugin</artifactId>
+        <version>${tycho.version}</version>
+        <configuration>
+          <argLine>-Dhelp.lucene.tokenizer=standard</argLine>
+          <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
+          <dependencies>
+            <dependency>
+              <artifactId>org.eclipse.ant.core</artifactId>
+              <type>eclipse-plugin</type>
+            </dependency>
+            <dependency>
+              <artifactId>org.apache.ant</artifactId>
+              <type>eclipse-plugin</type>
+            </dependency>
+            <dependency>
+              <artifactId>org.eclipse.help.base</artifactId>
+              <type>eclipse-plugin</type>
+            </dependency>
+          </dependencies>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>eclipse-run</goal>
+            </goals>
+            <phase>compile</phase>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>