m2e-wtp can't be disabled for the moment at the workspace level. Please
open a feature request at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2E-WTP

As a workaround, you can tell m2e to ignore the m2e-wtp configurator(s)
directly in your pom.
You need to add the following snippet to your pom.xml  :

 <profiles>
<profile>
<id>m2e</id>
 <!-- This profile is only activated when building in Eclipse with m2e -->
<activation>
 <property>
<name>m2e.version</name>
</property>
 </activation>
<build>
<pluginManagement>
 <plugins>

<plugin>
<groupId>org.eclipse.m2e</groupId>
 <artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
 <configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
 <pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-war-plugin</artifactId>
<versionRange>[2.0.1,)</versionRange>
 <goals>
<goal>war</goal>
</goals>
 </pluginExecutionFilter>
<action>
<ignore />
 </action>
</pluginExecution>
</pluginExecutions>
 </lifecycleMappingMetadata>
</configuration>
</plugin>
 </plugins>
</pluginManagement>
</build>
 </profile>
</profiles>

See
http://git.eclipse.org/c/m2e-wtp/org.eclipse.m2e.wtp.git/tree/org.eclipse.m2e.wtp/lifecycle-mapping-metadata.xml
for
the other plugin executions that may need to be overriden in your pom.xml
(replace <configurator> block with <ignore/>)


2013/6/4 John Prestel <jpres...@safaribooksonline.com>

> The "What's Already Installed?" dialog wouldn't let me uninstall just
> m2e-wtp. If I find a solution, I will report back!
>
> Thanks again,
>
> John
>
>
> On Mon, Jun 3, 2013 at 8:04 PM, Igor Fedorenko <i...@ifedorenko.com>wrote:
>
>> You should be able to, but I've never done this myself, if does not work
>> may be worth checking p2 or eclipse platform forums or user mailings
>> lists.
>>
>> --
>> Regards,
>> Igor
>>
>>
>> On 2013-06-03 7:09 PM, John Prestel wrote:
>>
>>> Igor,
>>>
>>> I did wind up getting m2e-wtp as part of the upgrade. Can I simply
>>> uninstall it?
>>>
>>>
>>>
>>> John
>>>
>>>
>>> On Mon, Jun 3, 2013 at 6:52 PM, Igor Fedorenko <i...@ifedorenko.com
>>> <mailto:i...@ifedorenko.com>> wrote:
>>>
>>>     Is there a chance you installed m2e-wtp as part of the upgrade? It is
>>>     part of Kepler release common repository and is not hard to install
>>> by
>>>     accident. It is also included in "for Java EE" eclipse package.
>>>
>>>     --
>>>     Regards,
>>>     Igor
>>>
>>>
>>>     On 2013-06-03 6:39 PM, John Prestel wrote:
>>>
>>>         Running Eclipse Kepler (Java EE), I updated my m2e installation
>>> to
>>>         1.4.0.20130525-03100 (from 1.4.0.20130521-1115). At that time, I
>>>         also
>>>         received an upgrade for Eclipse itself, going to version
>>>         2.0.0.20130528-1545 (from 2.0.0.20130509-1008).
>>>
>>>         When I opened up my workspace, m2e complained that my existing
>>>         projects
>>>         were no longer up-to-date, and indicated that I should update
>>>         them from
>>>         the pom. When I did so, I got several changes to my settings,
>>>         project,
>>>         and classpath files. These led to new errors reported in the
>>>         Problems
>>>         tab, so I tried reverting the changes. However, after reverting,
>>>         Eclipse
>>>         immediately modified my project file again, adding in a wst
>>> nature:
>>>
>>>
>>>         <nature>org.eclipse.wst.__**common.project.facet.core.__**
>>> nature</nature>
>>>
>>>
>>>
>>>         as well as a new build command:
>>>
>>>              <buildCommand>
>>>
>>>         <name>org.eclipse.wst.common._**_project.facet.core.builder</_**
>>> _name>
>>>
>>>              <arguments>
>>>              </arguments>
>>>              </buildCommand>
>>>
>>>
>>>         I'm not sure if m2e is responsible for this addition, or if this
>>> is
>>>         coming from changes in the Java IDE. Can you possibly shed any
>>>         light?
>>>
>>>
>>>         Thanks so much!
>>>
>>>         John
>>>
>>>
>>>         ______________________________**___________________
>>>         m2e-users mailing list
>>>         m2e-users@eclipse.org <mailto:m2e-users@eclipse.org>
>>>         
>>> https://dev.eclipse.org/__**mailman/listinfo/m2e-users<https://dev.eclipse.org/__mailman/listinfo/m2e-users>
>>>         
>>> <https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>> >
>>>
>>>     ______________________________**___________________
>>>     m2e-users mailing list
>>>     m2e-users@eclipse.org <mailto:m2e-users@eclipse.org>
>>>     
>>> https://dev.eclipse.org/__**mailman/listinfo/m2e-users<https://dev.eclipse.org/__mailman/listinfo/m2e-users>
>>>     
>>> <https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>> >
>>>
>>>
>>>
>>>
>>> --
>>> *John Prestel*
>>>
>>> Software Engineer
>>> Safari Books Online, LLC | 
>>> http://www.safaribooksonline.**com<http://www.safaribooksonline.com>
>>> 33 Farnsworth Street
>>> Boston, MA 02210
>>> 617.235.5806
>>>
>>> /Please update your address book with my new address/:
>>> jpres...@safaribooksonline.com 
>>> <mailto:jprestel@**safaribooksonline.com<jpres...@safaribooksonline.com>
>>> >
>>>
>>>
>>>
>>>
>>> ______________________________**_________________
>>> 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>
>>
>
>
>
> --
> *John Prestel*
>
> Software Engineer
> Safari Books Online, LLC | http://www.safaribooksonline.com
> 33 Farnsworth Street
> Boston, MA 02210
> 617.235.5806
>
> *Please update your address book with my new address*:
> jpres...@safaribooksonline.com
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> 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

Reply via email to