727 lines
31 KiB
XML
727 lines
31 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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-project</artifactId>
|
|
<version>12.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>EE8</name>
|
|
|
|
<modules>
|
|
<module>jetty-ee8-annotations</module>
|
|
<module>jetty-ee8-apache-jsp</module>
|
|
<module>jetty-ee8-bom</module>
|
|
<module>jetty-ee8-demos</module>
|
|
<module>jetty-ee8-glassfish-jstl</module>
|
|
<module>jetty-ee8-home</module>
|
|
<module>jetty-ee8-jaspi</module>
|
|
<module>jetty-ee8-jndi</module>
|
|
<module>jetty-ee8-jspc-maven-plugin</module>
|
|
<module>jetty-ee8-maven-plugin</module>
|
|
<module>jetty-ee8-nested</module>
|
|
<module>jetty-ee8-openid</module>
|
|
<module>jetty-ee8-osgi</module>
|
|
<module>jetty-ee8-plus</module>
|
|
<module>jetty-ee8-proxy</module>
|
|
<module>jetty-ee8-quickstart</module>
|
|
<module>jetty-ee8-runner</module>
|
|
<module>jetty-ee8-security</module>
|
|
<module>jetty-ee8-servlet</module>
|
|
<module>jetty-ee8-servlets</module>
|
|
<module>jetty-ee8-webapp</module>
|
|
<module>jetty-ee8-websocket</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<!-- generated sources cannot follow exactly Jetty code style -->
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
<ee9.module></ee9.module>
|
|
<ee9.module.path>${maven.multiModuleProjectDirectory}/jetty-ee9/${ee9.module}</ee9.module.path>
|
|
<jakarta.activation.api.version>${ee8.jakarta.activation.api.version}</jakarta.activation.api.version>
|
|
<jakarta.annotation.api.version>${ee8.jakarta.annotation.api.version}</jakarta.annotation.api.version>
|
|
<jakarta.servlet.jsp.api.version>${ee8.jakarta.servlet.jsp.api.version}</jakarta.servlet.jsp.api.version>
|
|
<jakarta.servlet.jsp.jstl.api.version>${ee8.jakarta.servlet.jsp.jstl.api.version}</jakarta.servlet.jsp.jstl.api.version>
|
|
<jakarta.transaction-api.version>${ee8.jakarta.transaction-api.version}</jakarta.transaction-api.version>
|
|
<jakarta.websocket.api.version>${ee8.jakarta.websocket.api.version}</jakarta.websocket.api.version>
|
|
<javax.mail.glassfish.version>${ee8.javax.mail.glassfish.version}</javax.mail.glassfish.version>
|
|
<javax.security.auth.message>${ee8.javax.security.auth.message}</javax.security.auth.message>
|
|
<javax.servlet.jsp.jstl.impl.version>${ee8.javax.servlet.jsp.jstl.impl.version}</javax.servlet.jsp.jstl.impl.version>
|
|
<jetty.servlet.api.version>${ee8.jetty.servlet.api.version}</jetty.servlet.api.version>
|
|
<jsp.impl.version>${ee8.jsp.impl.version}</jsp.impl.version>
|
|
<modify-sources-plugin.version>1.0.11</modify-sources-plugin.version>
|
|
<sonar.skip>true</sonar.skip>
|
|
<weld.version>${ee8.weld.version}</weld.version>
|
|
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
|
|
<!-- Jetty EE 8 Dependencies -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>jakarta.activation</groupId>
|
|
<artifactId>jakarta.activation-api</artifactId>
|
|
<version>${jakarta.activation.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.annotation</groupId>
|
|
<artifactId>jakarta.annotation-api</artifactId>
|
|
<version>${jakarta.annotation.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet.jsp</groupId>
|
|
<artifactId>jakarta.servlet.jsp-api</artifactId>
|
|
<version>${jakarta.servlet.jsp.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet.jsp.jstl</groupId>
|
|
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
|
|
<version>${jakarta.servlet.jsp.jstl.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.transaction</groupId>
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
|
<version>${jakarta.transaction-api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
<artifactId>jetty-servlet4-demo-container-initializer</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
<artifactId>jetty-servlet4-demo-mock-resources</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
<artifactId>jetty-servlet4-demo-simple-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>war</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
<artifactId>jetty-servlet4-demo-web-fragment</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-annotations</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-apache-jsp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-glassfish-jstl</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-jndi</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-nested</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-openid</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-plus</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-proxy</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-quickstart</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-security</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-servlet</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-servlets</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
<artifactId>jetty-ee8-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-javax-client</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-javax-client-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-javax-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-javax-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-jetty-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-jetty-client</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-jetty-client-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-jetty-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-jetty-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.ee8.websocket</groupId>
|
|
<artifactId>jetty-ee8-websocket-servlet</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
<artifactId>javax.mail.glassfish</artifactId>
|
|
<version>${javax.mail.glassfish.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
<artifactId>javax.security.auth.message</artifactId>
|
|
<version>${javax.security.auth.message}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
<artifactId>jetty-javax-websocket-api</artifactId>
|
|
<version>${jakarta.websocket.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
<artifactId>jetty-servlet-api</artifactId>
|
|
<version>${jetty.servlet.api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.web</groupId>
|
|
<artifactId>javax.servlet.jsp.jstl</artifactId>
|
|
<version>${javax.servlet.jsp.jstl.impl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jasper</groupId>
|
|
<artifactId>apache-el</artifactId>
|
|
<version>${jsp.impl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jasper</groupId>
|
|
<artifactId>apache-jsp</artifactId>
|
|
<version>${jsp.impl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xalan</groupId>
|
|
<artifactId>xalan</artifactId>
|
|
<version>2.7.3</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
<artifactId>jetty-modify-sources-maven-plugin</artifactId>
|
|
<version>${modify-sources-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<configuration>
|
|
<nonFilteredFileExtensions>
|
|
<nonFilteredFileExtension>p12</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>raw</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jar</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>war</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jks</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>tga</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>zip</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>gz</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>tif</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>tiff</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>svgz</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jp2</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>rar</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>bz2</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>br</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>xcf</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>icon</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>png</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>webp</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>gif</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>ico</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>bmp</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jpg</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>rar</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>xcf</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>svg</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>sha1</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>png</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>sha</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>clazz</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
<artifactId>maven-filtering</artifactId>
|
|
<version>3.3.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
<artifactId>jetty-modify-sources-maven-plugin</artifactId>
|
|
<version>${modify-sources-plugin.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-ee8-resources</id>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
|
<mavenFilteringHints>
|
|
<mavenFilteringHint>ee9-to-ee8</mavenFilteringHint>
|
|
</mavenFilteringHints>
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>${ee9.module.path}/src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<!-- TODO this would be nice to reuse mod files from ee9 but the mod file name need to be changed as well as the content -->
|
|
<!-- <execution>-->
|
|
<!-- <id>copy-ee8-modules-resources</id>-->
|
|
<!-- <phase>generate-resources</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>copy-resources</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <mavenFilteringHints>-->
|
|
<!-- <mavenFilteringHint>ee9-to-ee8</mavenFilteringHint>-->
|
|
<!-- </mavenFilteringHints>-->
|
|
<!-- <outputDirectory>${project.build.directory}/jetty-config-files</outputDirectory>-->
|
|
<!-- <resources>-->
|
|
<!-- <resource>-->
|
|
<!-- <filtering>true</filtering>-->
|
|
<!-- <directory>${ee9.module.path}/src/main/config</directory>-->
|
|
<!-- </resource>-->
|
|
<!-- </resources>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
<execution>
|
|
<id>copy-ee8-test-resources</id>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<phase>generate-test-resources</phase>
|
|
<configuration>
|
|
<mavenFilteringHints>
|
|
<mavenFilteringHint>ee9-to-ee8</mavenFilteringHint>
|
|
</mavenFilteringHints>
|
|
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>${ee9.module.path}/src/test/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
<artifactId>jetty-modify-sources-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-ee8-sources</id>
|
|
<goals>
|
|
<goal>modify-sources-ee9-to-ee8</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<sourceProjectLocation>${ee9.module.path}/src/main/java</sourceProjectLocation>
|
|
<outputDirectory>${project.build.sourceDirectory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>modify-services-loader-ee9-to-ee8</id>
|
|
<goals>
|
|
<goal>modify-service-loader-files-ee9-to-ee8</goal>
|
|
</goals>
|
|
<phase>process-resources</phase>
|
|
<configuration>
|
|
<extraFileNames>
|
|
<extraFileName>org.apache.juli.logging.Log</extraFileName>
|
|
</extraFileNames>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-ee8-test-sources</id>
|
|
<goals>
|
|
<goal>modify-sources-ee9-to-ee8</goal>
|
|
</goals>
|
|
<phase>generate-test-sources</phase>
|
|
<configuration>
|
|
<testSources>true</testSources>
|
|
<sourceProjectLocation>${ee9.module.path}/src/test/java</sourceProjectLocation>
|
|
<outputDirectory>${project.build.testSourceDirectory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<sourceDirectory>${project.build.directory}/generated-sources/ee8</sourceDirectory>
|
|
<testSourceDirectory>${project.build.directory}/generated-test-sources/ee8</testSourceDirectory>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!--
|
|
$ mvn -Pdependency-updates-reports validate
|
|
# once done, check the jetty-ee8/target/site/dependency-updates-aggregate-report.html
|
|
-->
|
|
<id>dependency-updates-reports</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>ee8-report</id>
|
|
<goals>
|
|
<goal>dependency-updates-aggregate-report</goal>
|
|
</goals>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<formats>
|
|
<format>html</format>
|
|
</formats>
|
|
<onlyProjectDependencies>true</onlyProjectDependencies>
|
|
<onlyUpgradable>true</onlyUpgradable>
|
|
<ruleSet>
|
|
<rules>
|
|
<rule>
|
|
<!-- ignore maven alpha/beta releases -->
|
|
<groupId>org.apache.maven</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+-(alpha|beta).?[0-9]+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- ignore jetty core/root deps -->
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- ignore all jetty nested deps -->
|
|
<groupId>org.eclipse.jetty.*</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 1.x of annotation spec
|
|
ee9 starts with version 2.0.x -->
|
|
<groupId>jakarta.annotation</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 2.x of jsp spec
|
|
ee9 starts with version 3.x -->
|
|
<groupId>jakarta.servlet.jsp</groupId>
|
|
<artifactId>jakarta.servlet.jsp-api</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!2.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 1.x of jsp-jstl spec
|
|
ee9 starts with version 2.x -->
|
|
<groupId>jakarta.servlet.jsp.jstl</groupId>
|
|
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 1.x of transaction spec
|
|
ee9 starts with version 2.x -->
|
|
<groupId>jakarta.transaction</groupId>
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 2.1.x of apache directory api+impl (LDAP) -->
|
|
<groupId>org.apache.directory.api</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!2.1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 9.0.x of mortbay apache-jsp impl
|
|
ee10 starts with version 10.0.x
|
|
ee11 TODO -->
|
|
<groupId>org.mortbay.jasper</groupId>
|
|
<artifactId>apache-jsp</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!9.0.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- ignore unstable mina releases -->
|
|
<groupId>org.apache.mina</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+-M[0-9]+$</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
</rules>
|
|
</ruleSet>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<!--
|
|
$ mvn -Pupdate-dependencies-ee8 validate
|
|
-->
|
|
<id>update-dependencies-ee8</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>ee8-update</id>
|
|
<goals>
|
|
<goal>update-properties</goal>
|
|
</goals>
|
|
<phase>validate</phase>
|
|
<configuration>
|
|
<onlyProjectDependencies>true</onlyProjectDependencies>
|
|
<onlyUpgradable>true</onlyUpgradable>
|
|
<ruleSet>
|
|
<rules>
|
|
<rule>
|
|
<!-- ignore maven alpha/beta releases -->
|
|
<groupId>org.apache.maven</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+-(alpha|beta).?[0-9]+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- ignore jetty core/root deps -->
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- ignore all jetty nested deps -->
|
|
<groupId>org.eclipse.jetty.*</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 1.x of annotation spec
|
|
ee9 starts with version 2.0.x -->
|
|
<groupId>jakarta.annotation</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 2.x of jsp spec
|
|
ee9 starts with version 3.x -->
|
|
<groupId>jakarta.servlet.jsp</groupId>
|
|
<artifactId>jakarta.servlet.jsp-api</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!2.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 1.x of jsp-jstl spec
|
|
ee9 starts with version 2.x -->
|
|
<groupId>jakarta.servlet.jsp.jstl</groupId>
|
|
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 1.x of transaction spec
|
|
ee9 starts with version 2.x -->
|
|
<groupId>jakarta.transaction</groupId>
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 2.1.x of apache directory api+impl (LDAP) -->
|
|
<groupId>org.apache.directory.api</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!2.1.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- for ee8, we need to stay on 9.0.x of mortbay apache-jsp impl
|
|
ee10 starts with version 10.0.x
|
|
ee11 TODO -->
|
|
<groupId>org.mortbay.jasper</groupId>
|
|
<artifactId>apache-jsp</artifactId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>^(?!9.0.).+</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
<rule>
|
|
<!-- ignore unstable mina releases -->
|
|
<groupId>org.apache.mina</groupId>
|
|
<ignoreVersions>
|
|
<ignoreVersion>
|
|
<type>regex</type>
|
|
<version>.+-M[0-9]+$</version>
|
|
</ignoreVersion>
|
|
</ignoreVersions>
|
|
</rule>
|
|
</rules>
|
|
</ruleSet>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|