开发者

Install artifact to a specific remote Maven repositories

I have an FTP where I would like to have my personal Maven repository, I would like my artifa开发者_Go百科cts to be installed to that remote folder, how can achieve that?

Thanks, Adam.


Use altDeploymentRepository configuration property of maven-deploy-plugin (see here).

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-deploy-plugin</artifactId>
  <version>2.5</version>
  <configuration>
    <altDeploymentRepository>your-repository-url</altDeploymentRepository>
  </configuration>
</plugin>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜