Other improvments

Developers working in multi-module or multi-pom projects won't have to specify 
the parent version in every sub-module in Maven 3.  Instead, you can add 
version-less parent elements.  Maven 3 will also be able to see which POMs 
supplied which artifacts.  In M2Eclipse, you will then be able to de-select a 
certain contribution and select others.  This is made possible through Maven 
3's decoupling of execution plans and execution.  Maven 3 also includes 
extention points (mentioned above), which allow developers to hook up to 
different extension points, instead of sub-classing a plugin, to alter the 
plugin behavior.  You might, for example, have an extension point to alter the 
way web.xml is processed through the WAR plugin.  

Essentially, I don't want to have to list the version everywhere if it's the 
same for everything. 

Jason King
Software Engineer
Open Roads Consulting, Inc.
(757) 546-3401 | [email protected]


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Igor Fedorenko
Sent: Thursday, September 04, 2014 3:21 PM
To: [email protected]
Subject: Re: [m2e-users] m2e version-less parent element support

Can you provide pointers to documentation that explains how such "version-less" 
parents are supposed to work? What happens when artifacts that have such 
parents are resolved from artifact repositories, for example.

It may also be helpful if you explain what you are trying to achieve with such 
version-less parents. There are probably better/cleaner ways to do the same or 
at least we can decide what changes to Maven and m2e are necessary to enable 
better/cleaner solutions in the future.

--
Regards,
Igor

On 2014-09-04, 13:55, Jason W. King wrote:
> Maven 3.x supports version-less parent elements in the pom files.  
> When I try this within Eclipse, it complains that the parent.version 
> is missing.  It's showing up as a Project build error.
>
> Does m2e not support version-less parent elements?
>
> Jason King
>
> Software Engineer
>
> Open Roads Consulting, Inc.
>
> (757) 546-3401 | [email protected]
> <mailto:[email protected]>
>
>
>
> ----------------------------------------------------------------------
> -- This email communication (including any attachments) may contain 
> confidential and/or privileged material intended solely for the individual or 
> entity to which it is addressed.
> If you are not the intended recipient, please delete this email immediately.
>
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or 
> unsubscribe from this list, visit 
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users


This email communication (including any attachments) may contain confidential 
and/or privileged material intended solely for the individual or entity to 
which it is addressed.
If you are not the intended recipient, please delete this email immediately.

_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to