You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ku...@apache.org on 2023/08/18 12:19:23 UTC

[struts] 04/10: WW-5334 Fix Portlet plugin dependency scopes

This is an automated email from the ASF dual-hosted git repository.

kusal pushed a commit to branch WW-5334-fix-cyclic
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 9992e39b42bc9faca0a8edaeef927d7f47133fa4
Author: Kusal Kithul-Godage <gi...@kusal.io>
AuthorDate: Fri Aug 18 21:47:37 2023 +1000

    WW-5334 Fix Portlet plugin dependency scopes
---
 plugins/portlet/pom.xml | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/plugins/portlet/pom.xml b/plugins/portlet/pom.xml
index 3d15c4e69..025daa863 100644
--- a/plugins/portlet/pom.xml
+++ b/plugins/portlet/pom.xml
@@ -32,13 +32,10 @@
     <name>DEPRECATED: Struts 2 Portlet Plugin - since 6.0.0</name>
 
     <dependencies>
-        <!-- junit and related JARs are needed for 'compile'! -->
-
         <dependency>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-portlet-mocks-plugin</artifactId>
             <scope>test</scope>
-            <optional>true</optional>
         </dependency>
 
         <dependency>
@@ -46,12 +43,6 @@
             <artifactId>struts2-velocity-plugin</artifactId>
         </dependency>
 
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <optional>true</optional>
-        </dependency>
-
         <!-- spring-core is required for javadoc of jdk8 -->
         <!-- It is indirectly referenced by struts2-junit-plugin. -->
         <dependency>