Issue
What is the difference between
<dependency>
<groupId>groupId</groupId>
<artifactId>artifactId</artifactId>
<type>ejb</type>
</dependency>
and
<dependency>
<groupId>groupId</groupId>
<artifactId>artifactId</artifactId>
<type>jar</type>
</dependency>
Solution
<type>ejb</type>
is needed when your artifact artifactId
has EJBs and you want to use them. If you don't need the EJBs in your module <type>jar</type>
is an option.
Answered By - Chris311