Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/org.eclipse.cdt.autotools.docs/pom.xml82
-rw-r--r--debug/org.eclipse.cdt.debug.application.doc/pom.xml76
-rw-r--r--doc/org.eclipse.cdt.doc.isv/pom.xml75
-rw-r--r--doc/org.eclipse.cdt.doc.user/pom.xml75
4 files changed, 182 insertions, 126 deletions
diff --git a/build/org.eclipse.cdt.autotools.docs/pom.xml b/build/org.eclipse.cdt.autotools.docs/pom.xml
index 879c4b3ebe..7ffb3abb18 100644
--- a/build/org.eclipse.cdt.autotools.docs/pom.xml
+++ b/build/org.eclipse.cdt.autotools.docs/pom.xml
@@ -14,39 +14,49 @@
<version>2.0.2-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.autotools.docs</artifactId>
<packaging>eclipse-plugin</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-eclipserun-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <configuration>
- <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build-index.xml build.index</appArgLine>
- <dependencies>
- <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.ant.core</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> \ No newline at end of file
+
+ <profiles>
+ <profile>
+ <id>build-doc</id>
+ <activation>
+ <property>
+ <name>!skipDoc</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-eclipserun-plugin</artifactId>
+ <version>${tycho-extras-version}</version>
+ <configuration>
+ <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile build-index.xml build.index</appArgLine>
+ <dependencies>
+ <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.ant.core</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>
diff --git a/debug/org.eclipse.cdt.debug.application.doc/pom.xml b/debug/org.eclipse.cdt.debug.application.doc/pom.xml
index 9508c587a2..f4bee761cc 100644
--- a/debug/org.eclipse.cdt.debug.application.doc/pom.xml
+++ b/debug/org.eclipse.cdt.debug.application.doc/pom.xml
@@ -31,36 +31,52 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-eclipserun-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <configuration>
- <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
- <dependencies>
- <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.ant.core</artifactId>
- <type>eclipse-plugin</type>
- </dependency>
- </dependencies>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>eclipse-run</goal>
- </goals>
- <phase>compile</phase>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>build-doc</id>
+ <activation>
+ <property>
+ <name>!skipDoc</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-eclipserun-plugin</artifactId>
+ <version>${tycho-extras-version}</version>
+ <configuration>
+ <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
+ <dependencies>
+ <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.ant.core</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>
diff --git a/doc/org.eclipse.cdt.doc.isv/pom.xml b/doc/org.eclipse.cdt.doc.isv/pom.xml
index 291f890a33..36927f9169 100644
--- a/doc/org.eclipse.cdt.doc.isv/pom.xml
+++ b/doc/org.eclipse.cdt.doc.isv/pom.xml
@@ -31,36 +31,51 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-eclipserun-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <configuration>
- <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile buildDoc.xml</appArgLine>
- <dependencies>
- <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.core</artifactId>
- <type>eclipse-plugin</type>
- </dependency>
- </dependencies>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>eclipse-run</goal>
- </goals>
- <phase>compile</phase>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>build-doc</id>
+ <activation>
+ <property>
+ <name>!skipDoc</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-eclipserun-plugin</artifactId>
+ <version>${tycho-extras-version}</version>
+ <configuration>
+ <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile buildDoc.xml</appArgLine>
+ <dependencies>
+ <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.core</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>
diff --git a/doc/org.eclipse.cdt.doc.user/pom.xml b/doc/org.eclipse.cdt.doc.user/pom.xml
index 6ef850ee96..5da7a6d952 100644
--- a/doc/org.eclipse.cdt.doc.user/pom.xml
+++ b/doc/org.eclipse.cdt.doc.user/pom.xml
@@ -31,36 +31,51 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-eclipserun-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <configuration>
- <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
- <dependencies>
- <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.ant.core</artifactId>
- <type>eclipse-plugin</type>
- </dependency>
- </dependencies>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>eclipse-run</goal>
- </goals>
- <phase>compile</phase>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>build-doc</id>
+ <activation>
+ <property>
+ <name>!skipDoc</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-eclipserun-plugin</artifactId>
+ <version>${tycho-extras-version}</version>
+ <configuration>
+ <appArgLine>-application org.eclipse.ant.core.antRunner -buildfile customBuildCallbacks.xml build.index</appArgLine>
+ <dependencies>
+ <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.ant.core</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>

Back to the top