You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Tucker <ma...@cjtucker.com> on 2007/04/06 23:14:30 UTC
MNG-2650 (classifiers), clover, and ejb-client
Hi all,
I'm hitting issues related to MNG-2569
(http://jira.codehaus.org/browse/MNG-2596) when using the clover plugin to
instrument an EJB project. The EJB generates both the full EJB and a client
EJB, which uses the -client classifier to distinguish itself from the main
artifact. Unfortunately, when clover runs it overwrites the
non-instrumented -client jar with the instrumented version, which is clearly
undesirable.
Is there currently a workaround to this problem? I can always turn clover
off for the affected project, but I'd really like to have coverage metrics
over all of my projects, not just the ones that don't use a classifier.
I've attached a simple project that will show the problem. Untar it and run
"mvn site" and you'll note a line like:
[INFO] Installing
/Users/chris/Documents/dev/MNG2569/target/clover/MNG-2569-1.0-SNAPSHOT-clover-client.jar
to
/Users/chris/.m2/repository/test/MNG-2569/1.0-SNAPSHOT/MNG-2569-1.0-SNAPSHOT-client.jar
You'll probably need to fix the licenseLocation in the pom to point to a
valid license (or put a valid license in /tmp/clover.license).
Any comments or suggestions much appreciated!
Regards,
Chris Tucker
Tarball of project, 763 bytes (it's small):
http://www.nabble.com/file/7732/MNG2569.tgz MNG2569.tgz
--
View this message in context: http://www.nabble.com/MNG-2650-%28classifiers%29%2C-clover%2C-and-ejb-client-tf3538761s177.html#a9878362
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org