Maven
Imixs supports Maven2 artifacts for all IX JEE Workflow components. These artifacts allows you to easily access the IX Workflow libraries and build maven based projects. To access the IX JEE Maven Repository you have to configure the repository in mavens settings.xml (on windows this is typically found or to be created in 'Documents and Settings/USERNAME/.m2'. On Linux the folder /.m2 will be found on the users home directory). In general you need to add the dev.java.net remote repository :
https://maven2-repository.dev.java.net/
You will find details how to configure the maven settings here.
How to add IX Workflow to maven project
Adding the IX Workflow to a maven project
There are two main artifacts which are necessary to add the IX Workflow components to a java project.
- org.imixs.workflow.api
This artifact contains the IX Workflow core api
- org.imixs.workflow.jee.api
This artifact contains the IX JEE Implementation
To add the artifacts to your maven project add the following dependency to your pom.xml
<dependecy> <groupID>org.imxis.workflow</groupID> <artifactID>org.imixs.workflow.jee.api</artifactID> <version>1.5.5</version> <type>jar</type> </dependecy> <dependecy> <groupID>org.imxis.workflow</groupID> <artifactID>org.imixs.workflow.api</artifactID> <version>1.5.3</version> <type>jar</type> </dependecy>
Setup a Multi Module Project
Using Maven to set up an JEE Web Project is the most easiest and fastest way. You need no IDE specific settings as all the stuff of compiling and building the project will be done by maven. You can find a details description of how to set up an JEE Web Project consisting of the IX JEE Worfklow Components, an EJB Layer and a Web Module as the GUI Frontend here . The JEE Modules are packaged into an EAR module which can be easily deployed on Glassfish or other JEE Applicaiton servers.





