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/03/08 00:39:05 UTC

EJB Client jar creation

Hi All,

When i used ejb plugin to create my client jar its created with all the 
files from ejb.jar but, i don't want  in this way, is there some 
configuration i could use so my client jar will have only client class 
files

This is what i have in my ejbplugin

                        <plugin>
 <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-ejb-plugin</artifactId>
                                <configuration>
 <generateClient>true</generateClient>
                                        <archive>
                                                <index>true</index>
                                                <manifest>
 <addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>

Please anyone has any solution for this?



Thanks,
Raghu 

Re: EJB Client jar creation

Posted by Alexandre Poitras <al...@gmail.com>.
I don't know if it is going to be of any use, but if you want to
declare your ejb as a dependency in another project, specify a
"ejb-client" type value and it will work fine.

On 3/7/06, raghurajan.x.gurunathan@jpmchase.com
<ra...@jpmchase.com> wrote:
> Hi All,
>
> When i used ejb plugin to create my client jar its created with all the
> files from ejb.jar but, i don't want  in this way, is there some
> configuration i could use so my client jar will have only client class
> files
>
> This is what i have in my ejbplugin
>
>                         <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-ejb-plugin</artifactId>
>                                 <configuration>
>  <generateClient>true</generateClient>
>                                         <archive>
>                                                 <index>true</index>
>                                                 <manifest>
>  <addClasspath>true</addClasspath>
>                                                 </manifest>
>                                         </archive>
>                                 </configuration>
>                         </plugin>
>
> Please anyone has any solution for this?
>
>
>
> Thanks,
> Raghu
>
>


--
Alexandre Poitras
Québec, Canada

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