releng: Move the "performance" profile check inside the alltests plugin
[deliverable/tracecompass.git] / releng / org.eclipse.tracecompass.alltests / pom.xml
CommitLineData
a167a565
MAL
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2014 Ericsson
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9-->
10<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
11 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
12 <modelVersion>4.0.0</modelVersion>
13
14 <parent>
2e225298 15 <artifactId>org.eclipse.tracecompass.releng-parent</artifactId>
8336b412 16 <groupId>org.eclipse.tracecompass</groupId>
0dcb3594 17 <version>2.0.0-SNAPSHOT</version>
a167a565
MAL
18 </parent>
19
83dbbb62 20 <artifactId>org.eclipse.tracecompass.alltests</artifactId>
c7e8f6e3 21 <version>1.0.0-SNAPSHOT</version>
a167a565
MAL
22 <packaging>eclipse-test-plugin</packaging>
23
83dbbb62 24 <name>Trace Compass All Tests</name>
a167a565
MAL
25
26 <properties>
27 <perf.database.loc>//127.0.0.1</perf.database.loc>
28 <perf.config>build=20140707-1632;host=myhost;config=linux;jvm=1.7</perf.config>
29 <perfFilesDestination>target</perfFilesDestination>
30 </properties>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.eclipse.tycho</groupId>
36 <artifactId>tycho-surefire-plugin</artifactId>
a167a565 37 <configuration>
1595a685
AM
38 <!-- Default build will not find any tests, but the profiles below
39 can define some. -->
40 <failIfNoTests>false</failIfNoTests>
a167a565
MAL
41 </configuration>
42 </plugin>
a167a565
MAL
43 </plugins>
44 </build>
1595a685
AM
45
46 <profiles>
47 <!-- Profile to run the performance tests -->
48 <profile>
49 <id>performance</id>
50 <build>
51 <plugins>
52 <plugin>
53 <groupId>org.eclipse.tycho</groupId>
54 <artifactId>tycho-surefire-plugin</artifactId>
55 <version>${tycho-version}</version>
56 <configuration>
57 <argLine>-Declipse.perf.dbloc=${perf.database.loc} -Declipse.perf.config=${perf.config}</argLine>
58 <runOrder>reversealphabetical</runOrder>
59 <includes>
60 <include>**/RunAllPerfTests.java</include>
61 <include>**/PerfResultsToJSon.java</include>
62 </includes>
63 <useUIHarness>false</useUIHarness>
64 <useUIThread>false</useUIThread>
65 <product>org.eclipse.platform.ide</product>
66 </configuration>
67 </plugin>
68 <plugin>
69 <artifactId>maven-antrun-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>deploy-performance-files</id>
73 <phase>install</phase>
74 <goals>
75 <goal>run</goal>
76 </goals>
77 <configuration>
78 <target>
79 <copy includeemptydirs="false"
80 todir="${perfFilesDestination}">
81 <fileset dir=".">
82 <include name="*.json" />
83 <include name="*.js" />
84 </fileset>
85 </copy>
86 </target>
87 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91 <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
92 <plugin>
93 <artifactId>maven-clean-plugin</artifactId>
94 <version>2.6.1</version>
95 <executions>
96 <execution>
97 <id>clean-performance-files</id>
98 <phase>clean</phase>
99 <configuration>
100 <filesets>
101 <fileset>
102 <directory>.</directory>
103 <includes>
104 <include>*.json</include>
105 <include>*.js</include>
106 </includes>
107 </fileset>
108 </filesets>
109 </configuration>
110 <goals>
111 <goal>clean</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116 </plugins>
117 </build>
118 </profile>
119 </profiles>
120
121
a167a565 122</project>
This page took 0.046082 seconds and 5 git commands to generate.