Skip to content

Commit

Permalink
Add a standard osgi repository that includes all equinox bundles
Browse files Browse the repository at this point in the history
Currently one has to wait until the next release or use the ibuilds
composite p2 repository but there is currently no way to fetch latest
equinox bundles in a more lightweight way.

This uses the new tycho-repositry-plugin to build a standard OSGi
repository that could be deployed e.g. as part of the mater verification
build.
  • Loading branch information
laeubi committed Jul 31, 2023
1 parent 3bd3dbd commit 845428f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@
<module>bundles/org.eclipse.equinox.launcher.win32.win32.x86_64</module>

<module>bundles/org.eclipse.osgi.tests</module>
<module>repository</module>
</modules>
</profile>
</profiles>
Expand Down
38 changes: 38 additions & 0 deletions repository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.equinox</groupId>
<artifactId>parent</artifactId>
<version>4.29.0-SNAPSHOT</version>
</parent>
<artifactId>repository</artifactId>
<packaging>repository</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-repository-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
<executions>
<!-- Additionally we create another repository using the 'local' layout and place it in a deploy folder -->
<execution>
<id>local</id>
<phase>package</phase>
<goals>
<goal>package-repository</goal>
</goals>
<configuration>
<repositoryLayout>local</repositoryLayout>
<settings>
<repositoryFolderName>deploy</repositoryFolderName>
</settings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 845428f

Please sign in to comment.