Before my pet projects become serious enough to deserve real version control (and its headaches) I like to just email myself the sources after I worked for a while. How can this be done easily with maven?
Before my pet projects become serious enough to deserve real version control (and its
Share
You would use an assembly using the
srcdescriptor to accomplish the wrapping up of all the sources and the pom.xml into a nice zip that you could then manually email to yourself. If you wanted to get really fancy, you could use the Maven Ant plugin to call the task that can send emails.The core command you would run from the command line would be:
The assembly plugin usage page gives some great detail on using this plugin to aggregate everything into a bundle (zip).