Re: MavenProxy CGI script

2004-10-26 Thread Ben Walding
too crude -  how does it not meet your requirements?
Anatol Pomozov wrote:
So I decide to use Maven-Proxy tool from codehaus which allows
developers team to use single repository.
But when I have tried to install this application I found that
Maven-Proxy is too crude. So I decided to write simple script on PERL
which emulates MavenProxy. Fortunately we have Apache web server under
Windoze and install CGI script is not a problem. See this script in
attachment.
 

There was no script file attached
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: MavenProxy

2003-09-30 Thread Jason van Zyl
On Tue, 2003-09-30 at 09:41, [EMAIL PROTECTED] wrote:
 Hi,
 
 I've just installed maven proxy and I've got an error on retriving some 
 SNAPSHOP 
 dependencies :
 
 15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
 java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept. 2003 
 13:00:17
 at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)
 
 Any idea ?

I might be able to take a peek next week, but Ben, the author, is on
vacation right now but I'll be seeing him in Amsterdam so I will give
him a little nudge for you :-)

 Thx,
 -emmanuel
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Re: MavenProxy

2003-09-30 Thread emmanuel . boudrant
 On Tue, 2003-09-30 at 09:41, [EMAIL PROTECTED] wrote:
  Hi,
  
  I've just installed maven proxy and I've got an error on retriving some 
  SNAPSHOP 
  dependencies :
  
  15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
  java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept.
 2003 
  13:00:17
  at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)
  
  Any idea ?
 
 I might be able to take a peek next week, but Ben, the author, is on
 vacation right now but I'll be seeing him in Amsterdam so I will give
 him a little nudge for you :-)

BTW, is there any bugtracking systems for this great tool ?
 
 
  Thx,
  -emmanuel
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 -- 
 jvz.
 
 Jason van Zyl
 [EMAIL PROTECTED]
 http://tambora.zenplex.org
 
 In short, man creates for himself a new religion of a rational
 and technical order to justify his work and to be justified in it.
   
   -- Jacques Ellul, The Technological Society
 
 
 -
 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]



Re: MavenProxy

2003-09-30 Thread Jason van Zyl
On Tue, 2003-09-30 at 09:58, [EMAIL PROTECTED] wrote:

 BTW, is there any bugtracking systems for this great tool ?

There is a component called 'maven-proxy' in JIRA where you can raise
issues.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Re: MavenProxy

2003-09-30 Thread Trygve Laugstøl
On Tue, 30 Sep 2003 [EMAIL PROTECTED] wrote:

 Hi,

 I've just installed maven proxy and I've got an error on retriving some
 SNAPSHOP dependencies :

 15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
 java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept. 2003
 13:00:17
 at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)

Do you mind positing the rest of the trace? I've looked at the maven-proxy
for some time now so I know at least some parts of the code rather well.

What did you do to get this exception?


 Any idea ?

 Thx,
 -emmanuel

Trygve

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



Re: MavenProxy

2003-09-30 Thread Paul Libbrecht
Dare I ask what MavenProxy is ?
Google doesn't seem to find anything on this topic.
Is it simply the proxy settings in Maven... or is it a Servlet-based 
maven at work ?

Thanks.

Paul



Jason van Zyl wrote:
On Tue, 2003-09-30 at 09:41, [EMAIL PROTECTED] wrote:

Hi,

I've just installed maven proxy and I've got an error on retriving some 
SNAPSHOP 
dependencies :

15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept. 2003 
13:00:17
   at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)

Any idea ?


I might be able to take a peek next week, but Ben, the author, is on
vacation right now but I'll be seeing him in Amsterdam so I will give
him a little nudge for you :-)


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


Re: MavenProxy

2003-09-30 Thread Jason van Zyl
On Tue, 2003-09-30 at 10:52, Paul Libbrecht wrote:
 Dare I ask what MavenProxy is ?
 Google doesn't seem to find anything on this topic.
 Is it simply the proxy settings in Maven... or is it a Servlet-based 
 maven at work ?

http://cvs.codehaus.org/viewcvs.cgi/maven-proxy/?root=codehaus

 Thanks.
 
 Paul
 
 
 
 Jason van Zyl wrote:
  On Tue, 2003-09-30 at 09:41, [EMAIL PROTECTED] wrote:
  
 Hi,
 
 I've just installed maven proxy and I've got an error on retriving some 
 SNAPSHOP 
 dependencies :
 
 15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
 java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept. 2003 
 13:00:17
 at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)
 
 Any idea ?
  
  
  I might be able to take a peek next week, but Ben, the author, is on
  vacation right now but I'll be seeing him in Amsterdam so I will give
  him a little nudge for you :-)
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Re: MavenProxy

2003-09-30 Thread emmanuel . boudrant

Here my maven out :

T:\eb\maven-proxy\coremaven artifact:load
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Tentative de t¥Èl¥Èchargement de maven-fetch-SNAPSHOT.jar.
BUILD SUCCESSFUL
Total time: 14 seconds
Finished at: Tue Sep 30 16:52:45 CEST 2003

Here my MavenProxy out :

16:52:43.688 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept. 2003 
13:00:17
at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)
at org.mortbay.http.HttpMessage.getDateField(HttpMessage.java:457)
at org.mortbay.jetty.servlet.ServletHttpRequest.getDateHeader
(ServletHttpRequest.java:27
5)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:360)
at org.mortbay.jetty.servlet.ServletHandler.dispatch
(ServletHandler.java:651)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:558)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)



It's only a warning (but why?)



Thx,





Selon Trygve Laugst©ªl [EMAIL PROTECTED]:

 On Tue, 30 Sep 2003 [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I've just installed maven proxy and I've got an error on retriving some
  SNAPSHOP dependencies :
 
  15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
  java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept.
 2003
  13:00:17
  at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)
 
 Do you mind positing the rest of the trace? I've looked at the maven-proxy
 for some time now so I know at least some parts of the code rather well.
 
 What did you do to get this exception?
 
 
  Any idea ?
 
  Thx,
  -emmanuel
 
 Trygve
 
 -
 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]



Re: MavenProxy

2003-09-30 Thread emmanuel . boudrant
Selon Paul Libbrecht [EMAIL PROTECTED]:

 Dare I ask what MavenProxy is ?
 Google doesn't seem to find anything on this topic.
 Is it simply the proxy settings in Maven... or is it a Servlet-based 
 maven at work ?

It's just a great tool, more info on :

http://wiki.codehaus.org/maven/MavenProxy

 Thanks.
 
 Paul
 
 
 
 Jason van Zyl wrote:
  On Tue, 2003-09-30 at 09:41, [EMAIL PROTECTED] wrote:
  
 Hi,
 
 I've just installed maven proxy and I've got an error on retriving some 
 SNAPSHOP 
 dependencies :
 
 15:21:37.878 WARN!! Exception for /maven/jars/maven-fetch-SNAPSHOT.jar
 java.lang.IllegalArgumentException: Cannot convert date: mar., 30 sept.
 2003 
 13:00:17
 at org.mortbay.http.HttpFields.getDateField(HttpFields.java:916)
 
 Any idea ?
  
  
  I might be able to take a peek next week, but Ben, the author, is on
  vacation right now but I'll be seeing him in Amsterdam so I will give
  him a little nudge for you :-)
 
 
 -
 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]



RE: MavenProxy

2003-09-30 Thread Robles, Rogelio

I think it's a prety cool idea! I'm using it.

but also I'd like to have handy an Apache Server httpd.conf file
configuration to publish a repository, can somebody share it with the
mailing list?

Thank you,
Rogelio


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 
 It's just a great tool, more info on :
 
 http://wiki.codehaus.org/maven/MavenProxy
 
  Thanks.
  
  Paul
  
  
  

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



RE: MavenProxy

2003-09-30 Thread Trygve Laugstøl
On Tue, 30 Sep 2003, Robles, Rogelio wrote:


 I think it's a prety cool idea! I'm using it.

 but also I'd like to have handy an Apache Server httpd.conf file
 configuration to publish a repository, can somebody share it with the
 mailing list?


What do you mean? If you want to create a company wide repos:

 * Create a directory in /usr/local/maven-repos/
 * Add a maven-repos group
 * Make the dir group writeable and sticky
 * All that should be able to write in the directory
 * Add distributionDirectory to the project.xml
 * Add Alias /maven-repos/ /usr/local/maven-repos to httpd.conf

Should work :)


 Thank you,
 Rogelio


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 
  It's just a great tool, more info on :
 
  http://wiki.codehaus.org/maven/MavenProxy
 
   Thanks.
  
   Paul
  

Trygvis

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



RE: MavenProxy

2003-09-30 Thread Robles, Rogelio

What this means inside project.xml? Is there a plugin that uses this tag for
what? Which plugin?

* Add distributionDirectory to the project.xml

Thanks,
Rogelio

 -Original Message-
 From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, September 30, 2003 9:42 AM
 To: Maven Users List
 Subject: RE: MavenProxy
 
 
 On Tue, 30 Sep 2003, Robles, Rogelio wrote:
 
 
  I think it's a prety cool idea! I'm using it.
 
  but also I'd like to have handy an Apache Server httpd.conf file
  configuration to publish a repository, can somebody share 
 it with the
  mailing list?
 
 
 What do you mean? If you want to create a company wide repos:
 
  * Create a directory in /usr/local/maven-repos/
  * Add a maven-repos group
  * Make the dir group writeable and sticky
  * All that should be able to write in the directory
  * Add distributionDirectory to the project.xml
  * Add Alias /maven-repos/ /usr/local/maven-repos to httpd.conf
 
 Should work :)
 
 
  Thank you,
  Rogelio
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  
   It's just a great tool, more info on :
  
   http://wiki.codehaus.org/maven/MavenProxy
  
Thanks.
   
Paul
   
 
 Trygvis
 
 -
 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]



RE: MavenProxy

2003-09-30 Thread Trygve Laugstøl
On Tue, 30 Sep 2003, Robles, Rogelio wrote:


 What this means inside project.xml? Is there a plugin that uses this tag for
 what? Which plugin?

Have you tried to read the docs? The distributionDirectory tag is
described in http://maven.apache.org/reference/project-descriptor.html.
Take a look at distributionSite too.

It is used when you are deploying a artifact to the repository.

From the jar:deploy goal:

Deploy a jar to the remote repository. The jar is built using the
java:jar goal

Hope this helps.

Trygvis


 * Add distributionDirectory to the project.xml

 Thanks,
 Rogelio

  -Original Message-
  From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, September 30, 2003 9:42 AM
  To: Maven Users List
  Subject: RE: MavenProxy
 
 
  On Tue, 30 Sep 2003, Robles, Rogelio wrote:
 
  
   I think it's a prety cool idea! I'm using it.
  
   but also I'd like to have handy an Apache Server httpd.conf file
   configuration to publish a repository, can somebody share
  it with the
   mailing list?
  
 
  What do you mean? If you want to create a company wide repos:
 
   * Create a directory in /usr/local/maven-repos/
   * Add a maven-repos group
   * Make the dir group writeable and sticky
   * All that should be able to write in the directory
   * Add distributionDirectory to the project.xml
   * Add Alias /maven-repos/ /usr/local/maven-repos to httpd.conf
 
  Should work :)
 
  
   Thank you,
   Rogelio
  
  
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   
It's just a great tool, more info on :
   
http://wiki.codehaus.org/maven/MavenProxy
   
 Thanks.

 Paul



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



RE: MavenProxy

2003-09-30 Thread Robles, Rogelio

Until today I've been using only jar:install which puts things in the local
repository. I have not installed (or deployed) anything to a remote
repository, which is the next step. 

maven-proxy automatically maintains a read/write repository but with Apache
I want to share a read only official repository.

Thanks for you promptly answer,
Rogelio

 -Original Message-
 From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, September 30, 2003 1:38 PM
 To: Maven Users List
 Subject: RE: MavenProxy
 
 
 On Tue, 30 Sep 2003, Robles, Rogelio wrote:
 
 
  What this means inside project.xml? Is there a plugin that 
 uses this tag for
  what? Which plugin?
 
 Have you tried to read the docs? The distributionDirectory tag is
 described in 
 http://maven.apache.org/reference/project-descriptor.html.
 Take a look at distributionSite too.
 
 It is used when you are deploying a artifact to the repository.
 
 From the jar:deploy goal:
 
 Deploy a jar to the remote repository. The jar is built using the
 java:jar goal
 
 Hope this helps.
 
 Trygvis
 

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



RE: MavenProxy

2003-09-30 Thread Trygve Laugstøl
On Tue, 30 Sep 2003, Robles, Rogelio wrote:


 Until today I've been using only jar:install which puts things in the local
 repository. I have not installed (or deployed) anything to a remote
 repository, which is the next step.

Ok, so now you know what the deploy goals are for :)


 maven-proxy automatically maintains a read/write repository but with Apache
 I want to share a read only official repository.

The proxy is read only as far as I know. It just caches the results.

Anyhow what I guess you want is a companywide repos that every developer
has access to so that they can deploy their artifact there. The proxy
should only proxy the ibiblio and other external repositories outside the
company.


 Thanks for you promptly answer,
 Rogelio

Trygvis

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



RE: MavenProxy

2003-09-30 Thread Robles, Rogelio


 -Original Message-
 
 The proxy is read only as far as I know. It just caches the results.

When it caches the results, artifacts that were not found locally but
downloaded from ibiblio for example, updates its cache (or its local Maven
repository) so the next time will serve a similar request locally, this is
what I mean with maven-proxy maintains a read/write repository

Anyway, this jars proxy plus Maven it's a pretty cool combination! and so
far it's been working :)

Rogelio
 
 Trygvis
 
 -
 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]