I\'m new to both maven and git and wanted to get some help in setting a project.
Is there a way to define a goal in the pom to push/pull from git during linked to a
Good idea or not, here's how you could do a checkout (pull clone from Github) using Maven. Have your pom.xml look like this:
4.0.0
br.com.javamagazine
engesoft
war
0.0.1-SNAPSHOT
engesoft Maven Webapp
http://maven.apache.org
scm:git:git://github.com/vitorsouza/EngeSoft.git
scm:git:https://vitorsouza@github.com/vitorsouza/EngeSoft.git
https://github.com/vitorsouza/EngeSoft
Then use mvn scm:checkout. When I ran this, it pulled the code to folder target/engesoft. There's probably a way to configure it to place it somewhere else. Check out the following pages: