Author: mcucchiara Date: Sat Jan 29 18:39:22 2011 New Revision: 1065090 URL: http://svn.apache.org/viewvc?rev=1065090&view=rev Log: Upgraded commons-io and commons-fileupload and removed redundant dependencies
Modified: struts/struts2/trunk/apps/portlet/pom.xml struts/struts2/trunk/apps/showcase/pom.xml struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java struts/struts2/trunk/pom.xml Modified: struts/struts2/trunk/apps/portlet/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/pom.xml?rev=1065090&r1=1065089&r2=1065090&view=diff ============================================================================== --- struts/struts2/trunk/apps/portlet/pom.xml (original) +++ struts/struts2/trunk/apps/portlet/pom.xml Sat Jan 29 18:39:22 2011 @@ -105,11 +105,6 @@ </dependency> <dependency> <groupId>org.apache.struts</groupId> - <artifactId>struts2-core</artifactId> - <version>${pom.version}</version> - </dependency> - <dependency> - <groupId>org.apache.struts</groupId> <artifactId>struts2-portlet-plugin</artifactId> <version>${pom.version}</version> </dependency> Modified: struts/struts2/trunk/apps/showcase/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/pom.xml?rev=1065090&r1=1065089&r2=1065090&view=diff ============================================================================== --- struts/struts2/trunk/apps/showcase/pom.xml (original) +++ struts/struts2/trunk/apps/showcase/pom.xml Sat Jan 29 18:39:22 2011 @@ -182,7 +182,6 @@ <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> - <version>1.1.1</version> </dependency> <dependency> Modified: struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java?rev=1065090&r1=1065089&r2=1065090&view=diff ============================================================================== --- struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java (original) +++ struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/FileUploadInterceptorTest.java Sat Jan 29 18:39:22 2011 @@ -253,7 +253,7 @@ public class FileUploadInterceptorTest e mai.setInvocationContext(ActionContext.getContext()); Map<String, Object> param = new HashMap<String, Object>(); ActionContext.getContext().setParameters(param); - ActionContext.getContext().put(ServletActionContext.HTTP_REQUEST, createMultipartRequest((HttpServletRequest) req, 2000)); + ActionContext.getContext().put(ServletActionContext.HTTP_REQUEST, createMultipartRequest(req, 2000)); interceptor.intercept(mai); Modified: struts/struts2/trunk/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/pom.xml?rev=1065090&r1=1065089&r2=1065090&view=diff ============================================================================== --- struts/struts2/trunk/pom.xml (original) +++ struts/struts2/trunk/pom.xml Sat Jan 29 18:39:22 2011 @@ -462,12 +462,12 @@ <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> - <version>1.2.1</version> + <version>1.2.2</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <version>1.4</version> + <version>2.0.1</version> </dependency> <dependency> <groupId>commons-lang</groupId>