made spring-core an optional compile dependency, as that is required for javadoc of jdk8

This commit is contained in:
cnenning
2015-10-13 13:06:35 +02:00
parent 9d5b948190
commit e0f258f718
+10 -5
View File
@@ -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>