You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2021/04/16 17:45:00 UTC
[jira] [Commented] (XMLBEANS-563) apache maven plugin does not have
feature parity with codehaus maven plugin or allow all configuration
options
[ https://issues.apache.org/jira/browse/XMLBEANS-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323995#comment-17323995 ]
Andreas Beeker commented on XMLBEANS-563:
-----------------------------------------
The plugin was a quick shot and worked for POI and as a base for further development - although I know the codehaus plugin, I didn't want to use it as a base, as I preferred a simple wrapper around the SchemaCompiler. As I have a few other things in mind (generate TypeSystemHolder as java source, generate module-info and remove a few unnecessary modifiers in the sources) this should take so long ... hopefully.
Based on your other ticket, I assume you've managed to call the SchemaCompiler. Thank you for testing!
> apache maven plugin does not have feature parity with codehaus maven plugin or allow all configuration options
> --------------------------------------------------------------------------------------------------------------
>
> Key: XMLBEANS-563
> URL: https://issues.apache.org/jira/browse/XMLBEANS-563
> Project: XMLBeans
> Issue Type: Improvement
> Affects Versions: Version 5.0.0
> Reporter: Travis Schneeberger
> Priority: Blocker
>
> Upgrading to xmlbeans 5.0 requires switching to the apache xmlbeans maven plugin from the codehaus xmlbeans maven plugin. This was not possible for us as not all configuration options available in the apache plugin are available in the codehaus plugin. Specifically, we need to ensure that the plugin does not attempt to download resources. After looking at the java source for the plugin we noticed the following commented out lines:
> {code}
> // params.setBaseDir(null);
> // params.setJavaFiles(new File[0]);
> // params.setCompiler(null);
> // params.setMemoryInitialSize(null);
> // params.setMemoryMaximumSize(null);
> // params.setOutputJar(null);
> // params.setDownload(false);
> // params.setDebug(debug);
> // params.setExtensions(null);
> {code}
> There may be other problems as well as we weren't able to get very far in our upgrade process. Thanks for all your work in maintaining this project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org