Re: Best way to deploy a specific file and declare its dependencies

2017-12-01 Thread Anders Hammar
I would recommend the deploy:deploy-file as it is a common way of doing this. Having to update the pom file manually (the version you're talking about) is a very small job. /Anders On Fri, Dec 1, 2017 at 9:31 AM, Francois MAROT wrote: > Thanks for the reply Olivier, but I don't think I can "att

Re: Best way to deploy a specific file and declare its dependencies

2017-12-01 Thread Francois MAROT
Thanks for the reply Olivier, but I don't think I can "attach" . Let me explain: Basically, I want to deploy someJar.jar and at the same time declare a dependency:someJar.jar --> redist-cpp.zip redist-cpp.zip is already stored in Archiva. someJar.jar is not produced by Maven. If I "attach" s

Re: Best way to deploy a specific file and declare its dependencies

2017-11-30 Thread Olivier Lamy
Hi Why not attaching the produced artifact? See http://www.mojohaus.org/build-helper-maven-plugin/attach-artifact-mojo.html HTH Olivier On 1 December 2017 at 07:49, Francois MAROT wrote: > Hello all, > > I have a need to explain to a third party how to deploy a jar on my > repository (Archiva).

Best way to deploy a specific file and declare its dependencies

2017-11-30 Thread Francois MAROT
Hello all, I have a need to explain to a third party how to deploy a jar on my repository (Archiva). But - this jar is not generated by Maven (it contains DLLs to be loaded through JNA) - I'd like the third party to be able to declare dependencies of this jar (some zip containing some DLLs). So th