How to make maven search for artifacts in local repository -


i have project worked fine on pc. , i'm trying run on pc. there no acces proxy. , after action says

couldn't transfer artifact. no route host

but have depandencies in local repository, maven doesn't want take there. there way make him take artifacts local repo first?

there must version difference in artifacts have in local repository , ones mentioned in pom.xml error : couldn't transfer artifact. no route host because have'nt added proxy pom. eg :

<proxies>     <!-- proxy      | specification 1 proxy, used in connecting network.      |      -->       <proxy>       <id>optional</id>       <active>true</active>       <protocol>http</protocol>       <username>username</username>       <password>yourpassword</password>       <host>yourhost@host.com</host>       <port>80</port>       <nonproxyhosts>local.net|some.host.com</nonproxyhosts>     </proxy>        </proxies>  

add settings.xml file in conf folder of maven , try again


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -