changing location of DEFAULT Local Repo

View: New views
4 Messages — Rating Filter:   Alert me  

changing location of DEFAULT Local Repo

by Marc Lustig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there any chance to modify the location of the DEFAULT Local Repo?
Or is it statically derived from $user/.m2/repository?

We urgently need to modify it, because we have 8 continuum-instances running in a single tomcat-container..

Re: changing location of DEFAULT Local Repo

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Nov 28, 2008 at 8:49 AM, Marc Lustig <ml@...> wrote:

> Is there any chance to modify the location of the DEFAULT Local Repo?
> Or is it statically derived from $user/.m2/repository?
>
> We urgently need to modify it, because we have 8 continuum-instances running
> in a single tomcat-container..

The default local repo can't be edited, but you can specify a
different local repo per project group.  (Use the 'Local Repositories'
button at the left to define new ones, then click 'Edit' on the
Project Group Summary tab to change it.)  Does that help?

--
Wendy

Re: changing location of DEFAULT Local Repo

by Marc Lustig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I knew already about the new feature to specify the repo per-group.
The fallback of this solution is that the admin needs to prevent that any user is choosing the DEFAULT local repo. It can be done by restricting the rights, but better would be to be to change the path for the default repo.

Wendy Smoak-3 wrote:
On Fri, Nov 28, 2008 at 8:49 AM, Marc Lustig <ml@marclustig.com> wrote:

> Is there any chance to modify the location of the DEFAULT Local Repo?
> Or is it statically derived from $user/.m2/repository?
>
> We urgently need to modify it, because we have 8 continuum-instances running
> in a single tomcat-container..

The default local repo can't be edited, but you can specify a
different local repo per project group.  (Use the 'Local Repositories'
button at the left to define new ones, then click 'Edit' on the
Project Group Summary tab to change it.)  Does that help?

--
Wendy

Re: changing location of DEFAULT Local Repo

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Depending on how important this is, you might check to see if it is
stored in the database, and modify it directly.  And of course, add a
feature request to JIRA, but that will take longer. :) -Wendy

On Fri, Nov 28, 2008 at 9:41 AM, Marc Lustig <ml@...> wrote:

>
> I knew already about the new feature to specify the repo per-group.
> The fallback of this solution is that the admin needs to prevent that any
> user is choosing the DEFAULT local repo. It can be done by restricting the
> rights, but better would be to be to change the path for the default repo.
>
>
> Wendy Smoak-3 wrote:
>>
>> On Fri, Nov 28, 2008 at 8:49 AM, Marc Lustig <ml@...> wrote:
>>
>>> Is there any chance to modify the location of the DEFAULT Local Repo?
>>> Or is it statically derived from $user/.m2/repository?
>>>
>>> We urgently need to modify it, because we have 8 continuum-instances
>>> running
>>> in a single tomcat-container..
>>
>> The default local repo can't be edited, but you can specify a
>> different local repo per project group.  (Use the 'Local Repositories'
>> button at the left to define new ones, then click 'Edit' on the
>> Project Group Summary tab to change it.)  Does that help?
>>
>> --
>> Wendy
>>
>>
>
> --
> View this message in context: http://www.nabble.com/changing-location-of-DEFAULT-Local-Repo-tp20736692p20737404.html
> Sent from the Continuum - Users (old) mailing list archive at Nabble.com.
>
>