`
网络生活
  • 浏览: 5570 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

SAKAI需要MAVEN,MAVEN需要Artifactory

阅读更多
单位的局域网不连接互联网,为运行MAVEN,只有研究了MAVEN的伴侣:artifactory。
谈一下感受:
很好用的MAVEN伴侣,下载-》解压-》运行,一气呵成直接在本机建立站点,在对MAVEN的setting.xml略作修改,就OK了。

本机默认网址:http://localhost:8081/artifactory/

管理账号:admin
密码:password

在setting.xml中增加如下代码:
    <repositories>
        <repository>
            <id>artifactory</id>
            <name>local artifactory</name>
            <url>http://localhost:8081/artifactory/repo</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>artifactory</id>
            <name>local artifactory</name>
            <url>http://localhost:8081/artifactory/plugins-releases</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics