Marina Vatkina wrote:
> It was you who told me that if I need just the results of the build, I
> can run 'mvn package' instead of 'mvn install' ;). (maven online docs
> seem to confirm this :)). I didn't plan to use the packages, just
> verify that the pieces are picked up correctly, so it seemed like a
> reasonable thing to do.
>
> I did the experiment and changed 'jts' to depend on a temporary omgapi
> jar that exist only in my local repo. 'mvn package' found the
> dependency without a problem.
>
> In your example artifact b is built with 'mvn install' before trying
> to build 'a' with 'mvn package'
Then do the same for packager. packager builds multiple modules, install
each of them separately and then you can do "mvn package" at the top level.
Thanks,
Sahoo
>