By the way have you ever used the webapp version of maven-proxy?

I always get this null pointer exception:

VelocityServlet: Error processing the template

java.lang.NullPointerException
        at 
org.apache.maven.proxy.servlets.MavenProxyServlet.handleRequest(MavenProxyServlet.java:37)
        at 
org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358)
        at 
org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:317)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)



On 9/6/06, Rahul Thakur <[EMAIL PROTECTED]> wrote:

You can also set up a Maven Proxy on your network.

See here: http://maven-proxy.codehaus.org/

HTH,
Rahul


----- Original Message -----
From: "Lakshman Srilakshmanan"
<[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Wednesday, September 06, 2006 11:51 AM
Subject: RE: Why would Maven Not look in local repo?


Hi,

I know the frustration. :) I was there ...

Maven looks for updates "daily" at ibiblio using a reserved repository
id "central". Maven is configured to look at this "daily" for updates.
Hence, even if you have the plugins/jar file in your Local Repo it looks
for new version daily at central and any other repositories you may have
setup.

How to prevent this ? I hear you asking.

There is a <updatePolicy> which must be set to "never" for every
repository including "central". This will cause maven to look at ibiblio
only if the plugin/jar does not exist in your Local Repo.

Thanks
Lakshman


> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 6 September 2006 7:46 AM
> To: [email protected]
> Subject: Why would Maven Not look in local repo?
> Importance: High
>
> It seems that Maven is looking directly into the Ibiblio repo for
items it
> should be finding in the local repo.  They are there right where they
were
> yesterday.  Now the builds are failing because it can't find local
> versions of components when it looks in the central repo.  There's
nothing
> in the history or log that shows it tried and failed to get these
items
> from the local repo!!!
>
> Any ideas; some config issue?
>
>
>
> -----------------------------------------
> This e-mail and any attachments are intended only for the
> individual or company to which it is addressed and may contain
> information which is privileged, confidential and prohibited from
> disclosure or unauthorized use under applicable law.  If you are
> not the intended recipient of this e-mail, you are hereby notified
> that any use, dissemination, or copying of this e-mail or the
> information contained in this e-mail is strictly prohibited by the
> sender.  If you have received this transmission in error, please
> return the material received to the sender and delete all copies
> from your system.


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


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


Reply via email to