mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
made spring-core an optional compile dependency, as that is required for javadoc of jdk8
This commit is contained in:
+10
-5
@@ -11,6 +11,8 @@
|
||||
<name>Struts 2 Portlet Plugin</name>
|
||||
|
||||
<dependencies>
|
||||
<!-- junit and related JARs are needed for 'compile'! -->
|
||||
<!-- Due to StrutsPortletTestCase shall be distributed to applications. -->
|
||||
<dependency>
|
||||
<groupId>org.apache.struts</groupId>
|
||||
<artifactId>struts2-junit-plugin</artifactId>
|
||||
@@ -23,6 +25,14 @@
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- spring-core is required for javadoc of jdk8 -->
|
||||
<!-- It is indirectly referenced by struts2-junit-plugin. -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>jsp-api</artifactId>
|
||||
@@ -100,11 +110,6 @@
|
||||
<artifactId>spring-webmvc-portlet</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-fileupload</groupId>
|
||||
<artifactId>commons-fileupload</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user