Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Glassfish embedded + maven cobertura plugin

 
Joao Longo
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello people!

I've used embedded glassfish in the following way:


The problem is that embedded glassfish uses the classes in "target/classes" and maven cobertura uses "target/generated-classes/cobertura". Then, the first time the tests run it's ok, but in the second time, when cobertura run, I receive a java.lang.RuntimeException: javax.naming.NamingException (probably because cobertura is working on "target/generated-classes/cobertura" while glassfish is working on "target/classes").

Any ideas to solve this problem???
 
Oscar Gm
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same problem... Did you find a solution?
 
Joao Longo
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oscar Gm wrote:I have the same problem... Did you find a solution?

Yes, I remove Cobertura plugin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic