java - My ear which was build with maven does not generates its APP-INF/lib -


As I said in the headline that when I create the ear (war and EJB) it is copied within ear But APP-BBL is missing, and I do not know what the reason might be.

This is a part of pom.xml:

  & lt; Plugin & gt; & Lt; ArtifactId & gt; Maven ear-plugged & lt; / ArtifactId> & Lt; Version & gt; 2.3.2 & lt; / Edition & gt; & Lt; Configuration & gt; & Lt; EarSourceDirectory & gt; $ {Basedir} / contentEar & lt; / EarSourceDirectory & gt; & Lt; DefaultLibBundleDir & gt; APP-INF / lib & lt; / DefaultLibBundleDir & gt; & Lt; Module & gt; & Lt; WebModule & gt; & Lt; Group & gt; My.webs & lt; / Group & gt; & Lt; ArtifactId & gt; Web & lt; / ArtifactId> & Lt; BundleFileName & gt; Web.war & lt; / BundleFileName & gt; & Lt; / WebModule & gt; & Lt; EjbModule & gt; & Lt; Group & gt; My.test.doc & lt; / Group & gt; & Lt; ArtifactId & gt; MyEjb & lt; / ArtifactId> & Lt; BundleFileName & gt; MyEjb.jar & lt; / BundleFileName & gt; & Lt; / EjbModule & gt; & Lt; / Module & gt; & Lt; / Configuration & gt; & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; ID & gt; Construction Cannes & lt; / Id & gt; & Lt; Step & gt; Package & lt; / Step & gt; & Lt; Goals & gt; & Lt; Goal & gt; Cannes & lt; / Target & gt; & Lt; / Targets & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; / Plugin & gt;  

I should also say that there are only application.xml and manifest files in the / contentEar folder.

Please help me if you have any thoughts about it ..

And what should be kept in Maven APP-INF / lib ? What is the expected result? From the documentation:

...

Please note that third party libraries (male modules) are not included in the Application .xml (Only AJB-client should be included in the Java entry). A jar reliance can be included in the application.xml generated by specifying the includeInApplicationXml flag.

It is also possible to specify a default bundle directory for all third party libraries by specifying defaultLibBundleDir parameter .

But I do not see anyone in your configuration. Do you probably declare some jar libraries as dependencies? please clarify.

The following posts can also help:


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -