Hi, Thank you both for the answers. The JBoss Maven Tool works really great! Thanks for the hint.
Robert On 15.10.2013, at 08:42, Fred Bricon <fbri...@gmail.com> wrote: <shamelessplug> You might want to look at the Maven profile manager from JBoss Tools[1] : Select multiple projects, press Ctrl+Alt+P and activate the profile(s) these projects have in common. It's available as a standalone feature (Maven Profiles Management) from the JBoss Tools update site, along other Maven related goodies. See [2] for your favorite installation method. <shamelessplug> [1] http://docs.jboss.org/tools/whatsnew/maven/maven-news-3.3.0.M3.html#itemname1 , [2] http://www.jboss.org/tools/download/installation Fred On Tue, Oct 15, 2013 at 1:03 AM, Igor Fedorenko <i...@ifedorenko.com> wrote: > Not easily done inside m2e. You need to manually import/delete > modules that correspond to the desired profile and you need to enable > the profile for all relevant module in m2e project preferences. > > -- > Regards, > Igor > > > On 2013-10-14 2:43 PM, Robert Metzger wrote: > >> Hello, >> >> I'm working with Stratosphere >> (https://github.com/**stratosphere/stratosphere<https://github.com/stratosphere/stratosphere> >> ). >> The project has a parent pom "stratosphere" and many projects below it. >> >> We use maven profiles to support different versions of Apache Hadoop: >> "hadoop-1" and "hadoop-2" (Basically to switch dependencies and >> sub-projects). "hadoop-1" is the default profile. >> >> What I like to do is to enable the profile that is not enabled by >> default out of Eclipse. >> I therefore choose the main project "Stratosphere" -> Properties -> >> Maven and entered "hadoop-2,!hadoop-1" I also tried "hadoop-2" only. >> Nothing worked. The projects are still pulling the wrong dependencies. >> >> How can I switch the profile in Eclipse? >> >> >> >> I'm using the following versions: >> Eclipse SDK4.3.0.I20130605-2000org.**eclipse.sdk.ide >> m2e - Maven Integration for >> Eclipse1.4.0.20130601-0317org.**eclipse.m2e.feature.feature.** >> groupEclipse.org<http://Eclipse1.4.0.20130601-0317org.eclipse.m2e.feature.feature.groupEclipse.org> >> - m2e >> >> I hope you can help me! >> >> >> Sincerely, >> Robert Metzger >> >> >> ______________________________**_________________ >> m2e-users mailing list >> m2e-users@eclipse.org >> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> >> >> ______________________________**_________________ > m2e-users mailing list > m2e-users@eclipse.org > https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users> > -- "Have you tried turning it off and on again" - The IT Crowd _______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users