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.

Bug 249032 - bit.netbeans.org/nexus returns Return code is: 502 , ReasonPhrase:Bad Gatewa
Summary: bit.netbeans.org/nexus returns Return code is: 502 , ReasonPhrase:Bad Gatewa
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 8.0.2
Hardware: All All
: P1 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 10:50 UTC by hardyheroin
Modified: 2014-12-01 12:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hardyheroin 2014-12-01 10:50:45 UTC
Any new or existing mavenized NetBeans Application fails to build because bit.netbeans.org/nexus returns 502. See also bug #239182 (but I didn't want to hijack that year old bug report).

This should affect a great many people, I wonder why it hasn't been signaled yet. A temporary workaround is to put
<offline>true</offline>
in the settings.xml of the (bundeled) Maven library.

---

Example log:

Could not transfer metadata org.netbeans.bug:mavenproject-sample:1.5.1-SNAPSHOT/maven-metadata.xml from/to netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans/): Failed to transfer file: http://bits.netbeans.org/nexus/content/groups/netbeans/org/netbeans/bug/mavenproject-sample/1.5.1-SNAPSHOT/maven-metadata.xml. Return code is: 502 , ReasonPhrase:Bad Gateway.

------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.004s
Finished at: Mon Dec 01 11:39:08 CET 2014
Final Memory: 13M/609M
------------------------------------------------------------------------
Failed to execute goal on project mavenproject-app: Could not resolve dependencies for project org.netbeans.bug:mavenproject-app:nbm-application:1.5.1-SNAPSHOT: Failed to collect dependencies for [org.netbeans.cluster:platform:pom:RELEASE80 (compile), org.netbeans.bug:mavenproject-branding:jar:1.5.1-SNAPSHOT (compile), org.netbeans.api:org-netbeans-modules-nbjunit:jar:RELEASE80 (test), org.netbeans.bug:mavenproject-sample:jar:1.5.1-SNAPSHOT (compile)]: Failed to read artifact descriptor for org.netbeans.bug:mavenproject-branding:jar:1.5.1-SNAPSHOT: Could not transfer artifact org.netbeans.bug:mavenproject-branding:pom:1.5.1-SNAPSHOT from/to netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans/): Failed to transfer file: http://bits.netbeans.org/nexus/content/groups/netbeans/org/netbeans/bug/mavenproject-branding/1.5.1-SNAPSHOT/mavenproject-branding-1.5.1-SNAPSHOT.pom. Return code is: 502 , ReasonPhrase:Bad Gateway. -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Comment 1 Jan Pirek 2014-12-01 12:12:40 UTC
fixed