maven - 将 Artifact 安装到特定的远程 Maven 存储库

我有一个 FTP,我想在其中拥有我的个人 Maven 存储库,我想将我的 Artifact 安装到该远程文件夹中,如何实现?

谢谢,
亚当。

最佳答案

使用 maven-deploy-plugin 的 altDeploymentRepository 配置属性(参见 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>

https://stackoverflow.com/questions/5778281/

相关文章:

xpages - 适用于 Domino Designer V10 的 Openntf Domino

docker - 使用 Dockerfile 中的 COPY 在目标目录中复制具有不同名称的文件

xcode - 如何解决错误 'app' 的配置设置冲突。 "app"已自动签名,

amazon-web-services - AWS Api Gateway作为HTTP代理正在破坏二

amazon-web-services - AWS EKS 添加受限于命名空间的用户

html - ng服务一次时如何防止自动重新加载页面?

SQL Server - 检查给定的日期+时间是否在两个日期时间变量之间的确切日期+时间

audio - 在网络服务器上播放 Apple 的 .caf 音频文件?

java-8 - 坚持使用 Java 8 流

amazon-web-services - 提供的证书不是有效的自签名证书。请提供有效的自签名证书或