0

On my project, i use MVN site tool to generate the project site. Now i see an entry for a Source Repository which is off course blank. How can i configure my pom.xml for this ? Can i use maven to commit directly to git ?

4

1 に答える 1

3

次のように pom でSCM タグを使用する必要があります。

  <scm>
    <developerConnection>scm:git:git@github.com:khmarbaise/sapm.git</developerConnection>
    <connection>scm:git:git://github.com/khmarbaise/sapm.git</connection>
    <url>https://github.com/khmarbaise/sapm</url>
  </scm>
于 2013-03-22T10:26:27.807 に答える