Skip to main content
summaryrefslogtreecommitdiffstats
blob: d891a9204742320027d4a6730a2c4669d7b5336c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<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"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>org.eclipse.mylyn-aggregator</artifactId>
    <groupId>org.eclipse.mylyn</groupId>
    <version>3.10.1-SNAPSHOT</version>
  </parent>
  <artifactId>org.eclipse.mylyn.tests</artifactId>
  <version>3.10.1-SNAPSHOT</version>
  <packaging>eclipse-test-plugin</packaging>
  <properties>
    <test.integration.suite>org.eclipse.mylyn.tests.AllTests</test.integration.suite>
    <test.all.skip>${test.skip}</test.all.skip>
    <test.integration.skip>${test.all.skip}</test.integration.skip>
  </properties>
  <profiles>
    <profile>
      <id>localonly</id>
      <properties>
        <test.integration.suite>org.eclipse.mylyn.tests.AllLocalTests</test.integration.suite>
      </properties>
    </profile>
    <profile>
      <id>heartbeat</id>
      <properties>
        <test.integration.suite>org.eclipse.mylyn.tests.AllHeartbeatTests</test.integration.suite>
      </properties>
    </profile>
  </profiles>
  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-surefire-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <skip>${test.integration.skip}</skip>
          <testSuite>${project.artifactId}</testSuite>
          <testClass>${test.integration.suite}</testClass>
          <forkedProcessTimeoutInSeconds>10800</forkedProcessTimeoutInSeconds>
          <explodedBundles>
            <explodedBundle>org.eclipse.mylyn.bugzilla.tests</explodedBundle>
          </explodedBundles>
          <dependencies>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.sdk.feature.group</artifactId>
              <version>${platform-version}</version>
            </dependency>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.mylyn.sdk_feature.feature.group</artifactId>
              <version>0.0.0</version>
            </dependency>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.mylyn.context.sdk.feature.group</artifactId>
              <version>0.0.0</version>
            </dependency>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.mylyn.docs.sdk.feature.group</artifactId>
              <version>0.0.0</version>
            </dependency>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.cdt.mylyn.feature.group</artifactId>
              <version>0.0.0</version>
            </dependency>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.mylyn.gerrit.feature.feature.group</artifactId>
              <version>0.0.0</version>
            </dependency>
            <dependency>
              <type>p2-installable-unit</type>
              <artifactId>org.eclipse.mylyn.hudson.feature.group</artifactId>
              <version>0.0.0</version>
            </dependency>
          </dependencies>		  
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>xml-maven-plugin</artifactId>
        <version>1.0-beta-3</version>
        <executions>
          <execution>
            <phase>post-integration-test</phase>
            <goals>
              <goal>transform</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <transformationSets>
            <!-- append @x.y.z to repository test cases to differentiate test fixtures -->
            <transformationSet>
              <dir>${project.build.directory}/surefire-reports</dir>
              <outputDir>${project.build.directory}/surefire-reports</outputDir>
              <includes>
                <include>*.xml</include>
              </includes>
              <!-- map to different file extensions since overriding source
                   file does not work -->
              <fileMappers>
                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                  <targetExtension>.tmp</targetExtension>
                </fileMapper>
              </fileMappers>
              <stylesheet>${basedir}/test-fixture.xsl</stylesheet>
            </transformationSet>
            <!-- append @ex.y to all test cases to differentiate target platform -->
            <transformationSet>
              <dir>${project.build.directory}/surefire-reports</dir>
              <outputDir>${project.build.directory}/surefire-reports</outputDir>
              <stylesheet>${basedir}/test-suite.xsl</stylesheet>
              <includes>
                <include>*.tmp</include>
              </includes>
              <fileMappers>
                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                  <targetExtension>.xml</targetExtension>
                </fileMapper>
              </fileMappers>
              <!--
                  <parameters>
                  <parameter>
                  <name>append</name>
                  <value>${mylyn-test-append}</value>
                  </parameter>
                  </parameters>
              -->
            </transformationSet>
          </transformationSets>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-source-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
</project>

Back to the top