Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-563

apache maven plugin does not have feature parity with codehaus maven plugin or allow all configuration options

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Version 5.0.0
    • Version 5.0.1
    • None
    • None

    Description

      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:

      //            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);
      

      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.

      Attachments

        Activity

          People

            kiwiwings Andreas Beeker
            leo.herbie Travis Schneeberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m