I am setting up an apache archiva instance to server as our development team's local repository. I'd like to initially seed it with the artifacts in my local .m2 repository. However, as far as I can tell, the depoly plugin and the repository plugin work only with individual projects. I have also configured my local settings.xml file to deploy artifacts to archiva when built with maven, as shown in the archiva documentatation. Also, I'm aware that it's possible to upload artifacts via archiva's webUI form. This would still require me to upload jars individually. Is there a way to automate this or do some sort of mass upload?

有帮助吗?

解决方案

deploy plugin can do it for you. (use deploy-file goal) See http://maven.apache.org/plugins/maven-deploy-plugin/file-deployment.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top