Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] On the trail of my mapping development woes

org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.instantiateProjectConfigurators(MavenProject,
LifecycleMappingResult, Map<MojoExecutionKey,
List<IPluginExecutionMetadata>>)

This function finds a mapping for the plugin, but the
executionMetadatas is empty.

The lifecycle-mapping-metadata.xml is :

<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
	<pluginExecutions>
		<pluginExecution>
			<pluginExecutionFilter>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<versionRange>[2.6,)</versionRange>
				<goals>
					<goal>checkstyle</goal>
				</goals>
			</pluginExecutionFilter>
			<action>
				<configurator>
					<id>com.basistech.m2e.code.quality.checkstyleConfigurator</id>
				</configurator>
			</action>
		</pluginExecution>
		<!-- add in the other checkstyle plugin goal? -->
	</pluginExecutions>
</lifecycleMappingMetadata>


Back to the top