Which section of maven-proxy.properties is relevant to a firewall. Is it the
proxies section. I don;t  see any documentation for it. Thanks for your
help. Here is my maven-proxy.properties...

 repo.local.store=./target/repo

#The port to listen on - not used if loaded as a webapp
port=9999

#This is the base area that all files are loaded from. While it is possible
to leave this blank, this behaviour
#is deprecated and will be disabled in version 2.0.  There are too many
namespace conflicts caused by not using
#a prefix.
#The repository will be shown at http://localhost:9999/repository/
#for the .war loaded into a webapp server, the default prefix is
"repository" (edit the web.xml to change)
# As maven doesn't like a trailing slash, this address shouldn't have one
either.
prefix=repository

#This is the simple date format used to display the last modified date while
browsing the repository.
lastModifiedDateFormat=yyyy/MM/dd HH:mm:ss

################ SNAPSHOT HANDLING
#If you want the proxy to look for newer snapshots, set to true
snapshot.update=true

################ M2 METADATA HANDLING
#If you want the proxy to prevent looking for newer metadata, set to false
(default is true)
metadata.update=true

################ M2 POM HANDLING
#If you want the proxy to look for newer POMs, set to true (default is
false)
pom.update=true

promotion=false
#If true, the repository can be browsed
browsable=true

#If true, the repository can be searched
searchable=true

#Not currently implemented. Will allow webdav access to the repository at
some point.
webdav=true

#Stylesheet - if configured, will override the default stylesheet shipped
with maven-proxy - absolute URLs only
#eg.  /maven-proxy/style.css, http://www.example.com/style.css
stylesheet=/maven-proxy/style.css

#bgColor / bgColorHighlight are replaced in the built in stylesheet to
produce a simple color scheme.
#If a stylesheet is set, these are not used.
bgColor=#14B
bgColorHighlight=#94B

#rowColor / rowColorHighlight are replaced in the built in stylesheet to
produce a simple color scheme.
#If a stylesheet is set, these are not used.
rowColor=#CCF
rowColorHighlight=#DDF


################ PROXIES
#This is just a hack, it should auto discover them
proxy.list=one,two,three
#Unauthenticated proxy
proxy.one.host=proxy1.example.com
proxy.one.port=3128

#Authenticated proxy
proxy.two.host=proxy2.example.org
proxy.two.port=80
proxy.two.username=username2
proxy.two.password=password2

#Authenticated proxy
proxy.three.host=proxy3.example.net
proxy.three.port=3129
proxy.three.username=username3
proxy.three.password=password3


################# REPOSITORIES
#This is not just a hack, it specifies the order repositories should be
checked
#Note that the proxy adds a "/" which is why the urls aren't suffixed with a
"/"
repo.list=local-repo,www-ibiblio-org,dist-codehaus-org,private-example-com

#local-store
# The local store represents a location that local jars you host can be
located.
# This could also be achieved by having a local http repository, but this is
less cumbersome
repo.local-repo.url=file:///./target/repo-local
repo.local-repo.description=Super Secret Custom Repository
#If copy is true, jars are copied from the store to the proxy-repo. Only
configurable for file:/// repos
repo.local-repo.copy=true
#If hardfail is true, any unexpected errors from the repository will cause
#the client download to fail (typically with a 500 error)
repo.local-repo.hardfail=true
#Don't cache a file repository
repo.local-repo.cache.period=0


#www.ibiblio.org
repo.www-ibiblio-org.url=http://repo1.maven.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true

Thanks
Niru





Thorsten Heit-3 wrote:
> 
> Hi,
> 
> 
> It seems that your proxy isn't configured correctly, i.e. it cannot  
> fetch any plugins. Are you behind a  firewall and have to use a  
> proxy? If yes, you have to enter the correct proxy settings in maven- 
> proxy.properties...
> 
> 
> Thorsten
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-proxy-and-error-tf3881964s177.html#a11008214
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to