You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Surendran Duraisamy <su...@gmail.com> on 2013/11/08 05:00:54 UTC

Custom MANIFEST.MF maven-ejb-plugin

Hi,
How can I generate custom class-path: entries in my maven-ejb-plugin.

I have 3 jar A.jar, B.jar and C.jar in my maven dependency pom.xml. I 
need to put only B.jar and C.jar in my Class-Path: entries of my MANIFEST.

I cannot use dependency scope provided as my project is referred by 
another project which require dependency scope compile.

Is there any filters in maven-ejb-plugin or I exclude only specific 
entries in my maven-ejb-plugin.

Thanks,


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Custom MANIFEST.MF maven-ejb-plugin

Posted by Ron Wheeler <rw...@artifact-software.com>.
Still not sure that you need to do this.
Assuming that you can not alter the manifest.mf, what would you do?

What are you trying to do that is so bizarre that no one else would need 
such a feature?

See below.




On 08/11/2013 4:03 PM, Surendran D wrote:
> Couldn't find any way to achieve the previous scenario.
>
> resolved my adding custom manifest.mf inside src/resources/ and copying
> it... instead of generating one.
>
>
>
> On Fri, Nov 8, 2013 at 9:30 AM, Surendran Duraisamy
> <su...@gmail.com>wrote:
>
>> Hi,
>> How can I generate custom class-path: entries in my maven-ejb-plugin.
>>
>> I have 3 jar A.jar, B.jar and C.jar in my maven dependency pom.xml. I need
>> to put only B.jar and C.jar in my Class-Path: entries of my MANIFEST.
>>
>> I cannot use dependency scope provided as my project is referred by
>> another project which require dependency scope compile.
The other project can have a compile dependency on C.
If you don't provide C in your jar, where does it come from?

>>
>> Is there any filters in maven-ejb-plugin or I exclude only specific
>> entries in my maven-ejb-plugin.
>>
>> Thanks,
>>
>>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Custom MANIFEST.MF maven-ejb-plugin

Posted by Surendran D <su...@gmail.com>.
Couldn't find any way to achieve the previous scenario.

resolved my adding custom manifest.mf inside src/resources/ and copying
it... instead of generating one.



On Fri, Nov 8, 2013 at 9:30 AM, Surendran Duraisamy
<su...@gmail.com>wrote:

> Hi,
> How can I generate custom class-path: entries in my maven-ejb-plugin.
>
> I have 3 jar A.jar, B.jar and C.jar in my maven dependency pom.xml. I need
> to put only B.jar and C.jar in my Class-Path: entries of my MANIFEST.
>
> I cannot use dependency scope provided as my project is referred by
> another project which require dependency scope compile.
>
> Is there any filters in maven-ejb-plugin or I exclude only specific
> entries in my maven-ejb-plugin.
>
> Thanks,
>
>