JPAContainer with Ivy - Problem with dependencies


I´m using Ivy as dependency manager instead of Ivy, since it somehow avoids the company firewall.
So, I added the reference in Ivy.xml to JPAContainer and it downloaded jpacontainer-3.1.1.jar with no problems.

However, when I try to use annotations to define the model package ( such as


) it gives me and error. It looks like it is missing some jars : javax.persistence.*

The import statement do not find these libs.

My questions is: do I need to add the dependency to these libs in Ivy by myself?
(I thought these libs would be resolved automatically by Ivy)

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

The dependency will be resolved (and downloaded) by Ivy if you tell it to do so. I have these lines in my ivy.xml:

<!-- Vaadin JPAContainer add-on -->
<dependency org="com.vaadin.addon" name="jpacontainer" rev="3.1.1" />

<!-- Java Persistence -->
<dependency org="org.eclipse.persistence" name="javax.persistence" rev="2.1.0" />