Guide - IOM 2.12 Migration of Project Dependencies

1 Introduction

All IOM-Common modules listed below are provided as jar instead of ejb module now.
Two things have to be migrated, if some of these dependencies are used:

  1. Change the type of the dependency to jar.
  2. Remove explicit module dependency from deployment.
Group IDArtifact ID

2 Change Type of the Dependency

Change the type of the dependency from ejb to jar.

    <!-- <type>ejb</type> REMOVE OR CHANGE TO JAR -->

3 Remove Explicit Module Dependency from the Deployment

Explicit dependencies need to be removed for the above mentioned dependencies.

These can be configured using two methods:

  1. Adding entries to the MANIFEST.MF file of the deployment:
    1. Check for static content in manifest file and remove it if necessary.
    2. Check for existing Maven plugins adding dependencies to your manifest and remove it if necessary.
  2. Adding entries to the jboss-deployment-structure.xml deployment descriptor.


Check for existing maven plugins adding above mentioned dependencies to your manifest and remove them if necessary:

                        <!-- <Dependencies>deployment.bakery.base-app-${project.version}.ear.bakery.logic-common-${project.version}.jar</Dependencies> REMOVE THIS DEPENDENCY -->

3.2 jboss-deployment-structure.xml

Check for module dependencies in jboss-deployment-structure.xml and remove above mentioned dependencies if exist:

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
            <module name="deployment.bakery.base-app-${project.version}.ear" export="true" meta-inf="import" />
            <!-- <module name="deployment.bakery.base-app-${project.version}.ear.bakery.logic-common-${project.version}.jar" export="true" /> REMOVE THIS DEPENDENCY -->


The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources