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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 136
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
 
Similar Threads
Problem in deploying ear file in weblogic 6.1
JAR,EAR,WAR files
ServletContext
Multiple war in an ear file
Problem with contextPath