Maven: What is the <url> element in the <scm> config used for?
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>
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow