I guess I have a few more questions, now that I think about it:
* Must you put the plan at src/plan/plan.xml or is there some way to point it to a different file or use an embedded plan? * Must you put the plugin descriptor at src/conf/geronimo-plugin.xml if <geronimoPlugin> is set to true? Is there some way to point it to a different file? * What dependencies should be listed in the POM for a CAR? Let's say you have one module to build a JAR and another module to make a CAR out of that JAR. Shouldn't the CAR POM be virtually empty except for the parent module dependencies and some indication of which JAR you're trying to make the CAR out of? I assume it could get the rest as transitive dependencies from the JAR POM. * How does the car plugin know what module you're trying to make a CAR out of? I looked at the console-jetty POM, for example, and it had loads of dependencies, and there was nothing obvious about the geronimo console EAR dependency to indicate that's the one that should be turned into a CAR by this particular build. Thanks, Aaron On 7/24/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
Great. Is it the case that the plugin would have to be installed manually to work by default? Is there something I can put in the POM that will make it fetch that one plugin from the snapshot repo you listed so each developer doesn't need to download it by hand? Thanks, Aaron On 7/24/06, Jason Dillon <[EMAIL PROTECTED]> wrote: > Well, the packaging plugging has been merged with the assembly > plugin, so now there is just one car plugin that handles all car > related fluff. > > You need to enable it as an exention, as in: > > http://svn.apache.org/repos/asf/geronimo/sandbox/svkmerge/ > m2migration/configs/pom.xml > > The set the packaging type to car and will package the plan for you. > > If you need to specify additional classpath or package configuration > you need to define something, as in: > > http://svn.apache.org/repos/asf/geronimo/sandbox/svkmerge/ > m2migration/configs/j2ee-system/pom.xml > > There is a 1.2-SNAPSHOT of the car-maven-plugin up here: > > http://people.apache.org/repo/m2-snapshot-repository/ > > Its a week or so old, but should work. > > --jason > > > On Jul 24, 2006, at 12:08 PM, Aaron Mulder wrote: > > > What do I need to put in a POM to use a working Geronimo Packaging > > Plugin for Maven 2? Is there such a thing available on the Maven > > repos? Do I need specific configuration directives in the POM or in > > my Maven config to pull it down? > > > > Thanks, > > Aaron > >