geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Re: How to use M2 G Packaging Plugin
Date Tue, 25 Jul 2006 21:04:33 GMT
   Do you also want the src/plan to be configurable? I agree this needs
to be fixed.
i.e. something like 
<planDir>${basedir}/src/plan</planDir>
<planFile>plan.xml</planFile>

Thanks
Anita 

--- Prasad Kashyap <goyathlay.geronimo@gmail.com> wrote:

> If you plan to use a file in src, then the variable you need is is
> ${basedir}.
> 
> ${basedir}/src/plan/geronimo-service.xml
> 
> If you plan to use a file under target, then the variable you need is
> ${project.build.directory}
> 
> Source code for car-maven-plugin is here
>
http://svn.apache.org/viewvc/geronimo/sandbox/svkmerge/m2migration/m2-plugins/car-maven-plugin/
> 
> Cheers
> Prasad
> 
> On 7/25/06, Aaron Mulder <ammulder@alumni.princeton.edu> wrote:
> > On 7/24/06, Prasad Kashyap <goyathlay.geronimo@gmail.com> wrote:
> > > There is a planFile config option in the mojos. So I suspect you
> may
> > > specify a different location for the plan file. By default, it
> expects
> > > the plan to be in target/plan/plan.xml.
> >
> > How do I use this?  I put my plan at src/plan/geronimo-service.xml
> and
> > set the planFile to src/plan/geronimo-service.xml and I get:
> >
> > [ERROR] ... Unable to find resource 'src/plan/geronimo-service.xml'
> >
> > I assume I need some prefix like
> > ${current-directory}/src/plan/geronimo-service.xml but I don't know
> > the name of the variable to use for that.  Or maybe that's not
> right?
> > What I'm looking for is to have the original plan at
> > src/plan/[real-plan-file-name] not src/plan/plan.xml so I just want
> to
> > tell the plugin to get it from there.
> >
> > Also, where is the current source code for the car-maven-plugin?
> >
> > Thanks,
> >     Aaron
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message