Page 1 of 1

Need Help: Maven Install Failed

Posted: Sat Nov 17, 2012 12:09 am
by sikandul
[INFO]
[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ admin ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce ......................................... SUCCESS [1.535s]
[INFO] core .............................................. SUCCESS [10.602s]
[INFO] admin ............................................. FAILURE [5.445s]
[INFO] site .............................................. SKIPPED
[INFO] combined .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.539s
[INFO] Finished at: Fri Nov 16 22:53:29 CST 2012
[INFO] Final Memory: 14M/93M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default) on project admin: GWT Module org.broadleafcommerce.openadmin.userModule not found in project sources or resources. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/disp ... nException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :admin

Re: Need Help: Maven Install Failed

Posted: Sat Nov 17, 2012 2:42 am
by sikandul
Finally i was able to get rid of this error after changing my local repository path and settings.xml repositories.


[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce ......................................... SUCCESS [1.155s]
[INFO] core .............................................. SUCCESS [9.910s]
[INFO] admin ............................................. SUCCESS [4:54.952s]
[INFO] site .............................................. SUCCESS [18.463s]
[INFO] combined .......................................... SUCCESS [1:07.155s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:32.027s
[INFO] Finished at: Sat Nov 17 01:36:10 CST 2012
[INFO] Final Memory: 16M/85M
[INFO] ------------------------------------------------------------------------

Re: Need Help: Maven Install Failed

Posted: Sun Nov 18, 2012 3:25 am
by sikandul
After resolving all error when i run jetty demo i got error '“JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)”
posting solution here if in case some one has same error.

I have replaced port 8000 with 8001 as shown below.

<jvmarg value="-Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n" />


Finally i was able to run whole application resolving all issues.

Another error i got while running application is my repositories mentioned in settings.xml are not recognized for some reason from maven home config settings.xml. i have resolved copying it to .m2 directory in user home (ex: C:\Users\siva\.m2\settings.xml)

Thanks,
Siva