Externalising SCM credentials with Maven

For some SCM providers you can specify your credentials in the <servers> section of settings.xml. As an <id> use the domain name of your repository. This works for me with mercurial. SubVersion works too. For example, given my pom.xml contains: <scm> <connection>scm:hg:http://jukito.googlecode.com/hg/</connection> <developerConnection>scm:hg:https://jukito.googlecode.com/hg/</developerConnection> <url>http://code.google.com/p/jukito/source/browse/</url> </scm> Then I can specify my credentials in settings.xml as such: … Read more

What is the usage of Maven pom.xml – element inside of when you are using git

The <tag> element is used by release:prepare to specify the tag that was created for this release (implemented as MRELEASE-723). Outside of a release it is essentially a placeholder, and HEAD is an appropriate value. When we were using subversion, maven never used <tag></tag> As MRELEASE-723 explains: when I invoke release:prepare with a URL like: … Read more

scm connection vs developerConnection

As mentioned in POM Reference: SCM The connection requires read access for Maven to be able to find the source code (for example, an update), developerConnection requires a connection that will give write access. It is an information for our project where the other, including with another maven plugin to re-use this information further. In … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)