<?xml version="1.0" encoding="UTF-8"?> | |
<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> | |
<artifactId>jetty-project</artifactId> | |
<groupId>org.eclipse.jetty</groupId> | |
<version>9.4.0-SNAPSHOT</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>jetty-start</artifactId> | |
<name>Jetty :: Start</name> | |
<description>The start utility</description> | |
<url>http://www.eclipse.org/jetty</url> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-jar-plugin</artifactId> | |
<configuration> | |
<archive> | |
<manifest> | |
<mainClass>org.eclipse.jetty.start.Main</mainClass> | |
</manifest> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>findbugs-maven-plugin</artifactId> | |
<configuration> | |
<onlyAnalyze>org.eclipse.jetty.start.*</onlyAnalyze> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<minimizeJar>true</minimizeJar> | |
<artifactSet> | |
<includes> | |
<include>org.eclipse.jetty:jetty-util</include> | |
</includes> | |
</artifactSet> | |
<relocations> | |
<relocation> | |
<pattern>org.eclipse.jetty.util</pattern> | |
<shadedPattern>org.eclipse.jetty.start.util</shadedPattern> | |
</relocation> | |
</relocations> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.jetty.toolchain</groupId> | |
<artifactId>jetty-test-helper</artifactId> | |
<version>3.1</version> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<artifactId>junit</artifactId> | |
<groupId>junit</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>hamcrest-library</artifactId> | |
<groupId>org.hamcrest</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<properties> | |
<bundle-symbolic-name>${project.groupId}.start</bundle-symbolic-name> | |
<start-jar-file-name>start.jar</start-jar-file-name> | |
</properties> | |
</project> | |