Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Latest commit

 

History

History
13 lines (7 loc) · 603 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 603 Bytes

A little break down example for a Stackoverflow question related to maven-shade-plugin and openEJB

##Base Setting:

  • demo-services: Hibernate Service and one Entity, EJB Module
  • demo-main: Module for Shading containing the DemoMain class to start the EJBContainer. Shading happens here.

##Problem (solved):

  • Starting DemoMain via IDE (IntelliJ 2016.2.5) does work.

  • Starting the shaded jar via java -jar demo-shade-1.0-SNAPSHOT.jar and the conf/openejb.xml in the same directory, work too.