Good point. You can of course deploy the artifact from a piece of
Java code using the Activiti RepositoryService.
That gives you the flexibility to deploy the BAR in your preferred way.
So yes you can do it via an automated build, but you would need to write a bit of code for that as well.
Best regards,
Tijs