Skip to content

Commit

Permalink
[TEMP] Use own version of new workflows and add parent-pom changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Sep 15, 2024
1 parent 212e12f commit 5530762
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
check-merge-commits:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkMergeCommits.yml@master
check-versions:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master
uses: HannesWell/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master
with:
botName: Eclipse PDE Bot
botMail: [email protected]
4 changes: 2 additions & 2 deletions .github/workflows/version-increments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ on:

jobs:
publish-version-check-results:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/publishVersionCheckResults.yml@master
uses: HannesWell/eclipse.platform.releng.aggregator/.github/workflows/publishVersionCheckResults.yml@master
secrets:
githubBotPAT: ${{ secrets.PDE_BOT_PAT }}
githubBotPAT: ${{ secrets.HANNESWELL_PAT }}
143 changes: 143 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<tycho.scmUrl>scm:git:https://github.com/eclipse-pde/eclipse.pde.git</tycho.scmUrl>
<failOnJavadocErrors>true</failOnJavadocErrors>
<javadoc.excludePackageNames></javadoc.excludePackageNames>
<tycho.version>4.0.9-SNAPSHOT</tycho.version>
</properties>

<modules>
Expand Down Expand Up @@ -66,6 +67,22 @@
<excludePackageNames>${javadoc.excludePackageNames}</excludePackageNames>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<baselines>
<baseline>${previous-release.baseline}</baseline>
</baselines>
<comparator>zip</comparator>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -139,5 +156,131 @@
</plugins>
</build>
</profile>

<profile>
<id>fast-version-check-plugins</id>
<activation>
<property>
<name>fast-version-check-enabled</name>
<value>true</value>
</property>
<file>
<exists>META-INF/MANIFEST.MF</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<executions>
<execution>
<id>package-plugin-placeholder</id>
<goals>
<goal>package-plugin</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>generate-p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<baselineMode>disable</baselineMode>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<executions>
<execution>
<id>compare-artifact-version-with-release</id>
<goals>
<goal>compare-version-with-baselines</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<skip>false</skip>
<ignoredPatterns>**</ignoredPatterns>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>fast-version-check-features</id>
<activation>
<property>
<name>fast-version-check-enabled</name>
<value>true</value>
</property>
<file>
<exists>feature.xml</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<executions>
<execution>
<id>package-feature-placeholder</id>
<goals>
<goal>package-feature</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>generate-p2-metadata</id>
<goals>
<goal>p2-metadata</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<baselineMode>disable</baselineMode>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<executions>
<execution>
<id>compare-artifact-version-with-release</id>
<goals>
<goal>compare-version-with-baselines</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<skip>false</skip>
<ignoredPatterns>**</ignoredPatterns>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>

0 comments on commit 5530762

Please sign in to comment.