472675 No main manifest attribute, in jetty-runner regression

This commit is contained in:
Jan Bartel 2015-10-15 10:09:26 +11:00
parent 9866b31420
commit c792677db4
1 changed files with 29 additions and 27 deletions

View File

@ -15,13 +15,14 @@
<url>http://www.eclipse.org/jetty</url> <url>http://www.eclipse.org/jetty</url>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>unpack-dependencies</id> <id>unpack-dependencies</id>
<phase>package</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>unpack-dependencies</goal> <goal>unpack-dependencies</goal>
</goals> </goals>
@ -36,33 +37,34 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins <groupId>org.apache.felix</groupId>
</groupId> <artifactId>maven-bundle-plugin</artifactId>
<artifactId>maven-jar-plugin</artifactId> <extensions>true</extensions>
<executions> <executions>
<execution> <execution>
<id>package</id> <id>bundle-manifest</id>
<phase>package</phase> <phase>process-classes</phase>
<goals> <goals>
<goal>jar</goal> <goal>manifest</goal>
</goals> </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> </execution>
</executions> </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>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>