Thanks, fixed, build passes in both maven 2 and 3. Regards, Stevo.
On Mon, Dec 7, 2009 at 2:36 PM, Benjamin Bentmann <[email protected] > wrote: > Stevo Slavić wrote: > > It seems 3.0-alpha-5 is not compatible with current 2.0-alpha-4 version of >> maven-archetype-plugin - archetype:create-from-project mojo creates >> archetype project with packaging maven-archetype, but that packaging seems >> not to be supported by / valid for 3.0-alpha-5 >> > > Try running "mvn install" on your example project with Maven 2.x and you'll > get > > [INFO] Cannot find lifecycle mapping for packaging: 'maven-archetype'. > > i.e. the project itself is broken, this has nothing to do with Maven 3. > > If you want to use a custom packaging like "maven-archetype", you have to > declare the extension that provides this packaging, none of your POMs in the > example project does. > > > > Benjamin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
