Is there any way to specify the local repo to use from the command line? I
was not able to figure that out either but if it's possible to do that would
represent a perfect solution.

On Wed, Mar 18, 2009 at 1:00 PM, Wayne Fay <wayne...@gmail.com> wrote:

> > If there's no maven solution here, I will see if I can get an environment
> > variable set up as a solution. It would still be nice to able to have a
> > relative path in the settings.xml file.
>
> By definition, the settings.xml file is NOT for project-specific
> stuff. Therefore the very notion of "relative path" is invalid. I
> don't see this being changed or "fixed" any time soon, and don't in
> fact consider it a bug.
>
> The easiest thing would probably be to teach your users how to use
> "subst" in DOS, or include a "setup.bat" file in your project archive
> that runs subst and creates a virtual drive say M: which always points
> to the "latest" repo which is inside the latest project you've sent
> them, and then point settings.xml at the new M drive.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to