title: How to use maven project as backend?
body: <p>I know this is basic stuff, but I couldn't figure it out with Google so here I am. I have a backend that allows for the use of web sockets on my website using jetty/java. When I want the backend to work, I have to cd into the project's directory and then run the command 'mvn jetty:run.' Before that, I have to add maven's bin file to the PATH variable. This is all done on an AWS instance. So what I'm wondering is, how do I have the maven package run on startup of the server (after running mvn package of course). Is there something I need to add to init.d? I'm really not sure.</p>