|
19 | 19 | <target.platform>kepler</target.platform> |
20 | 20 |
|
21 | 21 | <java.version>1.7</java.version> |
22 | | - <tycho.version>2.6.0</tycho.version> |
| 22 | + <!-- https://github.com/eclipse/tycho/blob/master/RELEASE_NOTES.md --> |
| 23 | + <tycho.version>2.7.4</tycho.version> |
23 | 24 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
24 | 25 | <pmd.version>6.47.0</pmd.version> |
25 | 26 | <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version> |
|
79 | 80 | <version>${project.version}</version> |
80 | 81 | </artifact> |
81 | 82 | </target> |
82 | | - <environments> |
83 | | - <environment> |
84 | | - <os>linux</os> |
85 | | - <ws>gtk</ws> |
86 | | - <arch>x86</arch> |
87 | | - </environment> |
88 | | - <environment> |
89 | | - <os>linux</os> |
90 | | - <ws>gtk</ws> |
91 | | - <arch>x86_64</arch> |
92 | | - </environment> |
93 | | - <environment> |
94 | | - <os>win32</os> |
95 | | - <ws>win32</ws> |
96 | | - <arch>x86</arch> |
97 | | - </environment> |
98 | | - <environment> |
99 | | - <os>win32</os> |
100 | | - <ws>win32</ws> |
101 | | - <arch>x86_64</arch> |
102 | | - </environment> |
103 | | - <environment> |
104 | | - <os>macosx</os> |
105 | | - <ws>cocoa</ws> |
106 | | - <arch>x86_64</arch> |
107 | | - </environment> |
108 | | - </environments> |
109 | 83 | </configuration> |
110 | 84 | </plugin> |
111 | 85 |
|
|
356 | 330 | </build> |
357 | 331 |
|
358 | 332 | <profiles> |
| 333 | + <!-- for some reason, tycho 2.7 doesn't always add the swt-fragments to the classpath. |
| 334 | + Therefore it is added explicitly - depending on the os. |
| 335 | + Otherwise the SWT classes are missing for PMD analysis and when running the tests. |
| 336 | + Note: This problem only occurs with old eclipse versions like kepler. |
| 337 | + --> |
| 338 | + <profile> |
| 339 | + <id>linux-swt</id> |
| 340 | + <activation> |
| 341 | + <os><family>unix</family></os> |
| 342 | + </activation> |
| 343 | + <build> |
| 344 | + <plugins> |
| 345 | + <plugin> |
| 346 | + <groupId>org.eclipse.tycho</groupId> |
| 347 | + <artifactId>target-platform-configuration</artifactId> |
| 348 | + <configuration> |
| 349 | + <environments> |
| 350 | + <environment> |
| 351 | + <os>linux</os> |
| 352 | + <ws>gtk</ws> |
| 353 | + <arch>x86_64</arch> |
| 354 | + </environment> |
| 355 | + </environments> |
| 356 | + <dependency-resolution> |
| 357 | + <extraRequirements> |
| 358 | + <requirement> |
| 359 | + <type>eclipse-plugin</type> |
| 360 | + <id>org.eclipse.swt.gtk.linux.x86_64</id> |
| 361 | + <versionRange>0.0.0</versionRange> |
| 362 | + </requirement> |
| 363 | + </extraRequirements> |
| 364 | + </dependency-resolution> |
| 365 | + </configuration> |
| 366 | + </plugin> |
| 367 | + </plugins> |
| 368 | + </build> |
| 369 | + </profile> |
| 370 | + |
| 371 | + <profile> |
| 372 | + <id>win32-swt</id> |
| 373 | + <activation> |
| 374 | + <os><family>windows</family></os> |
| 375 | + </activation> |
| 376 | + <build> |
| 377 | + <plugins> |
| 378 | + <plugin> |
| 379 | + <groupId>org.eclipse.tycho</groupId> |
| 380 | + <artifactId>target-platform-configuration</artifactId> |
| 381 | + <configuration> |
| 382 | + <environments> |
| 383 | + <environment> |
| 384 | + <os>win32</os> |
| 385 | + <ws>win32</ws> |
| 386 | + <arch>x86_64</arch> |
| 387 | + </environment> |
| 388 | + </environments> |
| 389 | + <dependency-resolution> |
| 390 | + <extraRequirements> |
| 391 | + <requirement> |
| 392 | + <type>eclipse-plugin</type> |
| 393 | + <id>org.eclipse.swt.win32.win32.x86_64</id> |
| 394 | + <versionRange>0.0.0</versionRange> |
| 395 | + </requirement> |
| 396 | + </extraRequirements> |
| 397 | + </dependency-resolution> |
| 398 | + </configuration> |
| 399 | + </plugin> |
| 400 | + </plugins> |
| 401 | + </build> |
| 402 | + </profile> |
| 403 | + |
| 404 | + <profile> |
| 405 | + <id>mac-swt</id> |
| 406 | + <activation> |
| 407 | + <os><family>mac</family></os> |
| 408 | + </activation> |
| 409 | + <build> |
| 410 | + <plugins> |
| 411 | + <plugin> |
| 412 | + <groupId>org.eclipse.tycho</groupId> |
| 413 | + <artifactId>target-platform-configuration</artifactId> |
| 414 | + <configuration> |
| 415 | + <environments> |
| 416 | + <environment> |
| 417 | + <os>macosx</os> |
| 418 | + <ws>cocoa</ws> |
| 419 | + <arch>x86_64</arch> |
| 420 | + </environment> |
| 421 | + </environments> |
| 422 | + <dependency-resolution> |
| 423 | + <extraRequirements> |
| 424 | + <requirement> |
| 425 | + <type>eclipse-plugin</type> |
| 426 | + <id>org.eclipse.swt.cocoa.macosx.x86_64</id> |
| 427 | + <versionRange>0.0.0</versionRange> |
| 428 | + </requirement> |
| 429 | + </extraRequirements> |
| 430 | + </dependency-resolution> |
| 431 | + </configuration> |
| 432 | + </plugin> |
| 433 | + </plugins> |
| 434 | + </build> |
| 435 | + </profile> |
| 436 | + |
359 | 437 | <profile> |
360 | 438 | <id>sign</id> |
361 | 439 | <build> |
|
0 commit comments