Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] m2e 0.13.0 not calling my lifecycle mapping or project configurator

Hi Guys

Trying to upgrade my m2eclipse extension plugin,
m2eclipse-android-integration, to the new m2e 0.13.0 plugin. Looks
really good so far, nice work!

However, when switching to the new org.eclipse.m2e.* extension points,
my lifecycle mapping and project configurators are no longer being
called in my AbstractMavenProjectTestCase sub-class.

My plugin.xml is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
    <extension point="org.eclipse.m2e.core.lifecycleMappings">
       <lifecycleMapping

class="com.googlecode.eclipse.m2e.android.AndroidDevelopmentToolsLifecycleMapping"
             id="com.googlecode.eclipse.m2e.android.lifecycleMapping"
             name="Android Development Tools Lifecycle Mapping">
       </lifecycleMapping>
    </extension>
    <extension
          point="org.eclipse.m2e.core.projectConfigurators">
       <configurator

class="com.googlecode.eclipse.m2e.android.AndroidDevelopmentToolsProjectConfigurator"

id="com.googlecode.eclipse.m2e.android.androidDevelopmentToolsProjectConfigurator"
             name="Android Development Tools Project Configurator"
             secondaryTo="org.eclipse.m2e.jdt.javaConfigurator">
       </configurator>
    </extension>
</plugin>

Is there something I'm doing wrong? Do I need both a configurator AND a
lifecycle mapping?

Please advise...

-- 
Ricardo Gladwell <ricardo.gladwell@xxxxxxxxx>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axonrg@xxxxxxxxx



Back to the top