jetty-ee8-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-maven-plugin</artifactId> <version>12.1.0.alpha2</version> </dependency>
<?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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8</artifactId> <version>12.1.0.alpha2</version> </parent> <artifactId>jetty-ee8-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>EE8 :: Jetty Maven Plugin</name> <description>Jetty maven plugins</description> <properties> <bundle-symbolic-name>${project.groupId}.maven.plugin</bundle-symbolic-name> <ee9.module>jetty-ee9-maven-plugin</ee9.module> <jacoco.skip>true</jacoco.skip> <jetty.jvmArgs></jetty.jvmArgs> <jetty.stopKey>FREEBEER</jetty.stopKey> <junit.jupiter.execution.parallel.enabled>false</junit.jupiter.execution.parallel.enabled> </properties> <dependencies> <dependency> <groupId>jakarta.transaction</groupId> <artifactId>jakarta.transaction-api</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-tools-api</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> <exclusions> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-api-xml</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-xml-impl</artifactId> </exclusion> <exclusion> <groupId>org.apache.maven</groupId> <artifactId>maven-xml-meta</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-client</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-home</artifactId> <type>zip</type> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-http</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-jmx</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-jndi</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-annotations</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-apache-jsp</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-glassfish-jstl</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-plus</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-quickstart</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-servlet</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8</groupId> <artifactId>jetty-ee8-webapp</artifactId> <optional>true</optional> <exclusions> <exclusion> <groupId>jakarta.servlet</groupId> <artifactId>servlet-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8.websocket</groupId> <artifactId>jetty-ee8-websocket-javax-server</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.ee8.websocket</groupId> <artifactId>jetty-ee8-websocket-jetty-server</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <scope>provided</scope> <exclusions> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <scope>provided</scope> <exclusions> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-slf4j-impl</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.toolchain</groupId> <artifactId>jetty-test-helper</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <junitPackageName>org.eclipse.jetty.maven.its.ee8</junitPackageName> <setupIncludes> <setupInclude>it-parent-pom/pom.xml</setupInclude> </setupIncludes> <scriptVariables> <jettyStopKey>${jetty.stopKey}</jettyStopKey> <jettyStopPort>${jetty.stopPort}</jettyStopPort> <!-- <maven.surefire.plugin.version>${maven.surefire.plugin.version}</maven.surefire.plugin.version>--> <servletApiVersion>${jetty.servlet.api.version}</servletApiVersion> </scriptVariables> <settingsFile>src/it/settings.xml</settingsFile> <pomExcludes> <!-- enable when normalization of METAINF_RESOURCES is fixed --> <pomExclude>jetty-effective-web-xml-it/pom.xml</pomExclude> </pomExcludes> <goals> <goal>clean</goal> </goals> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>integration-test</goal> <goal>verify</goal> </goals> <phase>integration-test</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <configuration> <goalPrefix>jetty</goalPrefix> </configuration> <executions> <execution> <id>exec-plugin-doc</id> <goals> <goal>helpmojo</goal> </goals> <phase>generate-sources</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>-Dstop.port=@{test.stopPort} -Djetty.port=@{test.jettyPort}</argLine> <excludes> <exclude>**/IntegrationTest*.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>test-reserve-ports</id> <goals> <goal>reserve-network-port</goal> </goals> <phase>process-test-classes</phase> <configuration> <portNames> <portName>test.stopPort</portName> <portName>test.jettyPort</portName> </portNames> </configuration> </execution> <execution> <id>reserve-ports</id> <goals> <goal>reserve-network-port</goal> </goals> <phase>pre-integration-test</phase> <configuration> <portNames> <portName>jetty.stopPort</portName> </portNames> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>