aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven question: test-ear or test-war Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven question: test-ear or test-war" Watch "Maven question: test-ear or test-war" New topic
Author

Maven question: test-ear or test-war

Yan Zhou
Ranch Hand

Joined: Sep 02, 2003
Posts: 137
Hi,

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.

Thanks.
Yan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven question: test-ear or test-war