releng: Do not build the testing feature when some tests are skipped
[deliverable/tracecompass.git] / releng / pom.xml
index 2766c408db8e5fb62c2e76b9880d07f6d9f385f6..45758e0060052b95627afaab7d10dc78f32b1142 100644 (file)
   <name>Trace Compass Release Engineering Parent</name>
 
   <modules>
-    <module>org.eclipse.tracecompass.alltests</module>
-    <module>org.eclipse.tracecompass.integration.swtbot.tests</module>
-    <module>org.eclipse.tracecompass.releng-site</module>
     <module>org.eclipse.tracecompass.target</module>
-    <module>org.eclipse.tracecompass.testing</module>
   </modules>
 
+  <profiles>
+    <profile>
+      <id>automated-ui-tests</id>
+      <activation>
+        <property>
+          <name>!skip-automated-ui-tests</name>
+        </property>
+      </activation>
+      <modules>
+        <!--
+          The releng-site requires the testing feature, and the testing feature
+          requires all SWTBot tests, so only build those when we build those tests.
+        -->
+        <module>org.eclipse.tracecompass.alltests</module>
+        <module>org.eclipse.tracecompass.integration.swtbot.tests</module>
+        <module>org.eclipse.tracecompass.releng-site</module>
+        <module>org.eclipse.tracecompass.testing</module>
+      </modules>
+    </profile>
+  </profiles>
 
 </project>
This page took 0.024844 seconds and 5 git commands to generate.