Lorenzo Bigagli wrote:
> Dear all,
> 
> our policy requires different artifacts (jars, sources, javadocs, etc.)
> to be deployed to possibly different repos.
> I guess this is possible through deploy:deploy-file, but I would
> actually like to encode such policy in profiles, so that everything is
> more streamlined and easy for the programmers.
> 
> For example, I'd like to have a profile that deploy:
> - the jar to repo A, along with the javadocs
> - the sources to repo B
> 
> Anybody can provide me with an example of how such a profile would look
> like?
> Would such an arrangement be compatible with using the release plugin
> for deployment?


Maven simply isn't designed to work in such a fashion. I can't think of
any POM configuration that will make this work.

Max.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to