Skip to content

Commit

Permalink
Example to reproduce #1261
Browse files Browse the repository at this point in the history
  • Loading branch information
Kummallinen committed Aug 16, 2022
1 parent c638e2a commit 2bb18ff
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tycho-its/projects/issue1261/category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<!--org.eclipse.rcp include a bundle with the same ID & version, which triggers #1261 -->
<feature id="org.eclipse.rcp"/>
</site>
56 changes: 56 additions & 0 deletions tycho-its/projects/issue1261/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>tycho-its-project.issue1261</groupId>
<artifactId>testrepo</artifactId>
<version>1.0.0</version>

<packaging>eclipse-repository</packaging>

<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<compress>false</compress>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>pgpsigner</id>
<goals>
<goal>sign-p2-artifacts</goal>
</goals>
<configuration>
<keyname>${test-pgp-key.name}</keyname>
<passphraseServerId>${test-pgp-key.serverId}</passphraseServerId>
<skipIfJarsigned>false</skipIfJarsigned>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>platform-repo</id>
<layout>p2</layout>
<url>https://download.eclipse.org/eclipse/updates/4.24/R-4.24-202206070700/</url>
</repository>
</repositories>

</project>

0 comments on commit 2bb18ff

Please sign in to comment.