maven scm配置git

阅读数:126 评论数:0

跳转到新版页面

分类

应用软件

正文

<scm>
        <tag>v${project.version}</tag>
        <url>https://github.com/mpusher/mpush</url>
        <connection>scm:git:git://github.com/mpusher/mpush.git</connection>
        <developerConnection>scm:git:ssh://github.com/mpusher/mpush.git</developerConnection>
    </scm>

connection是仅供读取的Connection URL,前面必需加上scm:xxx

developerConnection是可以执行checkin的Connection URL

url是浏览器里的地址。




相关推荐

&lt;mirror&gt; &lt;id&gt;alimaven&lt;/id&gt; &lt;name&gt;

Maven中的dependencyManagement元素提供了一种管理依赖版本号的方式。在dependencyManagement元素中声明所依赖的jar包的版本号等信息,那么所有<stron

在pom.xml中使用distributionManagement将项目打包上传到nexus私服(maven的一种远程私有仓库)。 <pre class="language-markup

一、概述 repositories配置jar仓库,pluginRepositories配置插件仓库。 二、通过项目pom.xml配置 <repositories> <repository>

dependencyManagement 只是声明依赖,并不实际引入,只有在子项目中写了该依赖项,并且没有指定具体版本,才会从父项目继承该项。 denpende

一、前置知识 1、settings.xml中的proxy、server、repository、mirror proxy 是服务器不能直接访问外网时需要设置的代理服务。 server 是服务器

在Maven的pom.xml文件中,存在如下两种build &lt;project&gt; &lt;buil

在构建Maven项目的时候,如果没有进行特殊配置,Maven会按照 标准的目录结构查找和处理各种类型文件。 src/main/java和src/test/java <p

每个插件都都有一个&lt;skip&gt;&lt;/skip&gt;属性,maven在调用插件的时候判断这个属性的值是否是true,是true的话就跳过。 <pre class="lan

&lt;plugin&gt; &lt;groupId&gt;org.springframe