mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-16 03:25:02 +00:00
* Updated Maven plugins to versions that support JDK 9. * Added jdk9 profiles to the build files. * Introduced modules jetty-alpn-java-client and jetty-alpn-java-server containing a pure JDK 9 implementation of ALPN. * Wired ALPN connection factories (client and server) to use the proper ALPN implementation based on the JDK platform version (8 or 9).
105 lines
3.5 KiB
XML
105 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
// ========================================================================
|
|
// Copyright (c) Webtide LLC
|
|
//
|
|
// All rights reserved. This program and the accompanying materials
|
|
// are made available under the terms of the Eclipse Public License v1.0
|
|
// and Apache License v2.0 which accompanies this distribution.
|
|
//
|
|
// The Eclipse Public License is available at
|
|
// http://www.eclipse.org/legal/epl-v10.html
|
|
//
|
|
// The Apache License v2.0 is available at
|
|
// http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
//
|
|
// You may elect to redistribute this code under either of these licenses.
|
|
// ========================================================================
|
|
-->
|
|
<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>
|
|
<groupId>org.eclipse.jetty.cdi</groupId>
|
|
<artifactId>jetty-cdi-parent</artifactId>
|
|
<version>9.3.16-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>test-cdi-webapp</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>Jetty :: CDI :: Test :: WebApp</name>
|
|
<url>http://www.eclipse.org/jetty</url>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<bundle-symbolic-name>${project.groupId}.cdi.webapp.noweld</bundle-symbolic-name>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.websocket</groupId>
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.enterprise</groupId>
|
|
<artifactId>cdi-api</artifactId>
|
|
<version>1.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.weld.servlet</groupId>
|
|
<artifactId>weld-servlet</artifactId>
|
|
<version>${weld.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>cdi-webapp</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<!-- DO NOT DEPLOY (or Release) -->
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>with-weld</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/assembly/with-weld.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<configuration>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.cdi</groupId>
|
|
<artifactId>cdi-full-servlet</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|