18 April 2011

how to add dependency for apache commons fileupload to pom.xml?

Solution for maven 2.x and Apache commons fileupload 1.2.1

1. In dependencies tag section you need add this few line:

<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.1</version>
</dependency>


1.2.1  if new version will be released, then you need  change this to new version ;)