maven-scm pull request: SCM-681 : support whitespace for git operation

2013-10-12 Thread jmecosta
Github user jmecosta closed the pull request at: https://github.com/apache/maven-scm/pull/4 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org

Re: Programmatically adding dependencies to a MavenProject

2013-10-12 Thread sizu
Example using sed: sed 's//\r\n\r\n\r\norg.ghost4j<\/groupId>\r\nghost4j<\/artifactId>\r\n0.5.0<\/version>\r\n<\/dependency>\r\n/g' pom.xml > pom2.xml Replaces the dependencies tag with the dependencies tag followed by the new dependency (inserts the new dependency first in the list. Creates a n