Question

When configuring the <scm> element in a pom.xml, what is the <url> tag used for?

Example from http://maven.apache.org/scm/plugins/usage.html:

<scm>
    <connection>scm:svn:http://somerepository.com/svn_repo/trunk</connection>
    <developerConnection>scm:svn:https://somerepository.com/svn_repo/trunk</developerConnection>
    <url>http://somerepository.com/view.cvs</url>
</scm>
Était-ce utile?

La solution

If you had set up viewCV or some other tool which gives you access to your code via a web web browser then you'd put the URL in here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top