You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Eramo <ma...@trustvesta.com> on 2007/08/16 21:05:56 UTC
Building MDB's with Maven
Hello,
I have a question. A few of the jars I currently build with Any also
produce mdb's (message driven beans). I did not see a plugin for this
but was wondering
if anyone has accomplished this with Maven.
If not, I might just end up calling an Ant script from the Maven build
to do it.
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Building MDB's with Maven
Posted by Mark Eramo <ma...@trustvesta.com>.
Great! This is what I needed to know and it helps me out. Thanks for
this info.
Regards,
Mark
Alan D. Salewski wrote:
> On Thu, Aug 16, 2007 at 03:05:56PM -0400, Mark Eramo spake thus:
>
>> Hello,
>> I have a question. A few of the jars I currently build with Any also
>> produce mdb's (message driven beans). I did not see a plugin for this
>> but was wondering
>> if anyone has accomplished this with Maven.[...]
>>
>
> We use the maven-ejb-plugin for this. Here's an example snippet for an
> MDB subproject's pom.xml:
> ...
> <build>
> ...
> <plugins>
> ...
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-ejb-plugin</artifactId>
> <configuration>
> <ejbVersion>2.1</ejbVersion>
> <generateClient>false</generateClient>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> <classpathPrefix>lib/</classpathPrefix>
> </manifest>
> </archive>
> </configuration>
> </plugin>
> ...
> </plugins>
> </build>
> ...
>
> For more info, check out the site for the maven-ejb-plugin:
>
> http://maven.apache.org/plugins/maven-ejb-plugin/
>
> HTH,
> -Al
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Building MDB's with Maven
Posted by "Alan D. Salewski" <as...@healthmarketscience.com>.
On Thu, Aug 16, 2007 at 03:05:56PM -0400, Mark Eramo spake thus:
> Hello,
> I have a question. A few of the jars I currently build with Any also
> produce mdb's (message driven beans). I did not see a plugin for this
> but was wondering
> if anyone has accomplished this with Maven.[...]
We use the maven-ejb-plugin for this. Here's an example snippet for an
MDB subproject's pom.xml:
...
<build>
...
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<ejbVersion>2.1</ejbVersion>
<generateClient>false</generateClient>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
...
</plugins>
</build>
...
For more info, check out the site for the maven-ejb-plugin:
http://maven.apache.org/plugins/maven-ejb-plugin/
HTH,
-Al
--
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::
Alan D. Salewski
Software Developer
Health Market Science, Inc.
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Building MDB's with Maven
Posted by Alexander Sack <pi...@gmail.com>.
What are you trying to do? MDBs are just Java files that get jared up. You
need to be more specific.
-aps
On 8/16/07, Mark Eramo <ma...@trustvesta.com> wrote:
>
> Hello,
> I have a question. A few of the jars I currently build with Any also
> produce mdb's (message driven beans). I did not see a plugin for this
> but was wondering
> if anyone has accomplished this with Maven.
>
> If not, I might just end up calling an Ant script from the Maven build
> to do it.
>
> Thanks,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson
Re: Building MDB's with Maven
Posted by Mick Knutson <mi...@gmail.com>.
it is an ejb project..
<groupId>org.delta.esp.dap.c2.business-services</groupId>
<version>1.0.0.0</version>
<artifactId>TransformXEServerToC2-mdb</artifactId>
<packaging>ejb</packaging>
On 8/16/07, Mark Eramo <ma...@trustvesta.com> wrote:
>
> Hello,
> I have a question. A few of the jars I currently build with Any also
> produce mdb's (message driven beans). I did not see a plugin for this
> but was wondering
> if anyone has accomplished this with Maven.
>
> If not, I might just end up calling an Ant script from the Maven build
> to do it.
>
> Thanks,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---