Skip to content
  • Thomas Bouffard's avatar
    chore(build): various technical improvements (#177) · f1f9d356
    Thomas Bouffard authored
    * refactor(config): clean JavaEE server configuration files
    
      - remove weblogic configuration files as this server is no more supported
      - move jboss-web.xml config file to the war-ear module
      This file is only required when running on wildfly, so remove it from
      the regular war
    
    * refactor(groovy examples): cleanup and configuration improvements
    
    Code
      - do not use deprecated web-extensions code
      - return only json non pretty string as this is what we recommend in the
      documentation (performance)
      - ensure that the Groovy Page Controllers can be compiled
      - groovy cleanup: def, semi-colon, ...
    
    Build
      - dependencies: do not redefined version when already set in parent
      dependencyManagement
      - maven compiler: have a single groovy aware configuration
      - resources: put resources only required for the final page zip in a
      dedicated folder, not in the resources folder which is intended to be
      used to store resources that go into a jar
    
    * fix(version): have a VERSION file in the war with correct information
    
    The VERSION file of the console-server module was previously overridden
    by a file in the all-in-one module. There was no filtering so the file in
    the resulting war contained ${project.version} instead of the actual
    Bonita version.
    
    This is now fixed by using the original console-server file with the right
    filtering in the all-in-one module.
    f1f9d356