Packaging embedded jetty + postgres database + java project for ouath login in JAR


  • I have a simple oauth 2.0 login module for Google login using Java and Apache Oltu.
  • I have been using an Embedded jetty as web container
  • The login role permission information is in database PostgreSQL
  • Now, I have to send the module to my colleagues for login testing I have no experience in this, is there a way to package everything I need in one JAR/WAR file so that my colleagues can just run the single JAR file and check the login in his machine ??

My inspiration is this post here, which do handle similar problem. But this is very old and not clear to me what to do exactly. If any body else have faced same situation as me, I request you, could you please guide me on the right path? Thank you for your time.

- - Source
comments powered by Disqus