Skip to content

Commit

Permalink
Use weld shaded, add slf4j-jdk14 to QA tomcat 10
Browse files Browse the repository at this point in the history
  • Loading branch information
psavidis committed Jun 12, 2024
1 parent defb085 commit 2ca04cc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
23 changes: 3 additions & 20 deletions qa/integration-tests-engine-jakarta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<!-- Deployed programmatically by DeploymentHelper -->
<dependency>
<groupId>org.jboss.weld.servlet</groupId>
<artifactId>weld-servlet-core</artifactId>
<artifactId>weld-servlet-shaded</artifactId>
<version>${weld.version}</version>
</dependency>

Expand Down Expand Up @@ -613,27 +613,10 @@
<type>pom</type>
</dependency>

<dependency>
<groupId>jakarta.enterprise.concurrent</groupId>
<artifactId>jakarta.enterprise.concurrent-api</artifactId>
<version>3.0.3</version>
</dependency>

<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
<version>2.0.1</version>
</dependency>

<dependency>
<groupId>org.jboss.weld.servlet</groupId>
<artifactId>weld-servlet-core</artifactId>
</dependency>

<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<version>2.0.1</version>
<artifactId>weld-servlet-shaded</artifactId>
<scope>test</scope>
</dependency>

<!-- This dependency can be updated when arquillian releases the managed tomcat 10 artifact -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ protected static JavaArchive[] getWeld(String engineCdiArtifactName) {
} else {

JavaArchive[] archives = resolveDependenciesFromPomXml(engineCdiArtifactName,
"org.jboss.weld.servlet:weld-servlet-core",
"jakarta.enterprise.concurrent:jakarta.enterprise.concurrent-api",
"jakarta.transaction:jakarta.transaction-api",
"jakarta.inject:jakarta.inject-api"
"org.jboss.weld.servlet:weld-servlet-shaded"
);

if(archives.length == 0) {
Expand All @@ -78,7 +75,7 @@ protected static JavaArchive[] resolveDependenciesFromPomXml(String engineCdiArt
.workOffline()
.loadPomFromFile("pom.xml")
.resolve(engineCdiArtifactName, dependencyName)
.withTransitivity()
.withoutTransitivity()
.as(JavaArchive.class);
}

Expand Down
7 changes: 7 additions & 0 deletions qa/tomcat-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,19 @@
<artifactId>jython</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.camunda.bpm.qa</groupId>
<artifactId>camunda-qa-ensure-clean-db</artifactId>
Expand Down

0 comments on commit 2ca04cc

Please sign in to comment.