OK, so I found the reason why it is not working with SARs -- or anything 
besides WARs actually.

The 'WebModule' is the only class that returns an actual value for 
'getLibDir()', which is used to look for the dependencies.

Opened a JIRA (http://jira.codehaus.org/browse/MEAR-153) to have this 
added in the other modules as well.


On 06.07.2012 11:44, Asmann, Roland wrote:
> Hi,
>
> I just found this feature in the EAR-plugin and wanted to try it out. I
> like what it does, but I need it to do this on more than just WAR artifacts!
>
> In my case, I have an EAR artifact, containing a WAR and a SAR... Both
> contain several libraries that I would like to have pulled up into the
> EAR, so the artifact will be as small as possible -- and I won't get any
> classloader issues when connecting from the WAR to the SAR.
>
> Is this possible with the current version of the ear-plugin or do I need
> to do this manually?
>
> Thanks,
>

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock              T +43 1 2198790-27
Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
A-1210 Wien                         M +43 664 88657566
                                    E [email protected]
                                    W www.adesso.at

-------------------------------------------------------------
             >>> business. people. technology. <<<
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to