您的位置:首页 > 大数据

大数据平台搭建之deploy components to nexus

2015-06-01 19:15 351 查看
Add following configuration in mvn setting.xml:

<server>

<id>bigDataInfraDeploymentRepo</id>

<username>admin</username>

<password>admin123</password>

</server>

<profile>

<id>bigdatainfra-default-profile</id>

<activation>

<activeByDefault>true</activeByDefault>

</activation>

<properties>

<bigdatainfra.opensource.maven.release.repo>http://hostname:8081/nexus/content/repositories/BigDataInfra_Testing/</bigdatainfra.opensource.maven.release.repo>

</properties>
</profile>

Update following configuration in each project pom.xml:

<distributionManagement>

<repository>

<id>bigDataInfraDeploymentRepo</id>

<name>BigDataInfra_Testing</name>

<url>$

{bigdatainfra.opensource.maven.release.repo}
</url>

</repository>

</distributionManagement>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息