I have project on eclipse and it use maven. The project has external jar, that not maintenance in maven repository. So, the jar file will be added throught Java Build Path in eclipse.
When I run junit, the test run successfully. But when I run the test with maven-test, it throw java.lang.NoClassDefFoundError. The error show me, that class in external jar cannot be found. My investigation is, that the maven test cannot read the external jar file.
This error can be solved, when I upload the jar file into maven repository.
The configuration in the Deploment Assembly is not working. The error is still show up.
Does anyone know, how to solve the problem, without upload the external jar file into maven repository?
Thank you