Issue #5168 - Jetty 10 artifact archives should have EPL 2 license in them.

Excluded unnecessary files from jetty-runner jar.
Moved MANIFEST.MF to proper place to it does not get copied into the jar root.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2020-11-26 18:51:24 +01:00
parent 126dc10190
commit 29372f3168
3 changed files with 15 additions and 3 deletions

View File

@ -27,7 +27,18 @@
</goals>
<configuration>
<includes>**</includes>
<excludes>**/MANIFEST.MF,META-INF/LICENSE,META-INF/*.RSA,META-INF/*.DSA,META-INF/*.SF,module-info.class</excludes>
<excludes>
**/MANIFEST.MF,
META-INF/LICENSE,
META-INF/*.RSA,
META-INF/*.DSA,
META-INF/*.SF,
module-info.class,
readme.txt,
MANIFEST.MF,
about.html,
ecj.1
</excludes>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
@ -84,10 +95,12 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>src/main/resources/MANIFEST.MF</manifestFile>
<manifest>
<mainClass>org.eclipse.jetty.runner.Runner</mainClass>
</manifest>
<manifestEntries>
<Comment>Jetty Runner</Comment>
</manifestEntries>
</archive>
</configuration>
</plugin>

View File

@ -1 +0,0 @@
Comment: Jetty Runner