users@glassfish.java.net

Re: [Glassfish 3] Deployment fails on a NullPointerException.

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Apr 2010 08:06:34 PDT

> I did mvn install from ear directory

Please do "mvn install" from the top-level directory, NOT the ear directory.

Reason: the ear module should be build last!

$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] WS_Simple_EAR_Java_EE_6_App Top Level POM
[INFO] WS_Simple_EAR_Java_EE_6_App EJB
[INFO] WS_Simple_EAR_Java_EE_6_App appclient
[INFO] WS_Simple_EAR_Java_EE_6_App EAR
[Message sent by forum member 'wschwendt']

http://forums.java.net/jive/thread.jspa?messageID=395945