java - maven unable to authenticate via proxy -


i using maven 3.3.9 build project. running maven via command line. created simple project, while try execute

mvn clean install  

i getting below error

[error] plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or 1 of dep endencies not resolved: failed read artifact descriptor org.apac he.maven.plugins:maven-clean-plugin:jar:2.5: not transfer artifact org.apa che.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven .apache.org/maven2): not authorized proxy , reasonphrase:proxy authentication  required ( isa server requires authorization fulfill request. access  web proxy filter denied.  ). -> [help 1] 

my environment under proxy, using proxy connecting internet. while googling error found need set proxy made necessary changes in settings.xml.

but unable connect repository. here want highlight pc proxy there no username , password required.

setting.xml <proxy>       <id>optional</id>       <active>true</active>       <protocol>http</protocol>       <host>10.44.1.10</host>       <port>8080</port>       <username></username>       <password></password>       <nonproxyhosts>local.net|some.host.com</nonproxyhosts>     </proxy> 

i not able understand why happening, because far know java take default system proxy setting configured in default browser(eg : internet explorer). , mentioned valid proxy , port, except maven other applications working fine.from eclipse can connect marketplace , can install software. please let me understand issue.

edit: refer similar question asked here

here

and tried solutions, didn't worked on case.

thanks in advance.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -