For those interested, there is an open JIRA at:
http://jira.codehaus.org/browse/MNG-1054 for the EclipsePlugin and
attempting to run the plugin through maven-artifact-ant.
Until then, here is a workaround to use Maven2's POM dependency
management to build the eclipse classpath file - modify for your
environment and enjoy!
=================
<typedef resource="org/apache/maven/artifact/ant/antlib.xml"
uri="urn:maven-artifact-ant">
<classpath>
<!-- bootstrap jar needs to already exist in project/lib -->
<pathelement
location="lib/maven-artifact-ant-2.0-beta-1-dep.jar" />
</classpath>
</typedef>
<artifact:pom id="pom" file="pom.xml" />
<artifact:localRepository id="maven.localRepository" />
<artifact:dependencies pathId="maven.dependency.classpath">
<pom refid="pom"/>
</artifact:dependencies>
<target name="eclipseclasspath">
<pathconvert refid="maven.dependency.classpath"
property="cpath"
pathsep=""/><classpathentry
kind="lib" path=""/>
<echo file=".classpath"><![CDATA[<?xml version="1.0"
encoding="UTF-8"?>
<classpath>
<classpathentry
kind="src" path="src/java"/>
<classpathentry
kind="src" path="src/test"/>
<!-- assume HOMEDIR/.m2/repository already has the
downloaded jars -->
<classpathentry
kind="lib" path="${cpath}"/>
<classpathentry
kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<!-- Eclipse autobuild interferes, so keep eclipse .classpath
output to /bin -->
<classpathentry
kind="output" path="bin"/>
</classpath>
]]>
</echo>
</target>
=================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]