diff options
Diffstat (limited to 'jetty-runner/pom.xml')
-rw-r--r-- | jetty-runner/pom.xml | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/jetty-runner/pom.xml b/jetty-runner/pom.xml index 63bcbb88e2..c7eb427888 100644 --- a/jetty-runner/pom.xml +++ b/jetty-runner/pom.xml @@ -2,7 +2,7 @@ <parent> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-project</artifactId> - <version>9.3.4-SNAPSHOT</version> + <version>9.4.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>jetty-runner</artifactId> @@ -15,13 +15,14 @@ <url>http://www.eclipse.org/jetty</url> <build> <plugins> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-dependencies</id> - <phase>package</phase> + <phase>prepare-package</phase> <goals> <goal>unpack-dependencies</goal> </goals> @@ -36,33 +37,34 @@ </executions> </plugin> <plugin> - <groupId>org.apache.maven.plugins - </groupId> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + <configuration> + <instructions> + <Main-Class>org.eclipse.jetty.runner.Runner</Main-Class> + <Import-Package>!*</Import-Package> + <Export-Package></Export-Package> + </instructions> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <executions> - <execution> - <id>package</id> - <phase>package</phase> - <goals> - <goal>jar</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>org.eclipse.jetty.runner.Runner</mainClass> - </manifest> - <manifestEntries> - <mode>development</mode> - <url>http://eclipse.org/jetty</url> - <Built-By>${user.name}</Built-By> - <package>org.eclipse.jetty.runner</package> - <Bundle-Name>Jetty Runner</Bundle-Name> - <Bundle-Vendor>Mort Bay Consulting</Bundle-Vendor> - </manifestEntries> - </archive> - </configuration> - </execution> - </executions> + <configuration> + <archive> + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> + </archive> + </configuration> </plugin> </plugins> </build> |