Skip to content
Permalink
Browse files
FILEUPLOAD-341 Add a section the the migration guide (#108)
  • Loading branch information
martin-g committed Sep 13, 2021
1 parent 7b0c563 commit e90f744bf1f9ffb92db858dc104be86fdbd9c420
Showing 2 changed files with 8 additions and 2 deletions.
@@ -58,7 +58,7 @@ The <action> type attribute can be add,update,fix,remove.
<action dev="ggregory" type="update" due-to="Gary Gregory">Update commons.japicmp.version 0.13.0 -> 0.15.3.</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump build actions/setup-java from v1.4.3 to v2.</action>
<action dev="ggregory" type="update" due-to="Dependabot">Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0 #103.</action>
<action dev="mgrigorov" type="update">FILEUPLOAD-340 Make commons-fileupload2 a JPMS module by adding module-info.class.</action>
<action issue="FILEUPLOAD-340" dev="mgrigorov" type="update">Make commons-fileupload2 a JPMS module by adding module-info.class.</action>
<action dev="jochen" type="update" due-to="Dependabot">Update Spotbugs from 4.2.3 to 4.4.0, ignore EI_EXPOSE_REP, and EI_EXPOSE_REP2.</action>
<action issue="FILEUPLOAD-341" dev="jochen" type="update" due-to="Martin Grigorov">Move Exception classes out of the impl package.</action>
</release>
@@ -25,7 +25,7 @@ Migration

# Migrating to Commons FileUpload 2

Commons Fileupload is the first version, that drops compatibility to previous versions. This means, that
Commons Fileupload 2 is the first version, that drops compatibility to previous versions. This means, that
you need to adapt your projects as follows:

1. Upgrade your Java version to 8, or later.
@@ -132,3 +132,9 @@ The following example demonstrates, how to use Commons Fileupload with the Java
}

+-------------------------------------------

# Commons FileUpload 2 can be used a Java Package Module

The library provides <<META-INF/versions/module-info.class>> that defines the required modules and exported packages.
All packages but <<org.apache.commons.fileupload2.impl>> are exported. All exception classes have been moved from
<<org.apache.commons.fileupload2.impl>> to <<org.apache.commons.fileupload2.pub>> package

0 comments on commit e90f744

Please sign in to comment.