Monday, 9 June 2008

Maven error -Proxy setting

Error message from Maven
=======
Build Error

The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
valid version could be found
=======

You should check the proxy server setting.
so Please check it from web browser
From Browser
Tools > Internet option > Connections > setting Lan > copy proxy setting file address
(maybe "http://:8088/samxxxxcs.pac")
paste "http://:8088/samxxxxcs.pac" address into web browser URL

and download pac script file
open it

the end of that script file you will see
Return "PROXY 168.XXX.XX.XXX:8080"
Copy address and port number

open settings.xml from maven install folder > conf > settings.xml
change
==============================

[localRepository]C:\java\maven\.m2\repository[/localRepository]

==================================
[proxy]
[id]optional[/id]
[active]true[/active]
[protocol]http[/protocol]
[host]168.219.61.250[/host]
[port]8080[/port]
[nonProxyHosts]local.net,some.host.com[/nonProxyHosts]
[/proxy]

setting.xml

3 comments:

Anonymous said...

thx for your description ti rtesolve the problem.

lightweight cotton blankets for summer said...

The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
best web development companies in canada ,
web design vancouver ,

Anonymous said...

Full Article continue reading this web Dolabuy Louis Vuitton have a peek here see this here