[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dali] Re: JPA dali, moving the persistence.xml

Jochen Buchholz wrote:
> This does not help for me. I use a Galileo installation, also with maven2
> plugin. I follow your instructions, but the "JPA Content" Descriptor is
> empty and after selecting an Entity Class the "JPA Details" view
> shows: "Details are not available for current selection".
> 
> Did you use the stable Maven Plugin or the development release?

There are a couple of tricks to get Dali working with Maven. The first
is that it needs to be a WTP project (actually faceted). For this you
need to set <wtpversion> [1]. Then you need to add the jpt.jpa facet.
You can do this manually or with <additionalProjectFacets>. In the later
case you'll probably also need some configuration files, see
<additionalConfig>.

 [1] http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html

Cheers
Philippe