Ben,
I can only suggest to open JIRA issue and provide complete Eclipse
project that will allow to reproduce this issue.
regards,
Eugene
Ben Tatham wrote:
Unfortunately, neither hint helped. Does anyone know if
Reason: Unable to parse the created DOM for plugin
is caused by M2Eclipse parser, or regular Maven pom parsing? I can't
figure out why M2Eclipse would be different than the command line.
-Ben
Chris Hilton wrote:
Don't know if it will work, but this might help narrow down the problem.
Try:
1. Putting the <artifactItem> sub-elements on a single line, i.e.
<groupId>${parent-war-groupId}</groupId>.
2. Replace the properties in those elements with explicit values.
Chris
-----Original Message-----
From: Ben Tatham [mailto:[EMAIL PROTECTED] Sent: Monday, 22
January, 2007 09:22
To: [email protected]
Subject: [m2eclipse-user] Unable to parse the created DOM for plugin
configuration
Does anyone know if there is error is my configuration of the
plugin, or if it is M2Eclipse related? Everything runs fine from
the command line, but fails in Eclipse (External Tools: mvn
install). I just upgraded to 0.0.10 from 0.0.9 (note that I never
had maven runs working at all in
0.0.9 because of proxy issues, but that seems to be fixed -- great!)
Has anyone seen this error for any other plugins?
Diagnosis: Error configuring:
org.codehaus.mojo:dependency-maven-plugin. Reason: Unable to parse
the created DOM for plugin configuration FATAL ERROR: Error
executing Maven for a project
Here is the plugin block from my pom.xml:
<verbatim>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dependency-maven-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<id>copy</id>
<phase>initialize</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>
${parent-war-groupId}
</groupId>
<artifactId>
${parent-war-artifactId}
</artifactId>
<version>
${parent-war-version}
</version>
<type>war</type>
<!-- default: unpacks to
"target/dependency" -->
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</verbatim>
Thanks,
Ben
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email