diff options
Diffstat (limited to 'bundles/org.eclipse.platform.doc.isv/pom.xml')
-rw-r--r-- | bundles/org.eclipse.platform.doc.isv/pom.xml | 62 |
1 files changed, 61 insertions, 1 deletions
diff --git a/bundles/org.eclipse.platform.doc.isv/pom.xml b/bundles/org.eclipse.platform.doc.isv/pom.xml index 043cdb5e7..cd857a335 100644 --- a/bundles/org.eclipse.platform.doc.isv/pom.xml +++ b/bundles/org.eclipse.platform.doc.isv/pom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012 Eclipse Foundation. + Copyright (c) 2012 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,4 +23,64 @@ <artifactId>org.eclipse.platform.doc.isv</artifactId> <version>4.2.1-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> + + <profiles> + <profile> + <id>build-docs</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-eclipserun-plugin</artifactId> + <!-- this is actually present in any 0.14+ version --> + <version>${tycho.version}</version> + <configuration> + <!-- this is to fix some lucene 3.x compatibility issue --> + <argLine>-Dhelp.lucene.tokenizer=standard</argLine> + <!-- actuall indexer call --> + <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile buildDoc.xml -Dbasedir.properties=cbi_basedirs.properties</appArgLine> + <dependencies> + <!-- list of bundles that we need --> + <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> + <dependency> + <artifactId>org.eclipse.pde.build</artifactId> + <type>eclipse-plugin</type> + </dependency> + <dependency> + <artifactId>org.eclipse.pde.core</artifactId> + <type>eclipse-plugin</type> + </dependency> + <dependency> + <artifactId>org.eclipse.equinox.launcher</artifactId> + <type>eclipse-plugin</type> + </dependency> + </dependencies> + </configuration> + <executions> + <execution> + <goals> + <goal>eclipse-run</goal> + </goals> + <phase>compile</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |