Hello, I've build an application which depends on a library.
The tests in the application also depends on the test which are in the
library (they are implementation of abstract tests)
when I run mvn test I get an error message saying that nunit-console failed:
[INFO] ** (/usr/lib/nunit/nunit-console.exe:3579): WARNING **: The
following assembly referenced from
could not be loaded:
the test compiles, so the pom.xml is correct for compilation,
the problem is that nunit-console needs the mylib-1.0-test.dll in the path:
in fact in the directory test-assemblies there is only mylib-1.0.dll
how can I format pom.xml to copy the test assemblies of the mylib
dependency in test-assemblies?
I have this:
Right... this seems a deciciency in the nmaven packaging plugins that
exist today. However, I believe they do create the test DLL, so you
could use the build helper plugin in the original project to attach
that to the build and have it installed for the other.