Remote Repositories Version 3.1

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

Remote Repositories Version 3.1

by Cyrill Rüttimann-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I just tried out the remote repository functionality. Initially, the  
following repositories are displayed:

1) Central Repository
2) Local Repository
3) Netbeans Repositiory

I tried to add the JBoss Repository:

http://repository.jboss.com/maven2/ with the id "jboss". The maven  
plugin tells me:

Repository Id already exists

which is right in perspective that the repository is defined in the  
settings.xml in my user's home m2 directory.

1) Why are not all repositories displayed in netbeans which are  
defined in settings.xml?
2) Does mevenide read settings.xml in my user home?


Regards,

Cyrill

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Remote Repositories Version 3.1

by Milos Kleint-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Cyrill,

On Mon, Apr 28, 2008 at 12:01 PM, Cyrill Rüttimann <ruettimac@...> wrote:

> Hello,
>
>  I just tried out the remote repository functionality. Initially, the
> following repositories are displayed:
>
>  1) Central Repository
>  2) Local Repository
>  3) Netbeans Repositiory
>
>  I tried to add the JBoss Repository:
>
>  http://repository.jboss.com/maven2/ with the id "jboss". The maven plugin
> tells me:
>
>  Repository Id already exists
>
>  which is right in perspective that the repository is defined in the
> settings.xml in my user's home m2 directory.
>
>  1) Why are not all repositories displayed in netbeans which are defined in
> settings.xml?

In the repository browser we only display the repositories that we
know of having either a local path to the repository (local repo case)
or have the url to retrieve the index from.
However for other purposes (like code completion in pom.xml file) we
collect all repositories encountered when loading projects. We
remember those in the same structure as the ones with an index.
The behaviour you are seeing is actually a bug I would say. instead of
showing an error we should fill out the repository url value and save
in the same repository instance.

>  2) Does mevenide read settings.xml in my user home?

not only settings. it's collected from all projects ever encountered.

BTW does the jboss repo have the nexus index stored somewhere? I could
not find it in the http://repository.jboss.com/maven2/.index directory
which is a sort of default location. Without the URL to the remote
index, the remote repository UI will not work anyway.
see for details: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+indexer

I'll check the issue with adding a repo id that exists..

Milos


>
>
>  Regards,
>
>  Cyrill
>
>  ---------------------------------------------------------------------
>  To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Remote Repositories Version 3.1

by Milos Kleint-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've fixed it in the latest daily build.

Milos

On Mon, Apr 28, 2008 at 1:00 PM, Milos Kleint <mkleint@...> wrote:

> Hello Cyrill,
>
>
>  On Mon, Apr 28, 2008 at 12:01 PM, Cyrill Rüttimann <ruettimac@...> wrote:
>  > Hello,
>  >
>  >  I just tried out the remote repository functionality. Initially, the
>  > following repositories are displayed:
>  >
>  >  1) Central Repository
>  >  2) Local Repository
>  >  3) Netbeans Repositiory
>  >
>  >  I tried to add the JBoss Repository:
>  >
>  >  http://repository.jboss.com/maven2/ with the id "jboss". The maven plugin
>  > tells me:
>  >
>  >  Repository Id already exists
>  >
>  >  which is right in perspective that the repository is defined in the
>  > settings.xml in my user's home m2 directory.
>  >
>  >  1) Why are not all repositories displayed in netbeans which are defined in
>  > settings.xml?
>
>  In the repository browser we only display the repositories that we
>  know of having either a local path to the repository (local repo case)
>  or have the url to retrieve the index from.
>  However for other purposes (like code completion in pom.xml file) we
>  collect all repositories encountered when loading projects. We
>  remember those in the same structure as the ones with an index.
>  The behaviour you are seeing is actually a bug I would say. instead of
>  showing an error we should fill out the repository url value and save
>  in the same repository instance.
>
>
>  >  2) Does mevenide read settings.xml in my user home?
>
>  not only settings. it's collected from all projects ever encountered.
>
>  BTW does the jboss repo have the nexus index stored somewhere? I could
>  not find it in the http://repository.jboss.com/maven2/.index directory
>  which is a sort of default location. Without the URL to the remote
>  index, the remote repository UI will not work anyway.
>  see for details: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+indexer
>
>  I'll check the issue with adding a repo id that exists..
>
>  Milos
>
>
>
>
>  >
>  >
>  >  Regards,
>  >
>  >  Cyrill
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe from this list, please visit:
>  >
>  >    http://xircles.codehaus.org/manage_email
>  >
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Remote Repositories Version 3.1

by Cyrill Rüttimann-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Milos,

Works for me with the latest build.

I have contacted the JBoss Guys to add a nexus indexer index. Hope  
they will add it soon as JBoss moves over all projects to maven2.

Regards,

Cyrill


On 28.04.2008, at 13:00, Milos Kleint wrote:

> Hello Cyrill,
>
> On Mon, Apr 28, 2008 at 12:01 PM, Cyrill Rüttimann  
> <ruettimac@...> wrote:
>> Hello,
>>
>> I just tried out the remote repository functionality. Initially, the
>> following repositories are displayed:
>>
>> 1) Central Repository
>> 2) Local Repository
>> 3) Netbeans Repositiory
>>
>> I tried to add the JBoss Repository:
>>
>> http://repository.jboss.com/maven2/ with the id "jboss". The maven  
>> plugin
>> tells me:
>>
>> Repository Id already exists
>>
>> which is right in perspective that the repository is defined in the
>> settings.xml in my user's home m2 directory.
>>
>> 1) Why are not all repositories displayed in netbeans which are  
>> defined in
>> settings.xml?
>
> In the repository browser we only display the repositories that we
> know of having either a local path to the repository (local repo case)
> or have the url to retrieve the index from.
> However for other purposes (like code completion in pom.xml file) we
> collect all repositories encountered when loading projects. We
> remember those in the same structure as the ones with an index.
> The behaviour you are seeing is actually a bug I would say. instead of
> showing an error we should fill out the repository url value and save
> in the same repository instance.
>
>> 2) Does mevenide read settings.xml in my user home?
>
> not only settings. it's collected from all projects ever encountered.
>
> BTW does the jboss repo have the nexus index stored somewhere? I could
> not find it in the http://repository.jboss.com/maven2/.index directory
> which is a sort of default location. Without the URL to the remote
> index, the remote repository UI will not work anyway.
> see for details: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+indexer
>
> I'll check the issue with adding a repo id that exists..
>
> Milos
>
>
>>
>>
>> Regards,
>>
>> Cyrill
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email