openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject test warning: The persistence unit "test" was found multiple times
Date Fri, 31 Dec 2010 12:00:39 GMT
Hi!

I always get the following warning when running our build:

0  test  WARN   [main] openjpa.Runtime - The persistence unit "test" was found multiple times
in the following resources "[file:/home/msx/develop/java/apache/openjpa/trunk/openjpa-persistence-locking/target/test-classes/META-INF/persistence.xml,
jar:file:/home/msx/develop/java/apache/openjpa/trunk/openjpa-persistence-jdbc/target/openjpa-persistence-jdbc-2.2.0-SNAPSHOT-tests.jar!/META-INF/persistence.xml]",
but persistence unit names should be unique. The first persistence unit matching the provided
name in "file:/home/msx/develop/java/apache/openjpa/trunk/openjpa-persistence-locking/target/test-classes/META-INF/persistence.xml"
is being used.


Will investigate after the build is done - this mail is kind of a self-reminder ;)

LieGrue,
strub


      

Mime
View raw message