Skip to content

Commit

Permalink
Merge pull request #160 from cmunier/DELTASPIKE-1473
Browse files Browse the repository at this point in the history
DELTASPIKE-1473: Improved dependency consistency in the JSF module
  • Loading branch information
tandraschko authored May 21, 2024
2 parents 9a53cc9 + a598e72 commit 0fa754f
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 15 deletions.
17 changes: 12 additions & 5 deletions deltaspike/modules/jsf/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@

<name>Apache DeltaSpike JSF-Module API</name>

<properties>
<junit.jupiter.version>5.9.2</junit.jupiter.version>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.deltaspike.core</groupId>
<artifactId>deltaspike-core-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
Expand All @@ -45,17 +50,19 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>jakarta.el</groupId>
<artifactId>jakarta.el-api</artifactId>
</dependency>

<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-test</artifactId>
<version>${myfaces.version}</version>
<scope>test</scope>
</dependency>

<dependency> <!-- transitive from myfaces-test but explicitely used -->
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
</dependencies>


Expand Down
52 changes: 42 additions & 10 deletions deltaspike/modules/jsf/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@

<name>Apache DeltaSpike JSF-Module Impl</name>

<properties>
<selenium.version>4.18.1</selenium.version>
</properties>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -87,6 +91,7 @@
<groupId>org.apache.deltaspike.core</groupId>
<artifactId>deltaspike-core-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
Expand All @@ -100,6 +105,7 @@
<groupId>org.apache.deltaspike.modules</groupId>
<artifactId>deltaspike-security-module-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
Expand All @@ -113,43 +119,69 @@
<groupId>org.apache.deltaspike.modules</groupId>
<artifactId>deltaspike-jsf-module-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.apache.deltaspike.modules</groupId>
<artifactId>deltaspike-proxy-module-api</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.deltaspike.modules</groupId>
<artifactId>deltaspike-proxy-module-impl-asm</artifactId>
<version>${project.version}</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.owasp.encoder</groupId>
<artifactId>encoder</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jakarta.el</groupId>
<artifactId>jakarta.el-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-container-test-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.test</groupId>
<artifactId>arquillian-test-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit3-driver</artifactId>
<version>4.18.1</version>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<version>${selenium.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 0fa754f

Please sign in to comment.