You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ra...@jpmchase.com on 2006/05/02 22:11:22 UTC

EJB Client Jar Problem

Hi,,

I'm trying to create ejb client from ejb project

this is what i have in my pom

                        <plugin>
 <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-ejb-plugin</artifactId>
                                <configuration>
 <generateClient>true</generateClient>
                                        <clientExcludes>
 <clientExclude>**/Session*</clientExclude>
                                        </clientExcludes>
                                        <clientIncludes>
 <clientInclude>**/Shop*</clientInclude>
                                        </clientIncludes>
                                        <archive>
                                                <manifest>
 <addClasspath>true</addClasspath>
                                                </manifest>
                                                <manifestEntries>
 <Build-Environment>${build.env}</Build-Environment>
                                                </manifestEntries>
                                        </archive>
                                </configuration>
                        </plugin>



it is creating ejb-client jar but it just includes almost all class files 
from the ejb.jar files, and has no effect on <clientExcludes> or 
<clientInclude> either i specify both of them or only one of them

Has anyone made it working something like this please advise??




Thanks,
Raghu 

Re: EJB Client Jar Problem

Posted by Pete <pe...@gmail.com>.
I had the same problem so would be interested if anyone can help ?

On 02/05/06, raghurajan.x.gurunathan@jpmchase.com <
raghurajan.x.gurunathan@jpmchase.com> wrote:
>
> Hi,,
>
> I'm trying to create ejb client from ejb project
>
> this is what i have in my pom
>
>                        <plugin>
> <groupId>org.apache.maven.plugins</groupId>
>                                <artifactId>maven-ejb-plugin</artifactId>
>                                <configuration>
> <generateClient>true</generateClient>
>                                        <clientExcludes>
> <clientExclude>**/Session*</clientExclude>
>                                        </clientExcludes>
>                                        <clientIncludes>
> <clientInclude>**/Shop*</clientInclude>
>                                        </clientIncludes>
>                                        <archive>
>                                                <manifest>
> <addClasspath>true</addClasspath>
>                                                </manifest>
>                                                <manifestEntries>
> <Build-Environment>${build.env}</Build-Environment>
>                                                </manifestEntries>
>                                        </archive>
>                                </configuration>
>                        </plugin>
>
>
>
> it is creating ejb-client jar but it just includes almost all class files
> from the ejb.jar files, and has no effect on <clientExcludes> or
> <clientInclude> either i specify both of them or only one of them
>
> Has anyone made it working something like this please advise??
>
>
>
>
> Thanks,
> Raghu
>
>