This is an automated email from the ASF dual-hosted git repository.

jochen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git


The following commit(s) were added to refs/heads/master by this push:
     new e90f744  FILEUPLOAD-341 Add a section the the migration guide (#108)
e90f744 is described below

commit e90f744bf1f9ffb92db858dc104be86fdbd9c420
Author: Martin Grigorov <marti...@users.noreply.github.com>
AuthorDate: Mon Sep 13 15:42:59 2021 +0300

    FILEUPLOAD-341 Add a section the the migration guide (#108)
---
 src/changes/changes.xml       | 2 +-
 src/site/apt/migration.apt.vm | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5b15bf3..a9ee291 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -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>
diff --git a/src/site/apt/migration.apt.vm b/src/site/apt/migration.apt.vm
index d362496..4a9ad04 100644
--- a/src/site/apt/migration.apt.vm
+++ b/src/site/apt/migration.apt.vm
@@ -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

Reply via email to