This document summarizes the current state of Maven integration with OpenESB projects and outlines plans to improve it. Currently, OpenESB projects heavily rely on Ant builds and the NetBeans IDE. The speaker's company has started developing Maven plugins to build OpenESB modules and applications without these dependencies, improving maintainability. Future work includes adding support for unit tests and integrating Maven builds with IDEs like NetBeans.
1 of 12
More Related Content
12052011 open esb
1. INEAT CONSEIL Cabinet conseil en Enterprise Information Management OpenESB Summit Montreal 12th of May 2011 OpenESB : The Maven Integration
2. Who I am ? Who I am ? David BRASSELY Software Engineer Ineat Conseil Company based in France and Belgium (Lille, Paris, Bruxelles) Specialized in Enterprise Information Management (Alfresco, Nuxeo, VMedia, ¡) Use OpenESB : Leroy Merlin France (Retail) Groupe Humanis (Insurance) INEAT Conseil ¨C OpenESB - Maven Integration [email_address] www.ineat-conseil.fr
3. Current state / Maven Integration The state : JBI Modules and CASA projects NetBeans heavily depends on Ant Strong dependencies with the NetBeans project model INEAT Conseil ¨C OpenESB - Maven Integration
4. Current state / Maven Integration The NetBeans build lifecycle (light version) : JBI Modules : Read several properties files that are located in the nbproject Load several jar files that are needed while building the module (NetBeans and the SOA modules) Ant Tasks are ran to validate the project and to generate the needed catalog.xml and jbi.xml files A jar is created by calling the Ant jar task CASA Projects : Read several properties files that are located in the nbproject The jar file of each JBI Module that is included in the Composite Application is expanded and the files contained in it are copied over to a JBI Module specific directory structure for later use Builds the needed jbi.xml file for this Composite Application and puts all needed jar files together Cleaning up is done and a zip file containing the Composite Application that can be deployed is created INEAT Conseil ¨C OpenESB - Maven Integration
5. Current state / Maven Integration What about Maven ? Lack of Maven support in NetBeans for JBI modules and CASA projects Maven have to call ANT tasks Need to push into a Maven repository (Nexus, Artifactory, ¡) jar modules from NetBeans (like the bpel-project-module) Maintenability problems ¡ INEAT Conseil ¨C OpenESB - Maven Integration
6. Maven Integration Maven Integration : Starting development at the end of March Analyzing the build process Defining Maven Plugins INEAT Conseil ¨C OpenESB - Maven Integration http://openesb-dev.org/projects/maven-plugins/ Maven Plugins for building OpenESB Project
7. Maven Integration Maven Integration : Unable to use ANT Tasks class due to some problems with NetBeans project model. Definition of the OpenESB Build Core : No dependency with NetBeans No dependency with build systems (ANT, Maven ,¡) INEAT Conseil ¨C OpenESB - Maven Integration Maven Command ANT Build Core ¡ Hudson OpenESB Build Core NetBeans Eclipse
8. Maven Plugins Maven Plugins : New Maven packaging types : jbi-service-unit (BPEL project) Jbi-service-assembly (Composite Application) Maven dependencies to define : Links between a Composite Application and the BPEL projects Maven Configuration possibilities : Provides project structure configuration for backward compatibility INEAT Conseil ¨C OpenESB - Maven Integration
9. Maven Plugins : Example Maven Plugins : INEAT Conseil ¨C OpenESB - Maven Integration Service Unit ¨C BPEL Project Packaging
11. Maven Plugins Roadmap : Improving development quality / Implementation of Unit Tests Managing JavaEE dependencies in Composite Application Executing composite application unit tests with Maven. Building .casa automatically (like ANT) Integrating Maven builds with NetBeans build system Needs help to provide ideas, efforts, ¡ INEAT Conseil ¨C OpenESB - Maven Integration
12. Questions / Contact Us INEAT Conseil Lille 165 avenue de Bretagne EuraTechnologies?- B?timent Leblan? 59 000 Lille T¨¦l : +33 (0) 3 20 00 80 37 INEAT Conseil Paris 4 Ter rue Honor¨¦ d'Estienne d'Orves 92 150 Suresnes T¨¦l. : +33 (0) 1 46 25 05 49 INEAT Conseil - Pr¨¦sentation - 15/01/2011 [email_address] www.ineat-conseil.fr