[SOLVED] ivy.xml contains java.persistence jar

Using vaadin 7.0.2.

How can I remove the java.persistence-2.0.0.jar from the ivy.xml classpath dependency?
How can I addapt the ivy.xml classpath?

The problem is I cannot attach source code to the ivy.xml entries and the Eclipselink-2.4.1 JPA implementation already contains the java persistence jars (v2.0.4) where I can attach the souce code.

SOLVED by using the tag in ivy.xml:

	<exclude name="javax.persistence"/>
</dependencies>

thanks
Henrik

You can use the exclude tag for the dependency.

See also e.g.
this post
for some discussion about various options.