Skip to content

Commit

Permalink
Fix 6403 - add an automatic generated maven deployable p2 site
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Jun 12, 2021
1 parent 1223bb5 commit cc00334
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
55 changes: 55 additions & 0 deletions jetty-p2/pom.xml
@@ -0,0 +1,55 @@
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-project</artifactId>
<version>10.0.5-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>jetty-p2</artifactId>
<name>Jetty :: P2</name>
<description>Generates a (maven based) P2 Updatesite</description>
<packaging>pom</packaging>
<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<!-- <version>${tycho-version}</version> -->
<version>2.4.0-SNAPSHOT</version>
<inherited>false</inherited>
<executions>
<execution>
<configuration>
<categoryName>Jetty Bundles</categoryName>
<includeReactor>true</includeReactor>
<includeDependencies>false</includeDependencies>
</configuration>
<id>maven-p2-site</id>
<phase>prepare-package</phase>
<goals>
<goal>assemble-p2-maven-site</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<!-- This dependency is to make sure this projects is build after all relevant
artifacts are created -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</project>
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -150,6 +150,7 @@
<module>jetty-bom</module>
<module>documentation</module>
<module>jetty-keystore</module>
<module>jetty-p2</module>
</modules>

<build>
Expand Down

0 comments on commit cc00334

Please sign in to comment.