Skip to content

Commit

Permalink
made spring-core an optional compile dependency, as that is required …
Browse files Browse the repository at this point in the history
…for javadoc of jdk8
  • Loading branch information
cnenning committed Oct 13, 2015
1 parent 9d5b948 commit e0f258f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions plugins/portlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit e0f258f

Please sign in to comment.