This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Unable to obtain index from central (mirror) - IOE: Authorization exception retrieving nexus-maven-repository-index.properties | ||
---|---|---|---|
Product: | projects | Reporter: | Tomas Danek <musilt2> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | 69MarcoCrotti, anebuzelsky, asenk, dbeer, masaki, mjanicek, mmirilovic, pgebauer, ravshansbox |
Priority: | P1 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
org-netbeans-modules-maven-embedder.nbm
org-netbeans-modules-maven-indexer.nbm |
Description
Tomas Danek
2012-07-10 09:53:19 UTC
I can access http://repo.maven.apache.org/maven2/.index/ through the browser just fine. I'll try at home without the oracle proxy business works in 7.1 - interesting. same issue happens for me on Windows and Linux in my environment. https://hg.netbeans.org/core-main/rev/1aa01e27dd62 https://hg.netbeans.org/core-main/rev/851eee396848 need to set a User-Agent header entry to the http request. please verify verified in custom core-main build Product Version: NetBeans IDE Dev (Build 20120709-9b1112a899da) Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b08 System: Mac OS X version 10.7.4 running on x86_64; UTF-8; en_US (nb) User directory: /tmp/mvnBugFixed Cache directory: /tmp/mvnBugFixed/var/cache The patch seems fine to me Pending verification in 7.2 http://hg.netbeans.org/releases/rev/26fca0756cca in release72 branch. Integrated into 'releases', will be available in build *201207101812* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/26fca0756cca User: Milos Kleint <mkleint@netbeans.org> Log: #215343 set the User-Agent header entry for requests retrieving the maven indexes Integrated into 'main-golden', will be available in build *201207110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1aa01e27dd62 User: Milos Kleint <mkleint@netbeans.org> Log: #215343 set User-Agent header to requests retrieving the index works as a charm now. Product Version: NetBeans IDE 7.2 (Build 201207101812) Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b08 System: Mac OS X version 10.7.4 running on x86_64; US-ASCII; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/7.2 Cache directory: /Users/tomas/Library/Caches/NetBeans/7.2 I'm also getting this exact same issue in 7.1.2, reverting back to 7.1 fixes the issue for me: Product Version = NetBeans IDE 7.1.2 (Build 201204101705) (#0d549f9bc1e4) Operating System = Linux version 3.4.4-2-ARCH running on amd64 Java; VM; Vendor = 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_03-b04 Java Home = /opt/jdk1.7.0_03/jre System Locale; Encoding = en_GB (nb); UTF-8 Home Directory = /home/chris Current Directory = /home/chris/Documents User Directory = /home/chris/.netbeans/7.1.2 Cache Directory = /home/chris/.netbeans/7.1.2/var/cache ChrisHall: unfortunately not much we can do for 7.1.2 (unless QA plans another patch release) (In reply to comment #14) > ChrisHall: unfortunately not much we can do for 7.1.2 (unless QA plans another > patch release) Nom we do not plan any new patch release for 7.1.x (In reply to comment #15) > (In reply to comment #14) > > ChrisHall: unfortunately not much we can do for 7.1.2 (unless QA plans another > > patch release) > > Nom we do not plan any new patch release for 7.1.x Not a full patch release, but we should release a single module update via autoupdate fixing this problem for 7.1.x. Surprising is that 7.1 works and 7.1.2 is affected by this problem. Milos, please prepare a patch for release71_fixes branch. PetrG, please build the two module NBM's from release71_fixes branch and attach the NBMs to this issue for testing. Thanks. Tomas, as soon as you are back from vacation, please test the NBMs with 7.1.x. After we get GO from you, we will release them on 7.1.x update center. Integrated into 'releases', will be available in build *201207201426* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/c188636bb84a User: Milos Kleint <mkleint@netbeans.org> Log: #215343 set the User-Agent header entry for requests retrieving the maven indexes Created attachment 122232 [details]
org-netbeans-modules-maven-embedder.nbm
Created attachment 122233 [details]
org-netbeans-modules-maven-indexer.nbm
*** Bug 215849 has been marked as a duplicate of this bug. *** I was able to reproduce with 7.1.2 and was not able to reproduce after applying two attached patched modules -> Backport fix is ok from my point of view, we can proceed to stage these modules to testing. *** Bug 215776 has been marked as a duplicate of this bug. *** *** Bug 215778 has been marked as a duplicate of this bug. *** NBMs are at staging now: http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1.2/uc/final/distribution/catalog_stage.xml http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1.2/uc/final/distribution/catalog_stage.xml.gz Adam, please verify the backports in NB 7.1.2 (use update centers from previous comment). Thanks in advance. Verified I try 7.1.2 with updated modules from update center and i didn't saw this exception. PetrG, please push the module updates to live UC. Thanks. Since versions 7.1, 7.1.1 and 7.1.2 share the same AUC Distribution, I have updated all. Thanks, Petr. This Maven update is now available for 7.1.2, 7.1.1 and 7.1. How do i get this update? (What to do with abovw attached files?) I have NetBeans IDE 7.2 (Build 201207171143) and can not connect to remote maven repositories through proxy. This works flawless with exact same settings in Netbeans 7.0.2 (In reply to comment #32) > How do i get this update? (What to do with abovw attached files?) I have > NetBeans IDE 7.2 (Build 201207171143) and can not connect to remote maven > repositories through proxy. This works flawless with exact same settings in > Netbeans 7.0.2 The problem described here is fixed in 7.2. I suggest you file a separate issue or check issue 219162 in case your problem is duplicate. |