FileUpload.
The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications..
Here is the list of declaration for commons-fileupload. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2</version> </dependency>
If you think this Maven repository POM file listing for commons-fileupload is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The commons-fileupload-1.2 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 3.8.2 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 555 |
File | commons-io 1.3 Commons-IO contains utility classes, stream implementations, file filters, and endian classes. | 20 |
The following table lists the most popular artifacts which are depending on commons-fileupload-1.2. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Development | stripes 1.5 Stripes web framework jar, including tag library. | 8 |
Spring | spring-web 3.2.0.RELEASE Spring Web | 7 |
Spring | spring-web 2.5 Spring Framework: Web | 140 |
Spring | spring-web 3.2.1.RELEASE Spring Web | 10 |
Spring | spring-web 3.2.3.RELEASE Spring Web | 15 |
Spring | spring-web 3.2.6.RELEASE Spring Web | 8 |
Spring | spring-web 3.2.5.RELEASE Spring Web | 5 |
Spring | spring-web 2.5.5 Spring Framework: Web | 12 |
Spring | spring 2.5.5 Spring Framework | 11 |
Spring | spring-web 2.0.8 Spring Framework: Web | 11 |
Spring | spring-web 2.5.4 Spring Framework: Web | 9 |
Spring | spring-web 2.0.5 Spring Framework: Web | 5 |
Spring | spring-portlet 2.0.8 Spring Framework: Portlet | 13 |
Spring | spring 2.5.2 Spring Framework | 8 |
Development | stripes 1.5.1 Stripes web framework jar, including tag library. | 5 |
Spring | spring-web 2.5.6.SEC01 Spring Framework: Web | 6 |
Spring | spring 2.5.6.SEC03 Spring Framework | 12 |
Spring | spring-web 2.5.6 Spring Framework: Web | 21 |
Spring | spring 2.5.4 Spring Framework | 8 |
Spring | spring-web 2.0.6 Spring Framework: Web | 15 |
Spring | spring 2.5.6 Spring Framework | 51 |
Spring | spring-web 2.5.2 Spring Framework: Web | 6 |
Spring | spring-web 3.2.4.RELEASE Spring Web | 13 |
Spring | spring-webmvc-portlet 2.5.6.SEC02 Spring Framework: Web MVC Portlet | 16 |
Spring | spring 2.5.6.SEC01 Spring Framework | 5 |
The following plugins are used in the commons-fileupload-1.2.jar
The following packages are defined in the commons-fileupload-1.2.jar
org.apache.commons.fileupload org.apache.commons.fileupload.disk org.apache.commons.fileupload.portlet org.apache.commons.fileupload.servlet org.apache.commons.fileupload.util
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?><project> <parent> <artifactId>commons-parent</artifactId> <groupId>org.apache.commons</groupId> <version>1</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <name>FileUpload</name> <version>1.2</version> <description>The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.</description> <url>http://jakarta.apache.org/commons/fileupload/</url> <issueManagement> <system>jira</system> <url>http://issues.apache.org/jira/browse/FILEUPLOAD</url> </issueManagement> <inceptionYear>2002</inceptionYear> <contributors> <contributor> <name>Aaron Freeman</name> <email>aaron@sendthisfile.com</email> </contributor> <contributor> <name>Amichai Rothman</name> <email>amichai2@amichais.net</email> </contributor> <contributor> <name>Henry Yandell</name> <email>bayard@apache.org</email> </contributor> </contributors> <scm> <connection>scm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/fileupload/trunk</connection> <developerConnection>scm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/fileupload/trunk</developerConnection> <url>http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk</url> </scm> <build> <sourceDirectory>src/java</sourceDirectory> <testSourceDirectory>src/test</testSourceDirectory> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>src/conf/MANIFEST.MF</manifestFile> <manifestEntries> <Specification-Version>1.2</Specification-Version> <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK> <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK> </manifestEntries> </archive> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>copySiteResources</id> <phase>generate-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <mkdir dir="${project.build.directory}/site"></mkdir> <copy todir="${project.build.directory}/site"> <fileset dir="xdocs"> <include name="**/*.css"></include> <include name="**/*.gif"></include> <include name="**/*.png"></include> </fileset> </copy> </tasks> </configuration> </execution> <execution> <id>addLicenseAndNotice</id> <phase>verify</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <delete dir="${project.build.directory}/zipDir"></delete> <mkdir dir="${project.build.directory}/zipDir"></mkdir> <unzip src="${project.build.directory}/${project.artifactId}-1.2-sources.jar" dest="${project.build.directory}/zipDir"></unzip> <copy todir="${project.build.directory}/zipDir/META-INF"> <fileset dir="${basedir}"> <include name="LICENSE.txt"></include> <include name="NOTICE.txt"></include> </fileset> </copy> <zip destfile="${project.build.directory}/${project.artifactId}-1.2-sources.jar"> <fileset dir="${project.build.directory}/zipDir"></fileset> </zip> <delete dir="${project.build.directory}/zipDir"></delete> <mkdir dir="${project.build.directory}/zipDir"></mkdir> <unzip src="${project.build.directory}/${project.artifactId}-1.2-javadoc.jar" dest="${project.build.directory}/zipDir"></unzip> <copy todir="${project.build.directory}/zipDir/META-INF"> <fileset dir="${basedir}"> <include name="LICENSE.txt"></include> <include name="NOTICE.txt"></include> </fileset> </copy> <zip destfile="${project.build.directory}/${project.artifactId}-1.2-javadoc.jar"> <fileset dir="${project.build.directory}/zipDir"></fileset> </zip> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>verify</phase> <goals> <goal>attached</goal> </goals> </execution> </executions> <configuration> <descriptors> <descriptor>src/main/assembly/bin.xml</descriptor> <descriptor>src/main/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>portlet-api</groupId> <artifactId>portlet-api</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>1.3</version> <optional>true</optional> </dependency> </dependencies> <reporting> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <artifactId>maven-changes-plugin</artifactId> <configuration> <issueLinkTemplate>%URL%/../%ISSUE%</issueLinkTemplate> </configuration> <reportSets> <reportSet> <reports> <report>changes-report</report> <report>jira-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <configLocation>src/checkstyle/fileupload_checks.xml</configLocation> </configuration> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <moduleExcludes> <xdoc>**/navigation.xml</xdoc> </moduleExcludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jdepend-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> <configuration> <rulesets> <ruleset>src/checkstyle/fileupload_basic.xml</ruleset> </rulesets> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <configuration> <comparisonVersion>1.1</comparisonVersion> <minSeverity>info</minSeverity> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>rat-maven-plugin</artifactId> </plugin> </plugins> </reporting> <distributionManagement> <status>deployed</status> </distributionManagement> <properties> <maven.compile.source>1.3</maven.compile.source> <maven.compile.target>1.3</maven.compile.target> </properties> </project>