[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Debugging plugin execution errors
|
Hi Alan,
have you checked that the project builds cleanly under command line
maven & embedded maven through Run as ... > maven install to eliminate
"easy" problems?
Do you have "m2e lfl4j over logback logging" feature installed? If you
do, have checked the logs in
.metadata/.plugins/org.eclipse.m2e.logback.configuration directory? You
can also try increasing logging verbosity to DEBUG, using logback
configuration file located in the latter directory.
regards,
Rafał
On Sun 01 Apr 2012 10:31:00 AM CEST, Alan Egerton wrote:
Dear m2e-users,
I am struggling to understand why a plugin is failing to execute. The
error I receive is "Error executing
(org.bsc.maven:maven-processor-plugin:2.0.5:process:process:generate-sources)",
but no further detail is given. How can one debug plugin execution to
discover more about WHY a plugin failed to execute?
I am using m2e 1.1.0 on Eclipse Indigo 3.7.2. The relevant parts of
my pom.xml are given below.
Thank you in advance for your help.
Kind regards,
-- Alan
<project ...>
<build>
<plugins>
<plugin>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<version>2.0.5</version>
<executions>
<execution>
<id>process</id>
<goals>
<goal>process</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.google.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
<version>${gwt.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin</artifactId>
<versionRange>[2.0.5,)</versionRange>
<goals>
<goal>process</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users