632 lines
25 KiB
XML
632 lines
25 KiB
XML
<?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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-project</artifactId>
|
|
<version>12.0.16-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<artifactId>jetty-home</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Home</name>
|
|
|
|
<properties>
|
|
<assembly-directory>${basedir}/target/jetty-home</assembly-directory>
|
|
<jetty-setuid-version>2.0.3</jetty-setuid-version>
|
|
<source-assembly-directory>${basedir}/target/jetty-home-sources</source-assembly-directory>
|
|
<spotbugs.skip>true</spotbugs.skip>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-alpn-conscrypt-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-alpn-java-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-alpn-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-deploy</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-ee</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-hazelcast</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-infinispan-embedded</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-infinispan-embedded-query</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-infinispan-remote</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<optional>true</optional>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.wildfly.common</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-infinispan-remote-query</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jmx</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-keystore</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-nosql</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-openid</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-rewrite</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-security</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-start</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>shaded</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-unixdomain-server</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-util-ajax</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
<artifactId>jetty-demo-handler</artifactId>
|
|
<version>${project.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
<artifactId>jetty-ee10-home</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-home</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee9</groupId>
|
|
<artifactId>jetty-ee9-home</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.fcgi</groupId>
|
|
<artifactId>jetty-fcgi-proxy</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.fcgi</groupId>
|
|
<artifactId>jetty-fcgi-server</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.gcloud</groupId>
|
|
<artifactId>jetty-gcloud-session-manager</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http2</groupId>
|
|
<artifactId>jetty-http2-client-transport</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http2</groupId>
|
|
<artifactId>jetty-http2-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.http3</groupId>
|
|
<artifactId>jetty-http3-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.memcached</groupId>
|
|
<artifactId>jetty-memcached-sessions</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.toolchain.setuid</groupId>
|
|
<artifactId>jetty-setuid-jna</artifactId>
|
|
<version>${jetty-setuid-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>jetty-websocket-jetty-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>jetty-websocket-jetty-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.logging</groupId>
|
|
<artifactId>jboss-logging</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>jakarta.mail</groupId>-->
|
|
<!-- <artifactId>jakarta.mail-api</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>jakarta.annotation</groupId>-->
|
|
<!-- <artifactId>jakarta.annotation-api</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>jakarta.authentication</groupId>-->
|
|
<!-- <artifactId>jakarta.authentication-api</artifactId>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>jakarta.transaction</groupId>-->
|
|
<!-- <artifactId>jakarta.transaction-api</artifactId>-->
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-analysis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-tree</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<!-- jetty deps -->
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-slf4j-impl</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>set jetty.sh</id>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<phase>process-resources</phase>
|
|
<configuration>
|
|
<target>
|
|
<chmod dir="${assembly-directory}/bin" includes="**/*.sh" perm="755"></chmod>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>binary</id>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<overrideUid>0</overrideUid>
|
|
<overrideGid>0</overrideGid>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/jetty-assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>sources</id>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/jetty-source-assembly.xml</descriptor>
|
|
</descriptors>
|
|
<appendAssemblyId>true</appendAssemblyId>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy</id>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-project</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>version</classifier>
|
|
<type>txt</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${assembly-directory}/</outputDirectory>
|
|
<destFileName>VERSION.txt</destFileName>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-start</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>shaded</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
<destFileName>start.jar</destFileName>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-jetty-core-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty</includeGroupIds>
|
|
<excludeGroupIds>org.eclipse.jetty.orbit,org.eclipse.jetty.http2,org.eclipse.jetty.http3,org.eclipse.jetty.quic,org.eclipse.jetty.websocket,org.eclipse.jetty.ee8.websocket,org.eclipse.jetty.ee9.websocket,org.eclipse.jetty.ee10.websocket,org.eclipse.jetty.fcgi,org.eclipse.jetty.toolchain,org.apache.taglibs</excludeGroupIds>
|
|
<excludeArtifactIds>jetty-ee8-apache-jsp,jetty-ee9-apache-jsp,jetty-ee10-apache-jsp,jetty-ee8-glassfish-jstl,jetty-ee9-glassfish-jstl,jetty-ee10-glassfish-jstl,jetty-start,jetty-slf4j-impl,javadoc</excludeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputDirectory>${assembly-directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-jetty-core-src-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty</includeGroupIds>
|
|
<excludeGroupIds>org.eclipse.jetty.orbit,org.eclipse.jetty.http2,org.eclipse.jetty.http3,org.eclipse.jetty.quic,org.eclipse.jetty.websocket,org.eclipse.jetty.fcgi,org.eclipse.jetty.toolchain,org.apache.taglibs</excludeGroupIds>
|
|
<excludeArtifactIds>jetty-ee8-apache-jsp,jetty-ee8-glassfish-jstl,jetty-ee9-apache-jsp,jetty-ee9-glassfish-jstl,jetty-ee10-apache-jsp,jetty-ee10-glassfish-jtl,jetty-start</excludeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<classifier>sources</classifier>
|
|
<outputDirectory>${source-assembly-directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-fcgi-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty.fcgi</includeGroupIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputDirectory>${assembly-directory}/lib/fcgi</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-fcgi-src-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty.fcgi</includeGroupIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<classifier>sources</classifier>
|
|
<outputDirectory>${source-assembly-directory}/lib/fcgi</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-http2-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty.http2</includeGroupIds>
|
|
<includeArtifactIds>jetty-http2-hpack,jetty-http2-common,jetty-http2-server</includeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputDirectory>${assembly-directory}/lib/http2</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-http2-src-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty.http2</includeGroupIds>
|
|
<includeArtifactIds>jetty-http2-hpack,jetty-http2-common,jetty-http2-server</includeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<classifier>sources</classifier>
|
|
<outputDirectory>${source-assembly-directory}/lib/http2</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-http3-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty.http3,org.eclipse.jetty.quic,org.eclipse.jetty.quiche</includeGroupIds>
|
|
<includeArtifactIds>jetty-http3-server,jetty-http3-common,jetty-http3-qpack,jetty-quic-server,jetty-quic-common,jetty-quic-quiche-common,jetty-quic-quiche-jna,jetty-quic-quiche-foreign,jetty-quiche-native</includeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputDirectory>${assembly-directory}/lib/http3</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-http3-src-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty.http3</includeGroupIds>
|
|
<includeArtifactIds>jetty-http3-server</includeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<classifier>sources</classifier>
|
|
<outputDirectory>${source-assembly-directory}/lib/http3</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-logging-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty,org.slf4j</includeGroupIds>
|
|
<includeArtifactIds>jetty-slf4j-impl,slf4j-api</includeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputDirectory>${assembly-directory}/lib/logging</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-lib-logging-src-deps</id>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<includeGroupIds>org.eclipse.jetty,org.slf4j</includeGroupIds>
|
|
<includeArtifactIds>jetty-slf4j-impl,slf4j-api</includeArtifactIds>
|
|
<includeTypes>jar</includeTypes>
|
|
<classifier>sources</classifier>
|
|
<outputDirectory>${source-assembly-directory}/lib/logging</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>unpack-config-deps</id>
|
|
<goals>
|
|
<goal>unpack-dependencies</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<!-- useful for troubleshooting the source archive of a particular file: <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact> -->
|
|
<includeGroupIds>org.eclipse.jetty, org.eclipse.jetty.websocket, org.eclipse.jetty.toolchain.setuid</includeGroupIds>
|
|
<excludeArtifactIds>jetty-infinispan-embedded,jetty-infinispan-remote,jetty-test-helper,alpn-api,javax.security.auth.message,javax.activation</excludeArtifactIds>
|
|
<classifier>config</classifier>
|
|
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
|
|
<excludes>META-INF/**,webapps/**,start.d/**,start.ini</excludes>
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>unpack-eeX-home</id>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty.ee10</groupId>
|
|
<artifactId>jetty-ee10-home</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty.ee9</groupId>
|
|
<artifactId>jetty-ee9-home</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-home</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>unpack-infinispan-config</id>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-infinispan-embedded</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-infinispan-remote</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<excludes>META-INF/**</excludes>
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-java</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireUpperBoundDeps>
|
|
<excludes combine.children="append">
|
|
<exclude>org.eclipse.jetty.toolchain:jetty-jakarta-servlet-api</exclude>
|
|
<!--
|
|
we need to exclude some libraries which are different depending on ee8/ee9/ee10
|
|
enforcer is running at ee10/ee9/ee8 home level
|
|
-->
|
|
<exclude>jakarta.servlet:jakarta.servlet-api</exclude>
|
|
<exclude>jakarta.servlet.jsp:jakarta.servlet.jsp-api</exclude>
|
|
<exclude>jakarta.enterprise:jakarta.enterprise.cdi-api</exclude>
|
|
<exclude>jakarta.mail:jakarta.mail-api</exclude>
|
|
<exclude>jakarta.annotation:jakarta.annotation-api</exclude>
|
|
<exclude>jakarta.authentication:jakarta.authentication-api</exclude>
|
|
<exclude>jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api</exclude>
|
|
<exclude>org.glassfish.web:jakarta.servlet.jsp.jstl</exclude>
|
|
<exclude>org.mortbay.jasper:apache-jsp</exclude>
|
|
<exclude>jakarta.transaction:jakarta.transaction-api</exclude>
|
|
<exclude>jakarta.interceptor:jakarta.interceptor-api</exclude>
|
|
<exclude>jakarta.enterprise:jakarta.enterprise.cdi-api</exclude>
|
|
<exclude>jakarta.el:jakarta.el-api</exclude>
|
|
</excludes>
|
|
</requireUpperBoundDeps>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-base-assembly-tree</id>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<useBuildFilters>false</useBuildFilters>
|
|
<includeEmptyDirs>true</includeEmptyDirs>
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
<encoding>UTF-8</encoding>
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
<delimiters>
|
|
<delimiter>@</delimiter>
|
|
</delimiters>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.cyclonedx</groupId>
|
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>cyclonedx-makeAggregateBom</id>
|
|
<goals>
|
|
<goal>makeAggregateBom</goal>
|
|
</goals>
|
|
<phase>prepare-package</phase>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<outputName>${project.artifactId}-${project.version}-cyclonedx</outputName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|