struts2-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-parent</artifactId> <version>7.0.3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ --> <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 https://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.apache.struts</groupId> <artifactId>struts-master</artifactId> <version>15</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>struts2-parent</artifactId> <version>7.0.3</version> <packaging>pom</packaging> <name>Struts 2</name> <url>https://struts.apache.org/</url> <description>Apache Struts 2</description> <inceptionYear>2000</inceptionYear> <!-- <description> Apache Struts 2 is an elegant, extensible framework, well suited for creating moderate to large-scale Java web applications. The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time. </description> --> <scm> <connection>scm:git:https://gitbox.apache.org/repos/asf/struts.git</connection> <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/struts.git</developerConnection> <url>https://github.com/apache/struts/</url> <tag>STRUTS_7_0_3</tag> </scm> <issueManagement> <system>JIRA</system> <url>https://issues.apache.org/jira/projects/WW</url> </issueManagement> <ciManagement> <system>Jenkins</system> <url>https://builds.apache.org/job/Struts/</url> <notifiers> <notifier> <type>mail</type> <configuration> <address>dev@struts.apache.org</address> </configuration> </notifier> </notifiers> </ciManagement> <distributionManagement> <site> <id>struts-site</id> <name>Apache Struts</name> <url>https://struts.apache.org/maven/</url> </site> </distributionManagement> <modules> <module>bom</module> <module>jakarta</module> <module>core</module> <module>plugins</module> <module>apps</module> </modules> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments /> </license> </licenses> <organization> <name>Apache Software Foundation</name> <url>https://www.apache.org</url> </organization> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.outputTimestamp>2025-02-17T09:39:05Z</project.build.outputTimestamp> <maven.compiler.release>17</maven.compiler.release> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <!-- dependency versions in alphanumeric order --> <asm.version>9.7.1</asm.version> <byte-buddy.version>1.16.1</byte-buddy.version> <freemarker.version>2.3.34</freemarker.version> <hibernate-validator.version>8.0.1.Final</hibernate-validator.version> <jackson.version>2.18.2</jackson.version> <log4j2.version>2.24.3</log4j2.version> <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> <mockito.version>5.8.0</mockito.version> <ognl.version>3.3.5</ognl.version> <slf4j.version>2.0.16</slf4j.version> <spring.platformVersion>6.0.13</spring.platformVersion> <tiles.version>3.0.8</tiles.version> <tiles-request.version>1.0.7</tiles-request.version> <velocity-tools.version>3.1</velocity-tools.version> <!-- Site generation --> <fluido-skin.version>1.9</fluido-skin.version> <!-- Sonar --> <sonar.organization>apache</sonar.organization> <sonar.projectKey>apache_struts</sonar.projectKey> <sonar.moduleKey>${project.artifactId}</sonar.moduleKey> <sonar.host.url>https://sonarcloud.io</sonar.host.url> <argLine>-Duser.language=en -Duser.country=US -Duser.region=US</argLine> </properties> <profiles> <profile> <id>includeAssembly</id> <activation> <property> <name>!skipAssembly</name> </property> </activation> <modules> <module>assembly</module> </modules> </profile> <profile> <id>dependency-check</id> <build> <plugins> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <executions> <execution> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>jdk17</id> <activation> <jdk>[17,)</jdk> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <doclint>none</doclint> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine> --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED @{argLine} </argLine> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>coverage</id> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> <goal>prepare-agent-integration</goal> </goals> </execution> <execution> <id>report</id> <goals> <goal>report</goal> <goal>report-integration</goal> </goals> <configuration> <formats> <format>XML</format> </formats> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.8.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>${maven-surefire-plugin.version}</version> </dependency> </dependencies> <configuration> <argLine>@{argLine}</argLine> <includes> <include>**/*Test.java</include> </includes> <excludes> <exclude>**/TestBean.java</exclude> </excludes> <properties> <property> <name>junit</name> <value>false</value> </property> </properties> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>3.4.0</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>5.1.9</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.8.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.15</version> <configuration> <useMavenDefaultExcludes>true</useMavenDefaultExcludes> <useIdeaDefaultExcludes>true</useIdeaDefaultExcludes> <useDefaultExcludes>true</useDefaultExcludes> <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> <licenses> <license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20" /> </licenses> <licenseFamilies> <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily" /> </licenseFamilies> <includes> <include>pom.xml</include> <include>src/**</include> </includes> <excludes> <exclude>Jenkinsfile</exclude> <exclude>src/main/groovy/Jenkinsfile.gdsl</exclude> <exclude>src/main/resources/org/apache/struts2/static/domTT.js</exclude> <exclude>src/site/resources/tags/**/*.html</exclude> <exclude>src/main/resources/*LICENSE.txt</exclude> <exclude>src/test/resources/**/*.txt</exclude> <exclude>src/main/webapp/**/*.css</exclude> <exclude>src/main/webapp/**/*.map</exclude> <exclude>src/main/webapp/**/*.js</exclude> <exclude>src/main/webapp/**/*.svg</exclude> <exclude>src/main/webapp/**/*.txt</exclude> <exclude>src/main/resources/**/docs-urls.txt</exclude> <exclude>src/etc/header.txt</exclude> <exclude>src/main/resources/static/css/**/*.css</exclude> <exclude>src/main/resources/static/js/**/*.js</exclude> <exclude>src/main/resources/docs.cfg</exclude> <exclude>src/main/webapp/fonts/**/*</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <version>10.0.4</version> <configuration> <suppressionFiles> <suppressionFile>src/etc/project-suppression.xml</suppressionFile> </suppressionFiles> <failBuildOnCVSS>7</failBuildOnCVSS> <skipProvidedScope>true</skipProvidedScope> <skipRuntimeScope>true</skipRuntimeScope> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <skipAssembly>true</skipAssembly> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>enforce</id> <configuration> <rules> <dependencyConvergence /> </rules> </configuration> <goals> <goal>enforce</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-wrapper-plugin</artifactId> <version>3.3.2</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.1.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.20.0</version> <configuration> <relativizeSiteLinks>false</relativizeSiteLinks> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> <version>2.0.0</version> </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-module-markdown</artifactId> <version>1.12.0</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> <defaultGoal>install</defaultGoal> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <configuration> <dependencyDetailsEnabled>false</dependencyDetailsEnabled> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <reportSets> <reportSet> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> <configuration> <failOnError>false</failOnError> </configuration> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> </plugin> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <configuration> <name>Dependency Check</name> <failBuildOnCVSS>11</failBuildOnCVSS> </configuration> <reportSets> <reportSet> <reports> <report>aggregate</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.18.0</version> <reportSets> <reportSet> <reports> <report>dependency-updates-report</report> <report>plugin-updates-report</report> <report>property-updates-report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts-annotations</artifactId> <version>1.0.8</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-spring-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-bean-validation-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-cdi-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-junit-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-convention-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-tiles-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-javatemplates-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-config-browser-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-jasperreports-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-jfreechart-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-rest-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-testng-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-json-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-async-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-velocity-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-xslt-plugin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> <version>${freemarker.version}</version> </dependency> <dependency> <groupId>com.github.ben-manes.caffeine</groupId> <artifactId>caffeine</artifactId> <version>3.1.8</version> </dependency> <!-- Velocity --> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> <version>2.4.1</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-velocity-tools-view-jakarta</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-velocity-tools-jsp-jakarta</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.velocity.tools</groupId> <artifactId>velocity-tools-generic</artifactId> <version>${velocity-tools.version}</version> </dependency> <dependency> <groupId>ognl</groupId> <artifactId>ognl</artifactId> <version>${ognl.version}</version> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>${asm.version}</version> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm-commons</artifactId> <version>${asm.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-digester3</artifactId> <version>3.2</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> <exclusion> <groupId>asm</groupId> <artifactId>asm</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>5.4.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <version>4.2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <version>6.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.glassfish</groupId> <artifactId>jakarta.el</artifactId> <version>5.0.0-M1</version> </dependency> <dependency> <groupId>jakarta.el</groupId> <artifactId>jakarta.el-api</artifactId> <version>5.0.0</version> </dependency> <dependency> <groupId>jakarta.servlet.jsp</groupId> <artifactId>jakarta.servlet.jsp-api</artifactId> <version>3.1.0</version> <scope>provided</scope> </dependency> <!-- Commons --> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.3.4</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>4.4</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-fileupload2-jakarta-servlet6</artifactId> <version>2.0.0-M2</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.18.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.17.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>1.13.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-jci-fam</artifactId> <version>1.1</version> <optional>true</optional> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.9.4</version> </dependency> <dependency> <groupId>commons-validator</groupId> <artifactId>commons-validator</artifactId> <version>1.9.0</version> </dependency> <!-- Mocks for unit testing (by Spring) --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.platformVersion}</version> </dependency> <dependency> <groupId>mockobjects</groupId> <artifactId>mockobjects-core</artifactId> <version>0.09</version> <scope>test</scope> </dependency> <dependency> <groupId>org.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>4.9.0</version> <scope>test</scope> </dependency> <dependency> <groupId>jmock</groupId> <artifactId>jmock</artifactId> <version>1.2.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.26.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>${byte-buddy.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy-agent</artifactId> <version>${byte-buddy.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-jcl</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.27.1</version> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>7.5.1</version><!-- the latest version supporting Java 1.8 --> </dependency> <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>1.4.21</version> <exclusions> <exclusion> <groupId>io.github.x-stream</groupId> <artifactId>mxparser</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>org.apache.juneau</groupId> <artifactId>juneau-marshall</artifactId> <version>8.1.3</version> </dependency> <!-- CDI & Weld --> <dependency> <groupId>jakarta.enterprise</groupId> <artifactId>jakarta.enterprise.cdi-api</artifactId> <version>4.0.0</version> </dependency> <dependency> <groupId>org.jboss.weld</groupId> <artifactId>weld-core-impl</artifactId> <version>5.1.2.Final</version> <exclusions> <exclusion> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se-core</artifactId> <version>5.1.2.Final</version> </dependency> </dependencies> </dependencyManagement> </project>