/
pom.xml
85 lines (78 loc) · 2.24 KB
/
pom.xml
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
<?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>com.opcoach.genmodeladdon</groupId>
<artifactId>com.opcoach.genmodeladdon.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../build/com.opcoach.genmodeladdon.parent/pom.xml</relativePath>
</parent>
<groupId>com.opcoach.genmodeladdon</groupId>
<artifactId>com.opcoach.genmodeladdon.core.test</artifactId>
<version>1.5.0-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<properties>
<tychoVersion>${tycho-version}</tychoVersion>
</properties>
<profiles>
<profile>
<!-- Ignore optional deps to jdt.launching.macosx -->
<id>ignore-mac-deps-on-other-os</id>
<activation>
<os>
<family>!mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<dependency-resolution>
<optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<optionalDependencies>ignore</optionalDependencies>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>remove-other-platforms-from-query-on-mac</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<environments>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>