I have an EAR with several EJB dependencies. 2 of them have a predetermined volume dependence for a can integrated in the glass phase. However, when I install mvn on my local computer or when the application is created via maven on hudson, the ear always contains a jar with built-in glass.
eg. DataAccess-ejb with dependency provided
<dependency> <groupId>org.glassfish.extras</groupId> <artifactId>glassfish-embedded-all</artifactId> <version>3.0</version> <scope>provided</scope> </dependency>
Ejb addiction ear application
<dependency> <groupId>com.xxx.yyy</groupId> <artifactId>DataAccess-ejb</artifactId> <version>1.0-SNAPSHOT</version> <type>ejb</type> </dependency>
Any ideas what I am doing wrong or possible suggestions?
Greetings
James
source share