You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ole Ersoy <ol...@yahoo.com> on 2007/02/21 21:40:18 UTC
Specifying a New Package Type
Hi,
I'm trying to specify a new package type.
I did everything the maven guide said, but maven still
barks when I try to run the new lifecycle.
So I tried looking at the webapp plugin, to see if it
did anything different.
In the guide it says to add a
META-INF/plexus/components.xml
to the plugin jar.
However the maven war plugin does not have this.
Any ideas on what the proper way to specify a new
package type is?
Thanks,
- Ole
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Specifying a New Package Type
Posted by David Jackman <Da...@fastsearch.com>.
Have you set <extensions>true</extensions> for the plugin execution (in
the pom)? I'm not sure if this even applies for the case of a new
packaging. I'm interested in how to get this sort of thing to work,
though, since I think I'll be writing a custom packaging plugin before
too long myself.
..David..
-----Original Message-----
From: Ole Ersoy [mailto:ole_ersoy@yahoo.com]
Sent: Wednesday, February 21, 2007 2:06 PM
To: Maven Users List
Subject: Re: Specifying a New Package Type
Oh oh -
When I run the plugin for the new packaging, it runs fine, but when I
run eclipse:eclipse it says that it can't find the lifecycle-mapping for
the packaging.
Ideas?
Thanks,
- Ole
--- Ole Ersoy <ol...@yahoo.com> wrote:
> Wait - Got it -
>
> I had META-INF/plexus/components.xml
>
> in the root of the plugin development directory instead of
> src/main/resources.
>
> Now it's here:
>
> src/main/resources/META-INF/plexus/components.xml
>
> and all is good.
>
> Cheers,
> - Ole
>
>
> --- Ole Ersoy <ol...@yahoo.com> wrote:
>
> > Hi,
> >
> > I'm trying to specify a new package type.
> >
> > I did everything the maven guide said, but maven still barks when I
> > try to run the new lifecycle.
> >
> > So I tried looking at the webapp plugin, to see if it did anything
> > different.
> >
> > In the guide it says to add a
> > META-INF/plexus/components.xml
> >
> > to the plugin jar.
> >
> > However the maven war plugin does not have this.
> >
> > Any ideas on what the proper way to specify a new package type is?
> >
> > Thanks,
> > - Ole
> >
> >
> >
> >
> >
> >
>
________________________________________________________________________
____________
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel sites to find
> > flight and hotel bargains.
> > http://farechase.yahoo.com/promo-generic-14795097
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> >
> >
>
>
>
>
>
________________________________________________________________________
____________
> Don't get soaked. Take a quick peak at the forecast with the Yahoo!
> Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
________________________________________________________________________
____________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Specifying a New Package Type
Posted by Ole Ersoy <ol...@yahoo.com>.
Oh oh -
When I run the plugin for the new packaging, it runs
fine, but when I run eclipse:eclipse it says that it
can't find the lifecycle-mapping for the packaging.
Ideas?
Thanks,
- Ole
--- Ole Ersoy <ol...@yahoo.com> wrote:
> Wait - Got it -
>
> I had META-INF/plexus/components.xml
>
> in the root of the plugin development directory
> instead of src/main/resources.
>
> Now it's here:
>
> src/main/resources/META-INF/plexus/components.xml
>
> and all is good.
>
> Cheers,
> - Ole
>
>
> --- Ole Ersoy <ol...@yahoo.com> wrote:
>
> > Hi,
> >
> > I'm trying to specify a new package type.
> >
> > I did everything the maven guide said, but maven
> > still
> > barks when I try to run the new lifecycle.
> >
> > So I tried looking at the webapp plugin, to see if
> > it
> > did anything different.
> >
> > In the guide it says to add a
> > META-INF/plexus/components.xml
> >
> > to the plugin jar.
> >
> > However the maven war plugin does not have this.
> >
> > Any ideas on what the proper way to specify a new
> > package type is?
> >
> > Thanks,
> > - Ole
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel
> > sites to find flight and hotel bargains.
> > http://farechase.yahoo.com/promo-generic-14795097
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> >
> >
>
>
>
>
>
____________________________________________________________________________________
> Don't get soaked. Take a quick peak at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Specifying a New Package Type
Posted by Ole Ersoy <ol...@yahoo.com>.
Wait - Got it -
I had META-INF/plexus/components.xml
in the root of the plugin development directory
instead of src/main/resources.
Now it's here:
src/main/resources/META-INF/plexus/components.xml
and all is good.
Cheers,
- Ole
--- Ole Ersoy <ol...@yahoo.com> wrote:
> Hi,
>
> I'm trying to specify a new package type.
>
> I did everything the maven guide said, but maven
> still
> barks when I try to run the new lifecycle.
>
> So I tried looking at the webapp plugin, to see if
> it
> did anything different.
>
> In the guide it says to add a
> META-INF/plexus/components.xml
>
> to the plugin jar.
>
> However the maven war plugin does not have this.
>
> Any ideas on what the proper way to specify a new
> package type is?
>
> Thanks,
> - Ole
>
>
>
>
>
>
____________________________________________________________________________________
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel
> sites to find flight and hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org