|
13 | 13 | <version>1.0.0-SNAPSHOT</version> |
14 | 14 | <packaging>eclipse-test-plugin</packaging> |
15 | 15 |
|
16 | | - <build> |
17 | | - <plugins> |
18 | | - <plugin> |
19 | | - <groupId>org.eclipse.tycho</groupId> |
20 | | - <artifactId>target-platform-configuration</artifactId> |
21 | | - <version>${tycho.version}</version> |
22 | | - <configuration> |
23 | | - <dependency-resolution> |
24 | | - <extraRequirements> |
25 | | - <requirement> |
26 | | - <type>eclipse-feature</type> |
27 | | - <id>org.eclipse.cdt</id> |
28 | | - <versionRange>0.0.0</versionRange> |
29 | | - </requirement> |
30 | | - </extraRequirements> |
31 | | - </dependency-resolution> |
32 | | - </configuration> |
33 | | - </plugin> |
34 | | - <plugin> |
35 | | - <groupId>org.eclipse.tycho</groupId> |
36 | | - <artifactId>tycho-surefire-plugin</artifactId> |
37 | | - <version>${tycho.version}</version> |
38 | | - <configuration> |
39 | | - <useUIHarness>true</useUIHarness> |
40 | | - <useUIThread>false</useUIThread> |
41 | | - <product>org.codechecker.eclipse.feature</product> |
42 | | - <application>org.eclipse.ui.ide.workbench</application> |
43 | | - <testClass>org.codechecker.eclipse.plugin.AllTests</testClass> |
44 | | - </configuration> |
45 | | - </plugin> |
46 | | - </plugins> |
47 | | - </build> |
| 16 | + <profiles> |
| 17 | + <profile> |
| 18 | + <id>active-on-jdk-8</id> |
| 19 | + <activation> |
| 20 | + <jdk>1.8</jdk> |
| 21 | + </activation> |
| 22 | + <build> |
| 23 | + <plugins> |
| 24 | + <plugin> |
| 25 | + <groupId>org.eclipse.tycho</groupId> |
| 26 | + <artifactId>target-platform-configuration</artifactId> |
| 27 | + <version>${tycho.version}</version> |
| 28 | + <configuration> |
| 29 | + <dependency-resolution> |
| 30 | + <extraRequirements> |
| 31 | + <requirement> |
| 32 | + <type>eclipse-feature</type> |
| 33 | + <id>org.eclipse.cdt</id> |
| 34 | + <versionRange>0.0.0</versionRange> |
| 35 | + </requirement> |
| 36 | + </extraRequirements> |
| 37 | + </dependency-resolution> |
| 38 | + </configuration> |
| 39 | + </plugin> |
| 40 | + <plugin> |
| 41 | + <groupId>org.eclipse.tycho</groupId> |
| 42 | + <artifactId>tycho-surefire-plugin</artifactId> |
| 43 | + <version>${tycho.version}</version> |
| 44 | + <configuration> |
| 45 | + <useUIHarness>true</useUIHarness> |
| 46 | + <useUIThread>false</useUIThread> |
| 47 | + <product>org.codechecker.eclipse.feature</product> |
| 48 | + <application>org.eclipse.ui.ide.workbench</application> |
| 49 | + <testClass>org.codechecker.eclipse.plugin.AllTests</testClass> |
| 50 | + </configuration> |
| 51 | + </plugin> |
| 52 | + </plugins> |
| 53 | + </build> |
| 54 | + </profile> |
| 55 | + <profile> |
| 56 | + <id>active-on-jdk-9</id> |
| 57 | + <activation> |
| 58 | + <jdk>9</jdk> |
| 59 | + </activation> |
| 60 | + <build> |
| 61 | + <plugins> |
| 62 | + <plugin> |
| 63 | + <groupId>org.eclipse.tycho</groupId> |
| 64 | + <artifactId>target-platform-configuration</artifactId> |
| 65 | + <version>${tycho.version}</version> |
| 66 | + <configuration> |
| 67 | + <dependency-resolution> |
| 68 | + <extraRequirements> |
| 69 | + <requirement> |
| 70 | + <type>eclipse-feature</type> |
| 71 | + <id>org.eclipse.cdt</id> |
| 72 | + <versionRange>0.0.0</versionRange> |
| 73 | + </requirement> |
| 74 | + <!--requirement> |
| 75 | + <type>eclipse-plugin</type> |
| 76 | + <id>javax.annotation</id> |
| 77 | + <versionRange>0.0.0</versionRange> |
| 78 | + </requirement--> |
| 79 | + </extraRequirements> |
| 80 | + </dependency-resolution> |
| 81 | + </configuration> |
| 82 | + </plugin> |
| 83 | + <plugin> |
| 84 | + <groupId>org.eclipse.tycho</groupId> |
| 85 | + <artifactId>tycho-surefire-plugin</artifactId> |
| 86 | + <version>${tycho.version}</version> |
| 87 | + <configuration> |
| 88 | + <useUIHarness>true</useUIHarness> |
| 89 | + <useUIThread>false</useUIThread> |
| 90 | + <argLine>--add-modules=java.se.ee</argLine> |
| 91 | + <product>org.codechecker.eclipse.feature</product> |
| 92 | + <application>org.eclipse.ui.ide.workbench</application> |
| 93 | + <testClass>org.codechecker.eclipse.plugin.AllTests</testClass> |
| 94 | + </configuration> |
| 95 | + </plugin> |
| 96 | + </plugins> |
| 97 | + </build> |
| 98 | + </profile> |
| 99 | + <profile> |
| 100 | + <id>active-on-jdk-10</id> |
| 101 | + <activation> |
| 102 | + <jdk>10</jdk> |
| 103 | + </activation> |
| 104 | + <build> |
| 105 | + <plugins> |
| 106 | + <plugin> |
| 107 | + <groupId>org.eclipse.tycho</groupId> |
| 108 | + <artifactId>target-platform-configuration</artifactId> |
| 109 | + <version>${tycho.version}</version> |
| 110 | + <configuration> |
| 111 | + <dependency-resolution> |
| 112 | + <extraRequirements> |
| 113 | + <requirement> |
| 114 | + <type>eclipse-feature</type> |
| 115 | + <id>org.eclipse.cdt</id> |
| 116 | + <versionRange>0.0.0</versionRange> |
| 117 | + </requirement> |
| 118 | + <!--requirement> |
| 119 | + <type>eclipse-plugin</type> |
| 120 | + <id>javax.annotation</id> |
| 121 | + <versionRange>1.2.0</versionRange> |
| 122 | + </requirement--> |
| 123 | + </extraRequirements> |
| 124 | + </dependency-resolution> |
| 125 | + </configuration> |
| 126 | + </plugin> |
| 127 | + <plugin> |
| 128 | + <groupId>org.eclipse.tycho</groupId> |
| 129 | + <artifactId>tycho-surefire-plugin</artifactId> |
| 130 | + <version>${tycho.version}</version> |
| 131 | + <configuration> |
| 132 | + <useUIHarness>true</useUIHarness> |
| 133 | + <useUIThread>false</useUIThread> |
| 134 | + <argLine>--add-modules=ALL-SYSTEM</argLine> |
| 135 | + <product>org.codechecker.eclipse.feature</product> |
| 136 | + <application>org.eclipse.ui.ide.workbench</application> |
| 137 | + <testClass>org.codechecker.eclipse.plugin.AllTests</testClass> |
| 138 | + </configuration> |
| 139 | + </plugin> |
| 140 | + </plugins> |
| 141 | + </build> |
| 142 | + </profile> |
| 143 | + <profile> |
| 144 | + <id>active-on-jdk-11</id> |
| 145 | + <activation> |
| 146 | + <jdk>11</jdk> |
| 147 | + </activation> |
| 148 | + <build> |
| 149 | + <plugins> |
| 150 | + <plugin> |
| 151 | + <groupId>org.eclipse.tycho</groupId> |
| 152 | + <artifactId>target-platform-configuration</artifactId> |
| 153 | + <version>${tycho.version}</version> |
| 154 | + <configuration> |
| 155 | + <dependency-resolution> |
| 156 | + <extraRequirements> |
| 157 | + <requirement> |
| 158 | + <type>eclipse-feature</type> |
| 159 | + <id>org.eclipse.cdt</id> |
| 160 | + <versionRange>0.0.0</versionRange> |
| 161 | + </requirement> |
| 162 | + <requirement> |
| 163 | + <type>eclipse-plugin</type> |
| 164 | + <id>javax.annotation</id> |
| 165 | + <versionRange>1.2.0</versionRange> |
| 166 | + </requirement> |
| 167 | + </extraRequirements> |
| 168 | + </dependency-resolution> |
| 169 | + </configuration> |
| 170 | + </plugin> |
| 171 | + <plugin> |
| 172 | + <groupId>org.eclipse.tycho</groupId> |
| 173 | + <artifactId>tycho-surefire-plugin</artifactId> |
| 174 | + <version>${tycho.version}</version> |
| 175 | + <configuration> |
| 176 | + <useUIHarness>true</useUIHarness> |
| 177 | + <useUIThread>false</useUIThread> |
| 178 | + <argLine>--add-modules=ALL-SYSTEM</argLine> |
| 179 | + <product>org.codechecker.eclipse.feature</product> |
| 180 | + <application>org.eclipse.ui.ide.workbench</application> |
| 181 | + <testClass>org.codechecker.eclipse.plugin.AllTests</testClass> |
| 182 | + </configuration> |
| 183 | + </plugin> |
| 184 | + </plugins> |
| 185 | + </build> |
| 186 | + </profile> |
| 187 | + </profiles> |
48 | 188 |
|
49 | 189 | </project> |
0 commit comments