Adapt to upcoming 5.2 platform release
Currently, the plugins source code can't be compiled due to the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< systems.dmx:dmx-import-export >--------------------
[INFO] Building DMX Import Export 0.9.2-SNAPSHOT
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ dmx-import-export ---
[INFO] Deleting C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\target
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ dmx-import-export ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ dmx-import-export ---
[INFO] Compiling 2 source files to C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[775,30] error: cannot find symbol
[ERROR] symbol: method getString()
location: variable file of type UploadedFile
C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[810,30] error: cannot find symbol
[ERROR] symbol: method getString(String)
location: variable file of type UploadedFile
C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[847,36] error: cannot find symbol
[ERROR] symbol: method getString(String)
location: variable file of type UploadedFile
C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[879,36] error: cannot find symbol
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.404 s
[INFO] Finished at: 2021-04-24T15:57:04+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project dmx-import-export: Compilation failure: Compilation failure:
[ERROR] C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[775,30] error: cannot find symbol
[ERROR] symbol: method getString()
[ERROR] location: variable file of type UploadedFile
[ERROR] C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[810,30] error: cannot find symbol
[ERROR] symbol: method getString(String)
[ERROR] location: variable file of type UploadedFile
[ERROR] C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[847,36] error: cannot find symbol
[ERROR] symbol: method getString(String)
[ERROR] location: variable file of type UploadedFile
[ERROR] C:\cygwin64\home\MRG\source\dmx-platform\modules-external\dmx-import-export\src\main\java\systems\dmx\importexport\ImportExportPlugin.java:[879,36] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I would be glad about some hints and/or support on how to adapt this plugin to the new 5.2 API.
FYI: @jri