Вопрос

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>
Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top