servlet api as well

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2022-05-09 20:23:30 +10:00 committed by Olivier Lamy
parent d265865e1c
commit de1c74cdb9
3 changed files with 52 additions and 0 deletions

View File

@ -13,6 +13,7 @@
<packaging>pom</packaging>
<properties>
<!-- FIXME we need a separate property for this one -->
<jetty.servlet.api.version>6.0.0-SNAPSHOT</jetty.servlet.api.version>
<!-- TODO: Remove these javax.* entries? -->

View File

@ -13,6 +13,7 @@
<packaging>pom</packaging>
<properties>
<!-- FIXME we need a separate property for this one -->
<jetty.servlet.api.version>5.0.2</jetty.servlet.api.version>
<!-- TODO: Remove these javax.* entries? -->

View File

@ -236,6 +236,56 @@
<outputDirectory>${source-assembly-directory}/lib/websocket</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-lib-servlet-api-deps</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-jakarta-servlet-api</artifactId>
<!-- FIXME MUST BE A PROPERTY -->
<version>6.0.0-SNAPSHOT</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-jakarta-servlet-api</artifactId>
<!-- FIXME MUST BE A PROPERTY -->
<version>5.0.2</version>
</artifactItem>
</artifactItems>
<outputDirectory>${assembly-directory}/lib</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-lib-servlet-api-src-deps</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-jakarta-servlet-api</artifactId>
<!-- FIXME MUST BE A PROPERTY -->
<version>6.0.0-SNAPSHOT</version>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-jakarta-servlet-api</artifactId>
<!-- FIXME MUST BE A PROPERTY -->
<version>5.0.2</version>
<classifier>sources</classifier>
</artifactItem>
</artifactItems>
<outputDirectory>${source-assembly-directory}/lib</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-lib-http2-deps</id>
<phase>generate-resources</phase>