As I said in title when i build ear the artifacts (wars and ejbs) are copied inside ear but the APP-INF/lib is missing, and i don't know what could be the reason.
This is a part of pom.xml:
<plugin>
<artifactId>maven-ear-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<earSourceDirectory>${basedir}/contentEar</earSourceDirectory>
<defaultLibBundleDir>APP-INF/lib</defaultLibBundleDir>
<modules>
<webModule>
<groupId>my.webs</groupId>
<artifactId>web</artifactId>
<bundleFileName>web.war</bundleFileName>
</webModule>
<ejbModule>
<groupId>my.test.doc</groupId>
<artifactId>myEjb</artifactId>
<bundleFileName>myEjb.jar</bundleFileName>
</ejbModule>
</modules>
</configuration>
<executions>
<execution>
<id>build-ear</id>
<phase>package</phase>
<goals>
<goal>ear</goal>
</goals>
</execution>
</executions>
</plugin>
Also i should say that in /contentEar folder there are only application.xml and manifest files.
Please if you have an idea about this, help me...