Skip to content

Commit

Permalink
Update Dependencies [12.0.x] - March 2024 (#11591)
Browse files Browse the repository at this point in the history
* Bump jetty-setuid-jna
* Updating dependencies
* Updating dependencies in jetty-ee10-annotations
* Updating dependencies in jetty-ee10-plus
* Fix jetty-ee8-osgi-boot deps
* Fix jetty-ee9-osgi-boot deps
* Address osgi duplicate resource plugin
  • Loading branch information
joakime authored Mar 29, 2024
1 parent 1b05d49 commit 58293ad
Show file tree
Hide file tree
Showing 16 changed files with 980 additions and 50 deletions.
24 changes: 24 additions & 0 deletions build/scripts/dependency-update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

echo "# This script is meant to be run from the root of the project"
echo "[jetty.project-12.0.x]$ build/scripts/dependency-update.sh"

PWD=$(pwd)

mvn -N -B -Pupdate-dependencies validate -Dmaven.build.cache.enabled=false

pushd jetty-core
mvn -N -B -Pupdate-dependencies-core validate -Dmaven.build.cache.enabled=false
popd

pushd jetty-ee10
mvn -N -B -Pupdate-dependencies-ee10 validate -Dmaven.build.cache.enabled=false
popd

pushd jetty-ee9
mvn -N -B -Pupdate-dependencies-ee9 validate -Dmaven.build.cache.enabled=false
popd

pushd jetty-ee8
mvn -N -B -Pupdate-dependencies-ee8 validate -Dmaven.build.cache.enabled=false
popd
1 change: 0 additions & 1 deletion javadoc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
</dependencyManagement>

<dependencies>

<!-- Necessary dependencies -->
<dependency>
<groupId>jakarta.mail</groupId>
Expand Down
61 changes: 61 additions & 0 deletions jetty-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,67 @@
</plugins>
</build>
</profile>
<profile>
<!--
$ mvn -Pupdate-dependencies-core validate
-->
<id>update-dependencies-core</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<executions>
<execution>
<id>core-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 level version changes -->
<groupId>org.eclipse.jetty</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>.+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
<rule>
<!-- ignore jetty nested level version changes -->
<groupId>org.eclipse.jetty.*</groupId>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>.+</version>
</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
</ruleSet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
10 changes: 10 additions & 0 deletions jetty-ee10/jetty-ee10-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
Expand Down
27 changes: 12 additions & 15 deletions jetty-ee10/jetty-ee10-plus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@
</properties>

<dependencies>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.lang-model</artifactId>
</dependency>
<dependency>
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
Expand All @@ -37,21 +49,6 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.lang-model</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-slf4j-impl</artifactId>
Expand Down
Loading

0 comments on commit 58293ad

Please sign in to comment.