Reputation: 10266
I have an FTP where I would like to have my personal Maven repository, I would like my artifacts to be installed to that remote folder, how can achieve that?
Thanks, Adam.
Upvotes: 4
Views: 2663
Reputation: 8282
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>
Upvotes: 3