|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 |
| - Copyright (c) 2012, 2022 Eclipse Foundation and others. |
| 3 | + Copyright (c) 2012, 2024 Eclipse Foundation and others. |
4 | 4 | All rights reserved. This program and the accompanying materials
|
5 | 5 | are made available under the terms of the Eclipse Distribution License v1.0
|
6 | 6 | which accompanies this distribution, and is available at
|
|
372 | 372 | <groupId>org.eclipse.tycho.extras</groupId>
|
373 | 373 | <artifactId>tycho-p2-extras-plugin</artifactId>
|
374 | 374 | <version>${tycho.version}</version>
|
| 375 | + <configuration> |
| 376 | + <baselines> |
| 377 | + <baseline>${previous-release.baseline}</baseline> |
| 378 | + </baselines> |
| 379 | + <comparator>zip</comparator> |
| 380 | + </configuration> |
375 | 381 | <executions>
|
376 | 382 | <execution> <!-- Checks versions are properly bumped from one stream to the other -->
|
377 | 383 | <id>compare-attached-artifacts-with-release</id>
|
|
380 | 386 | </goals>
|
381 | 387 | <configuration>
|
382 | 388 | <skip>${compare-version-with-baselines.skip}</skip>
|
383 |
| - <baselines> |
384 |
| - <baseline>${previous-release.baseline}</baseline> |
385 |
| - </baselines> |
386 |
| - <comparator>zip</comparator> |
387 | 389 | </configuration>
|
388 | 390 | </execution>
|
389 | 391 | </executions>
|
|
941 | 943 | </build>
|
942 | 944 | </profile>
|
943 | 945 |
|
| 946 | + <profile> |
| 947 | + <id>fast-version-check</id> |
| 948 | + <build> |
| 949 | + <plugins> |
| 950 | + <plugin> |
| 951 | + <groupId>org.apache.maven.plugins</groupId> |
| 952 | + <artifactId>maven-antrun-plugin</artifactId> |
| 953 | + <executions> |
| 954 | + <execution> |
| 955 | + <id>set-skip-properties</id> |
| 956 | + <goals> |
| 957 | + <goal>run</goal> |
| 958 | + </goals> |
| 959 | + <phase>generate-sources</phase> |
| 960 | + <configuration> |
| 961 | + <exportAntProperties>true</exportAntProperties> |
| 962 | + <target> |
| 963 | + <condition property="skip.packaging.plugin" value="true" else="false"> |
| 964 | + <not> |
| 965 | + <or> |
| 966 | + <equals arg1="${project.packaging}" arg2="eclipse-plugin"/> |
| 967 | + <equals arg1="${project.packaging}" arg2="eclipse-test-plugin"/> |
| 968 | + </or> |
| 969 | + </not> |
| 970 | + </condition> |
| 971 | + <condition property="skip.packaging.feature" value="true" else="false"> |
| 972 | + <not> |
| 973 | + <equals arg1="${project.packaging}" arg2="eclipse-feature"/> |
| 974 | + </not> |
| 975 | + </condition> |
| 976 | + <condition property="skip.version.check" value="true" else="false"> |
| 977 | + <and> |
| 978 | + <istrue value="${skip.packaging.plugin}"/> |
| 979 | + <istrue value="${skip.packaging.feature}"/> |
| 980 | + </and> |
| 981 | + </condition> |
| 982 | + </target> |
| 983 | + </configuration> |
| 984 | + </execution> |
| 985 | + </executions> |
| 986 | + </plugin> |
| 987 | + <plugin> |
| 988 | + <groupId>org.eclipse.tycho</groupId> |
| 989 | + <artifactId>tycho-packaging-plugin</artifactId> |
| 990 | + <executions> |
| 991 | + <execution> |
| 992 | + <id>package-plugin-placeholder</id> |
| 993 | + <goals> |
| 994 | + <goal>package-plugin</goal> |
| 995 | + </goals> |
| 996 | + <phase>generate-sources</phase> |
| 997 | + <configuration> |
| 998 | + <skip>${skip.packaging.plugin}</skip> |
| 999 | + <checkServiceComponentFilesExist>false</checkServiceComponentFilesExist> |
| 1000 | + </configuration> |
| 1001 | + </execution> |
| 1002 | + <execution> |
| 1003 | + <id>package-feature-placeholder</id> |
| 1004 | + <goals> |
| 1005 | + <goal>package-feature</goal> |
| 1006 | + </goals> |
| 1007 | + <phase>generate-sources</phase> |
| 1008 | + <configuration> |
| 1009 | + <skip>${skip.packaging.feature}</skip> |
| 1010 | + </configuration> |
| 1011 | + </execution> |
| 1012 | + </executions> |
| 1013 | + </plugin> |
| 1014 | + <plugin> |
| 1015 | + <groupId>org.eclipse.tycho</groupId> |
| 1016 | + <artifactId>tycho-p2-plugin</artifactId> |
| 1017 | + <executions> |
| 1018 | + <execution> |
| 1019 | + <id>generate-p2-metadata</id> |
| 1020 | + <goals> |
| 1021 | + <goal>p2-metadata</goal> |
| 1022 | + </goals> |
| 1023 | + <phase>generate-sources</phase> |
| 1024 | + <configuration> |
| 1025 | + <baselineMode>disable</baselineMode> |
| 1026 | + </configuration> |
| 1027 | + </execution> |
| 1028 | + </executions> |
| 1029 | + </plugin> |
| 1030 | + <plugin> |
| 1031 | + <groupId>org.eclipse.tycho.extras</groupId> |
| 1032 | + <artifactId>tycho-p2-extras-plugin</artifactId> |
| 1033 | + <executions> |
| 1034 | + <execution> |
| 1035 | + <id>compare-artifact-version-with-release</id> |
| 1036 | + <goals> |
| 1037 | + <goal>compare-version-with-baselines</goal> |
| 1038 | + </goals> |
| 1039 | + <phase>generate-sources</phase> |
| 1040 | + <configuration> |
| 1041 | + <skip>${skip.version.check}</skip> |
| 1042 | + <ignoredPatterns>**</ignoredPatterns> |
| 1043 | + </configuration> |
| 1044 | + </execution> |
| 1045 | + </executions> |
| 1046 | + </plugin> |
| 1047 | + </plugins> |
| 1048 | + </build> |
| 1049 | + </profile> |
| 1050 | + |
944 | 1051 | <profile>
|
945 | 1052 | <id>update-branding-plugins-about.mappings</id>
|
946 | 1053 | <activation>
|
|
0 commit comments