Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Maven Test Fails with Custom Logger(Testing EclipseLink in Maven)
Maven Test Fails with Custom Logger [message #890737] Fri, 22 June 2012 23:52
Rick O\\\'Shea is currently offline Rick O\\\'SheaFriend
Messages: 1
Registered: May 2012
Junior Member
This may be a maven:surefire issue but under no circumstances will tests succeed with EclipseLink when using a custom logger. Adding a custom logger is simple:

(excuse the x, but you cannot post links until you have 25 messages)


Unfortunately, maven tests will always fail claiming they cannot find the class. The class is part of the library under test, so it's included in the classpath of a test.

Adding the jar as an "additional classpath" entry fails, too:


Finally, even creating a maven repository and including that in your pom.xml fails.


I would really like to have one logger for JPA and the application itself.
Previous Topic:No Persistence provider
Next Topic:[SOLVED] Entity Class identity problem in OSGi after uninstalling/reinstalling persistence bundle
Goto Forum:

Current Time: Wed Mar 21 20:33:50 GMT 2018

Powered by FUDForum. Page generated in 0.01850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software