Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-03-09 06:23:37 -0500
committerUwe Stieber2012-03-09 06:23:37 -0500
commit5486823e0154460f8f9b0519fa1c8c9a2de82df5 (patch)
tree6ced234043713e2e237a2bf9479c5dbc14e23cc6 /target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml
parentc1484e8b4c49c502429fb9e4a7c9180d1141fcea (diff)
downloadorg.eclipse.tcf-5486823e0154460f8f9b0519fa1c8c9a2de82df5.tar.gz
org.eclipse.tcf-5486823e0154460f8f9b0519fa1c8c9a2de82df5.tar.xz
org.eclipse.tcf-5486823e0154460f8f9b0519fa1c8c9a2de82df5.zip
Maven: Move unit tests from default build profile into a separate profile
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml85
1 files changed, 48 insertions, 37 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml b/target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml
index 1584ec243..0b7735d91 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tests/pom.xml
@@ -6,50 +6,61 @@
<parent>
<groupId>org.eclipse.tcf</groupId>
- <artifactId>tcf-tests-parent</artifactId>
+ <artifactId>tcf-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
- <relativePath>../../../pom-tests.xml</relativePath>
+ <relativePath>../../../pom.xml</relativePath>
</parent>
<version>1.0.0.qualifier</version>
<artifactId>org.eclipse.tcf.te.tests</artifactId>
<packaging>eclipse-test-plugin</packaging>
- <properties>
- <sdk-version>3.8.0</sdk-version>
- <te-version>1.0.0</te-version>
+ <profiles>
+ <profile>
+ <id>run-tests</id>
+
+ <properties>
+ <sdk-version>3.8.0</sdk-version>
+ <te-version>1.0.0</te-version>
- <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m</ui.test.vmargs>
- </properties>
+ <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m</ui.test.vmargs>
+ </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <testSuite>org.eclipse.tcf.te.tests</testSuite>
- <testClass>org.eclipse.tcf.te.tests.suites.AllCoreTests</testClass>
- <useUIHarness>true</useUIHarness>
- <useUIThread>true</useUIThread>
- <product>org.eclipse.platform.ide</product>
- <argLine>${tycho.testArgLine} ${ui.test.vmargs}</argLine>
- <application>org.eclipse.ui.ide.workbench</application>
- <dependencies>
- <dependency>
- <type>p2-installable-unit</type>
- <artifactId>org.eclipse.sdk.feature.group</artifactId>
- <version>${sdk-version}</version>
- </dependency>
- <dependency>
- <type>p2-installable-unit</type>
- <artifactId>org.eclipse.tcf.te.feature.feature.group</artifactId>
- <version>${te-version}</version>
- </dependency>
- </dependencies>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.tcf.te.tests</testSuite>
+ <testClass>org.eclipse.tcf.te.tests.suites.AllCoreTests</testClass>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>true</useUIThread>
+ <product>org.eclipse.platform.ide</product>
+ <argLine>${tycho.testArgLine} ${ui.test.vmargs}</argLine>
+ <application>org.eclipse.ui.ide.workbench</application>
+ <dependencies>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.sdk.feature.group</artifactId>
+ <version>${sdk-version}</version>
+ </dependency>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.tcf.te.feature.feature.group</artifactId>
+ <version>${te-version}</version>
+ </dependency>
+ </dependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ </profile>
+ </profiles>
</project>

Back to the top