Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a07bc3e29473a05b882e0bc185f293ca44cfb93b (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
<?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>
    <groupId>org.eclipse.papyrus.tests</groupId>
    <artifactId>org.eclipse.papyrus.tests.junit-framework</artifactId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <groupId>org.eclipse.papyrus.tests</groupId>
  <artifactId>org.eclipse.papyrus.bundles.tests</artifactId>
  <version>1.3.0-SNAPSHOT</version>
  <packaging>eclipse-test-plugin</packaging>
  
	<build>
		<plugins>
			<plugin>
				<!-- By default, don't do tests -->
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-surefire-plugin</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<skipTests>true</skipTests>
				</configuration>
			</plugin>
		</plugins>
	</build>
	  
	<profiles>
		<!-- Profile for API Evolution Report generation. -->
		<profile>
			<id>api-report-gen</id>
	  		<activation>
				<property>
					<name>apireport.baseline</name>
				</property>
	  		</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-surefire-plugin</artifactId>
						<version>${tycho-version}</version>
						<configuration>
							<failIfNoTests>false</failIfNoTests>
							<useUIHarness>false</useUIHarness>
							<testFailureIgnore>true</testFailureIgnore>
							<argLine>-Dapireport.baseline=${apireport.baseline} -Dapireport.outputdir=${apireport.outputdir} -Xms512m -Xmx2048m</argLine>
							<appArgLine>-testConfig=CI_TESTS_CONFIG</appArgLine>
							<product>org.eclipse.sdk.ide</product>
							<skipTests>false</skipTests>
							<testClass>org.eclipse.papyrus.bundles.tests.APIReports</testClass>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>target-platform-configuration</artifactId>
						<version>${tycho-version}</version>
						<configuration>
							<dependency-resolution>
								<extraRequirements>
									<requirement>
										<type>p2-installable-unit</type>
										<id>org.eclipse.sdk.feature.group</id>
										<versionRange>0.0.0</versionRange>
									</requirement>
									<requirement>
										<type>eclipse-feature</type>
										<id>org.eclipse.papyrus.sdk.feature</id>
										<versionRange>0.0.0</versionRange>
									</requirement>
								</extraRequirements>
							</dependency-resolution>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>

Back to the top