I have maven and continuum each installed in their own folders;
continuum is being run as a service.  I do not have a maven settings.xml
file in user-dir.

I set a system property of M2_HOME=c:\path to root maven folder.

I restarted continuum and it still cannot find my local external
repositories.  (Reboot didn't help either)  It does seem to find my
internal snapshots.  It is behaving the same as before.  How can I know
were continuum is looking for repositories?

-dh


-----Original Message-----
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 09, 2006 9:12 PM
To: Maven Users List
Subject: Re: Why can't continuum find my local m2 repositories?

Well depend of where continuum is running. Continuum uses the
$M2_HOME$/conf/settings.xml file (or the user's one if there is one).

On 5/9/06, Dave Hoffer <[EMAIL PROTECTED]> wrote:
>
> When I setup my internal m2 repositories I followed the advice of an
> online m2 review which suggested it is best to have the following
> internal repositories.
>
>
>
> internal
>
> internal_snapshots
>
> external_free
>
> external_non_free
>
>
>
> Not knowing any better, I followed this advice.  For all of our
> developed artifacts we deploy to internal & internal_snapshots as this
> is specified in the distributionManagement section of each artifact's
> pom file.  When we have to deploy external artifacts because they are
> not found on ibibilo I deploy to external_free & external_non_free as
is
> appropriate on the command line.
>
>
>
> I seem to be able to build from the maven command line okay but when I
> build the same project (artifact) in continuum it says it can't find
> artifacts that I put in external_free (probably external_non_free
also).
> Now this sort of makes sense because how is it supposed to know about
> these repositories?  Maven knows because I have them specified in the
> servers section of its settings.xml file.  Does continuum know about
> this file?  If not, all it would know are the repositories in the
> distributionManagement section of the pom; and these don't know about
> the external repositories.
>
>
>
> What is the right way to do this?  Should I combine internal &
external?
> How does continuum know where to look for repositories besides
ibibilo?
>
>
>
> -dh
>
>
>
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to