This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven question: test-ear or test-war

Yan Zhou
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

When to use Maven's test-ear or test-war?

Say, I want to test local interfaces of EJBs, I build an ear file with cactifyear, my test classes are in the cactified war file. It sounds like I need to run test-war, but in fact, it is test-ear that worked for me.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic