如果某 POM 指明了 deployment 的 target repository, 我想 deploy 往另一個 repository (比如 download 了 third party 的 source, deploy 往自己的 repository), 可以:
mvn deploy -DaltDeploymentRepository=serverId::default::ftp://host/path
serverId 是在 settings.xml 的 server
ftp 那位置是 protocol, 比如 ftp, scp, file 等.
Showing posts with label maven. Show all posts
Showing posts with label maven. Show all posts
Tuesday, June 24, 2008
Subscribe to:
Posts (Atom)