Re: Building MDB's with Maven
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 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
it is an ejb project.. groupIdorg.delta.esp.dap.c2.business-services/groupId version1.0.0.0/version artifactIdTransformXEServerToC2-mdb/artifactId packagingejb/packaging On 8/16/07, Mark Eramo [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 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 ---
Re: Building MDB's with Maven
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 groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration ejbVersion2.1/ejbVersion generateClientfalse/generateClient archive manifest addClasspathtrue/addClasspath classpathPrefixlib//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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building MDB's with Maven
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 groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration ejbVersion2.1/ejbVersion generateClientfalse/generateClient archive manifest addClasspathtrue/addClasspath classpathPrefixlib//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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]