Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Using maven profiles?

Hi all,

the Maven Profile Management UI from JBoss Tools has now been included in the latest m2e 1.5 dev build[1], available from [2] (compatible with Kepler and Luna). It will be embedded with the next Luna M6 packages.

Here's how it works :

Rather than right-clicking on a project, going to the Properties > Maven page, then manually (mis)typing a list of active or disabled profile, you just use the Ctrl+Alt+P shortcut to open the new Maven Profile selection interface.

The new interface is also accessible from the Maven contextual menu : Right-click on project > Maven > Select Maven Profiles...

The list of available profiles is inferred from profiles defined in :
 * the project pom.xml
 * the project's parent hierarchy
 * user and global maven settings.xml

When several projects are selected, only the common available profiles are displayed for selection. Common profiles are profiles defined in settings.xml or profiles having the same id in different pom.xml.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=428094
[2] http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2e/1.5.0/N/LATEST/


On Tue, Dec 17, 2013 at 7:39 PM, Mike Youngstrom <youngm@xxxxxxxxx> wrote:
We include your Maven Profile plugin by default in our internal eclipse distribution.  

This is not a JBoss Tools based IDE.  It is eclipse+m2e+maven profile and a few other plugins.  We specifically added it to simplify profile selection for our users.

This distro has about 100 users.  Can you count that?

Mike


On Fri, Nov 29, 2013 at 12:05 PM, Fred Bricon <fbricon@xxxxxxxxx> wrote:
Hi, 

if you use Maven profiles and would like to use a nice(r) UI to manage them (quickly (de)activate profiles, apply on multiple projects at once), Maven Profiles Management, provided by JBoss Tools, might help you :


The reason I advertise this m2e extension is, if there's enough traction, our beloved m2e project leader might accept to include it to m2e core (he said at least a couple thousands installs).

So go ahead and install it from the Eclipse Marketplace (it's compatible with Kepler/Luna) :


Regards,

Fred



--
"Have you tried turning it off and on again" - The IT Crowd

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top