NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to specify username password for maven repository in Repo Browser

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
vra5107



Joined: 15 Mar 2011
Posts: 49

PostPosted: Tue Apr 26, 2011 8:48 pm    Post subject: How to specify username password for maven repository in Repo Browser Reply with quote

Hi

Our company repo browser has secure login configured. How do I configure this in the Maven Repo Browser. I can specify id, name and URL for the repo. But I am unable find a location where I can configure the username and password.

Venkat
Back to top
vra5107



Joined: 15 Mar 2011
Posts: 49

PostPosted: Tue Apr 26, 2011 9:37 pm    Post subject: Reply with quote

Here is the stack trace from the .netbeans/7.0/var/log/messages.log file.

Code:
INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: could not index aaa
java.io.IOException: Authorization exception retrieving nexus-maven-repository-index.properties
   at org.apache.maven.index.updater.WagonHelper$WagonFetcher.retrieve(WagonHelper.java:189)
   at org.apache.maven.index.updater.WagonHelper$WagonFetcher.retrieve(WagonHelper.java:165)
   at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:458)
   at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:75)
   at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:588)
   at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:812)
   at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:156)
[catch] at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexLoadedRepo(NexusRepositoryIndexerImpl.java:526)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$700(NexusRepositoryIndexerImpl.java:165)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$2.run(NexusRepositoryIndexerImpl.java:614)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl$2.run(NexusRepositoryIndexerImpl.java:605)
   at org.openide.util.Mutex.writeAccess(Mutex.java:436)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.indexRepo(NexusRepositoryIndexerImpl.java:605)
   at org.netbeans.modules.maven.indexer.api.RepositoryIndexer.indexRepo(RepositoryIndexer.java:62)
   at org.netbeans.modules.maven.repository.RepositoryNode$RefreshIndexAction$1.run(RepositoryNode.java:193)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
[/code]
Back to top
reister



Joined: 16 Nov 2011
Posts: 1

PostPosted: Wed Nov 16, 2011 9:52 pm    Post subject: Wondering the same thing... Reply with quote

I'm new to maven and I have the same situation. Any suggestions for how to accomplish this?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo