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:Problem with select case from Criteria API
Next Topic:The collection of metamodel types is empty.
Goto Forum:

Current Time: Wed Nov 25 23:46:42 GMT 2015

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

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