Yes! I didn't see docs for this. Is it included in 1.2 GA release? ... An "undocumented feature"?
Thanks! -----Original Message----- From: Vijesh A.V. [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 10:39 PM To: [email protected] Subject: RE: [Axis2] Building MAR Hi, I guess this what you are looking for. I have been successfully using this. <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-mar-maven-plugin</artifactId> <version>1.2</version> <extensions>true</extensions> <configuration> <includeDependencies>true</includeDependencies> <moduleXml></moduleXml> <!-- not sure about the exact element name, pls check --> <!-- by default all files in META-INF is included in the mar, so this fileSets tage is not required --> <!--fileSets> <fileSet> <directory>${axis2-mar-m2-resourceDir}</directory> <outputDirectory>META-INF</outputDirectory> <includes> <include>**/*.xml</include> </includes> </fileSet> </fileSets--> </configuration> </plugin> Regards, Vijesh -----Original Message----- From: Edward Bush [mailto:[EMAIL PROTECTED] Sent: 20 June 2007 00:31 To: [email protected] Subject: RE: [Axis2] Building MAR I was mainly curious. Not having written a Maven2 plugin before, and being unaware of how many people might create a custom module, I can't say. We tend to build things in a very modular fashion, so implementing a set of handlers means building a MAR. ... And without a way to properly deal with this, it means I'll wind up with a JAR in my repository, rather than a MAR. Doesn't it? This is what I'm trying to avoid - that and having to rename the artifact when I drop it into my service. I believe you are probably right about AAR being much more common. I would certainly hope so :-) I think it would be a nice-to-have. If building a Maven2 plugin is hard, it's probably not worth the effort. Seems to me, being naïve about such things, that it would be a quick, easy extension of the JAR plugin. Eddie Bush Software Analyst Clinical Reference Laboratory bushe at crlcorp dot com -----Original Message----- From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 3:18 PM To: [email protected] Subject: Re: [Axis2] Building MAR Hi, Well we did not feel that making a mar will be a common use case, at least not as common as making an aar. (You can always use the jar/zip tasks with a bit of effort for both ). Do you think we should ? I mean would there be enough demand for it ? Ajith On 6/19/07, Edward Bush <[EMAIL PROTECTED]> wrote: > All, > > No such thing as a maven plugin for building a *.mar is there? I use > the AAR plugin with success. Surprised to find there's not one for > MAR ... but maybe I just don't see it? > > Eddie Bush > Software Analyst > Clinical Reference Laboratory > bushe at crlcorp dot com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
