Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: IDEA-0.1, NB_0.7
-
Fix Version/s: None
-
Component/s: mevenide-idea, mevenide-netbeans
-
Labels:None
-
Environment:behind a corporate firewall that requires authentication
-
Number of attachments :
Description
These changes I've made locally work for me:
// added constructor for HttpRepositoryReader
public HttpRepositoryReader(URI rootUri, String proxyHost, String proxyPort, String proxyUsername, String proxyPassword)
// added static method for RepositoryReaderFactory that uses the new constructor
public static IRepositoryReader createRemoteRepositoryReader(URI uri,
String proxyHost, String proxyPort,
String proxyUsername, String proxyPassword) {
if (uri.toString().startsWith("http://"))
return null;
}
Also for mevenide-idea changed org.mevenide.idea.repository.util.RepositoryUtils.createRepoReaders(final boolean pIncludeLocal, final Module... pModules) to collect proxy properties from the query context and if found, call the added createRemoteRepositoryReader(URI uri, String proxyHost, String proxyPort, String proxyUsername, String proxyPassword) method.
Issue Links
- depends upon
-
MEVENIDE-290
Support username/password for proxies
-
- is depended upon by
-
MEVENIDE-319
Mevenide Eclipse does not respect proxy settings at all
-
Thanks Steve, I'll incorporate this into mevenide-idea 0.2.