how to upload my local repository to archiva

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?

Answers


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


Need Your Help

Rails Forem: permissions for users

ruby-on-rails ruby-on-rails-4 forem

I use Forem in my app. How can I allow non-admin and non-moderator users create topics and reply other users' posts without admin moderation?

Optimize Select Query

sql optimization

I am using SQL 2000, and I am running a simple select statement on a table containing about 30 million rows. The select query looks like: