Re: Maven proxy problem in ubuntu 12.04

2013-02-13 Thread Stephen Connolly
if you are typing an url on central, wget is blocked, so that won't work as
a diagnostic


On 13 February 2013 00:39, Richard Vowles wrote:

> Take one of those URLs and type
>
> wget http://...
>
> See if that works
> On Feb 13, 2013 1:14 PM, "dzungdev"  wrote:
>
> > Dear Hanasaki,
> >
> > I would like to say thanks for your detail explanation.
> >
> > I saw that you put the host is: firewall.domain.com but how I can get
> the
> > information of username/password for it ?
> > Actually I tried to get information of proxy via firefox by go to Edit
> -->
> > Preference --> Advanced --> Network --> Settings but I saw that the
> current
> > option is: use System proxy. Then I tried to check my ubuntu 12.04 to see
> > proxy information but when I go to System setting --> network setting -->
> > Proxy, the use mode is None.
> >
> > Thanks and best regards,
> > Dzung
> >
> >
> >
> > --
> > View this message in context:
> >
> http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>


Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread Manfred Moser
Also check what Maven you are using. The Ubuntu/Debian package of Maven
does some nasty rewriting and has some "interesting" default settings..

If you are using the debian package I would suggest to remove it and
switch to a manual install from the apache download.

manfred
> Take one of those URLs and type
>
> wget http://...
>
> See if that works
> On Feb 13, 2013 1:14 PM, "dzungdev"  wrote:
>
>> Dear Hanasaki,
>>
>> I would like to say thanks for your detail explanation.
>>
>> I saw that you put the host is: firewall.domain.com but how I can get
>> the
>> information of username/password for it ?
>> Actually I tried to get information of proxy via firefox by go to Edit
>> -->
>> Preference --> Advanced --> Network --> Settings but I saw that the
>> current
>> option is: use System proxy. Then I tried to check my ubuntu 12.04 to
>> see
>> proxy information but when I go to System setting --> network setting
>> -->
>> Proxy, the use mode is None.
>>
>> Thanks and best regards,
>> Dzung
>>
>>
>>
>> --
>> View this message in context:
>> http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread Richard Vowles
Take one of those URLs and type

wget http://...

See if that works
On Feb 13, 2013 1:14 PM, "dzungdev"  wrote:

> Dear Hanasaki,
>
> I would like to say thanks for your detail explanation.
>
> I saw that you put the host is: firewall.domain.com but how I can get the
> information of username/password for it ?
> Actually I tried to get information of proxy via firefox by go to Edit -->
> Preference --> Advanced --> Network --> Settings but I saw that the current
> option is: use System proxy. Then I tried to check my ubuntu 12.04 to see
> proxy information but when I go to System setting --> network setting -->
> Proxy, the use mode is None.
>
> Thanks and best regards,
> Dzung
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread hanasaki
"how" is system and environment dependent.
It is probably time for you consult with whomever is responsible for the
setup and administration of your system and/or network.


 Original Message 
Subject: Re: Maven proxy problem in ubuntu 12.04
From: dzungdev
To: users@maven.apache.org
Date: 02/12/2013 06:13 PM

> Dear Hanasaki,
> 
> I would like to say thanks for your detail explanation.
> 
> I saw that you put the host is: firewall.domain.com but how I can get the
> information of username/password for it ?
> Actually I tried to get information of proxy via firefox by go to Edit -->
> Preference --> Advanced --> Network --> Settings but I saw that the current
> option is: use System proxy. Then I tried to check my ubuntu 12.04 to see
> proxy information but when I go to System setting --> network setting -->
> Proxy, the use mode is None.
> 
> Thanks and best regards,
> Dzung
> 
> 
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread dzungdev
Dear Hanasaki,

I would like to say thanks for your detail explanation.

I saw that you put the host is: firewall.domain.com but how I can get the
information of username/password for it ?
Actually I tried to get information of proxy via firefox by go to Edit -->
Preference --> Advanced --> Network --> Settings but I saw that the current
option is: use System proxy. Then I tried to check my ubuntu 12.04 to see
proxy information but when I go to System setting --> network setting -->
Proxy, the use mode is None.

Thanks and best regards,
Dzung



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread dzungdev
Hi Anders, 

Thank you for your idea, I am using it at home, so I don't think it is
cooperate environment.

Best Regards,
Dzung



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746836.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread hanasaki
Your ~/.m2/settings.xml  may need an entry similar to below.  Full docs
for this can be found on the main maven website.  This works correctly
on my Ubuntu system with openjdk7, netbeans, eclipse, jenkins and
command line.  You may be able to find the proxy info from your IT group
or in firefox or IE Internet settings.



true
http
firewall.domain.com
we...b
...
8080
localhost



 Original Message 
Subject: Maven proxy problem in ubuntu 12.04
From: dzungdev
To: users@maven.apache.org
Date: 02/12/2013 05:37 AM

> Hi all,
> 
> I would like to ask about the maven in ubuntu 12.04. I downloaded maven
> version: 3.0.4 and tried to run the mvn archtype:generate, then I have the
> result like bellow:
> 
> *dzung@dzung:~$ mvn archtype:generate
> [INFO] Scanning for projects...
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin
> org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin
> org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-install-plugin:jar:2.3.1
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin
> org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-site-plugin:3.0: Plugin
> org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-site-plugin:jar:3.0
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin
> org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-antrun-plugin:jar:1.3
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5*
> 
> I tried to search google and they said that maybe I have to configure the
> proxy in ~/.m2/settings.xml but I don't know what the information of proxy
> ip, port I have to add in settings.xml. I checked in System Setting -->
> Network Settings of ubuntu 12.04 and see that the proxy mode is None.
> 
> Could you please give me an advice ?
> 
> Thanks and best regards,
> Dzung
> 
> 

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven proxy problem in ubuntu 12.04

2013-02-12 Thread Anders Hammar
Are you behind a http proxy? If you're in a corporate environment you most
likely are.

/Anders


On Tue, Feb 12, 2013 at 12:37 PM, dzungdev  wrote:

> Hi all,
>
> I would like to ask about the maven in ubuntu 12.04. I downloaded maven
> version: 3.0.4 and tried to run the mvn archtype:generate, then I have the
> result like bellow:
>
> *dzung@dzung:~$ mvn archtype:generate
> [INFO] Scanning for projects...
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin
> org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its
> dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin
> org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-install-plugin:jar:2.3.1
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin
> org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-site-plugin:3.0: Plugin
> org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-site-plugin:jar:3.0
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin
> org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies
> could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-antrun-plugin:jar:1.3
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom
> [WARNING] Failed to retrieve plugin descriptor for
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor for
> org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5*
>
> I tried to search google and they said that maybe I have to configure the
> proxy in ~/.m2/settings.xml but I don't know what the information of proxy
> ip, port I have to add in settings.xml. I checked in System Setting -->
> Network Settings of ubuntu 12.04 and see that the proxy mode is None.
>
> Could you please give me an advice ?
>
> Thanks and best regards,
> Dzung
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


RE: Maven Proxy

2007-10-18 Thread Yoav Landman

Just a note about the Artifactory UI - Artifactory 1.2.5 offers additional
lightweight directory-style repository browsing with bookmarkable artifact
URLs. We also improved the ajax tree browsing experience, so you're welcome
to give this version a test drive (see:
http://www.nabble.com/-ANN--Artifactory-1.2.5-rc1-t4612108.html)


dhoffer wrote:
> 
> We used to use Proximity and now use Artifactory 1.2.1.  There are
> pros/cons of each.
> 
> We switched from Proximity because it did not support artifact upload,
> this may have changed since then.  Artifactory has good download/upload
> HTTP support.  
> 
> We added service running to Artifactory which makes it run real nice.
> The biggest downside to it is the SLOW...SLOW speed of the UI browser
> and lack of URL to artifacts (stored internally in derby).
> 
> 
> 
> -Original Message-
> From: Denis Bessmertniy
> [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 12, 2007 5:04 AM
> To: 'Maven Users List'
> Subject: Maven Proxy
> 
> Hi, May you advise to me a good maven proxy?
> I know only http://proximity.abstracthorizon.org. Is it good?
> 
> Maybe you know something better?
> -
> Denis
> 
> 
> -
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-Proxy-tf4612261s177.html#a13269954
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Maven Proxy

2007-10-17 Thread Dave Hoffer
We used to use Proximity and now use Artifactory 1.2.1.  There are
pros/cons of each.

We switched from Proximity because it did not support artifact upload,
this may have changed since then.  Artifactory has good download/upload
HTTP support.  

We added service running to Artifactory which makes it run real nice.
The biggest downside to it is the SLOW...SLOW speed of the UI browser
and lack of URL to artifacts (stored internally in derby).



-Original Message-
From: Denis Bessmertniy
[mailto:[EMAIL PROTECTED] 
Sent: Friday, October 12, 2007 5:04 AM
To: 'Maven Users List'
Subject: Maven Proxy

Hi, May you advise to me a good maven proxy?
I know only http://proximity.abstracthorizon.org. Is it good?

Maybe you know something better?
-
Denis


-
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: Maven Proxy

2007-10-16 Thread Brian E. Fox
I'm also using proximity but a snapshot of RC9 because Tamas added a new 
feature that I requested. This was maybe 3 months ago. It is quite stable and 
we are very pleased with it after trying several alternatives. I know he had 
some infrastructure issues at one point, which may explain the website. He's 
still around though, if you mention px or cstamas on the irc channel he appears 
like a genie ;-)

--Brian

-Original Message-
From: Boeckli, Dominique [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 15, 2007 3:40 AM
To: Maven Users List
Subject: RE: Maven Proxy

We are using Proximity as a war deployment on a JBoss Server. A little bit 
scary is that the abstracthorizon home page is down since a while:
http://www.abstracthorizon.org/index.html. Since nearly half a hear the version 
number (RC8) didn't changed neither.

-Original Message-
From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 12, 2007 07:08 PM
To: Maven Users List
Subject: Re: Maven Proxy

We are using Artifactory on Tomcat 5.5. It works mostly well for us.
The only problem is that memory consumption grow very high. I finally had to 
reboot Tomcat every night to keep it sane ...

  But I havent been looking into the problem all that hard. The problem might 
be on my side ...

  Other than that, I'm very happy with Artifactory. Easy to set up, easy to add 
new jars to the repository for developers who are not comfortable with Maven ...

On 12/10/2007, Vanja Petreski <[EMAIL PROTECTED]> wrote:
> Artifactory definitely!
>
> On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> >
> > Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > > I would definitely recommend Artifactory.
> >
> > I am using artifactory deployed on glassfish and works very good...
> >
> > m.
> >
> >
>


--
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
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: Maven Proxy

2007-10-16 Thread Tamás Cservenák
Hello all,

the "sorry page" on abstracthorizon.org should not worry you, the
Proximity homepage (proximity.abstracthorizon.org) _is_ up-to-date,
even if the Abstract Horizon "meta-project" is a little bit delayed.

Soon, we will release the last of the 1.x line with all fixes and improvements.

Thanks for being patient!
~t~


On 10/15/07, Boeckli, Dominique <[EMAIL PROTECTED]> wrote:
> We are using Proximity as a war deployment on a JBoss Server. A little bit 
> scary is that the abstracthorizon home page is down since a while:
> http://www.abstracthorizon.org/index.html. Since nearly half a hear the 
> version number (RC8) didn't changed neither.
>
> -Original Message-
> From: Guillaume Lederrey [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 12, 2007 07:08 PM
> To: Maven Users List
> Subject: Re: Maven Proxy
>
> We are using Artifactory on Tomcat 5.5. It works mostly well for us.
> The only problem is that memory consumption grow very high. I finally had to 
> reboot Tomcat every night to keep it sane ...
>
>   But I havent been looking into the problem all that hard. The problem might 
> be on my side ...
>
>   Other than that, I'm very happy with Artifactory. Easy to set up, easy to 
> add new jars to the repository for developers who are not comfortable with 
> Maven ...
>
> On 12/10/2007, Vanja Petreski <[EMAIL PROTECTED]> wrote:
> > Artifactory definitely!
> >
> > On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> > >
> > > Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > > > I would definitely recommend Artifactory.
> > >
> > > I am using artifactory deployed on glassfish and works very good...
> > >
> > > m.
> > >
> > >
> >
>
>
> --
> Jabber : [EMAIL PROTECTED]
> Skype : Guillaume.Lederrey
> Projects :
> * http://rwanda.wordpress.com/
> * http://rwandatech.wordpress.com/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Maven Proxy

2007-10-15 Thread William Ferguson
Woops, just reread my post.
The finally bit should have read: 

My preference is Proximity for the simple config, file base storage.

:-) that makes more sense.

William

-Original Message-
From: William Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Monday, 15 October 2007 6:04 PM
To: Maven Users List
Subject: Re: Maven Proxy

Hi Denis, I have had some experience of 3 of them in the last week.
All of them deployed as WebApps inside Tomcat.

Promixity - simple config, file based storage, developers seem absent
(at least at present).
We are using this as our main Maven repository and also as a mirror of
that repository at an interstate office.

Artifactory - simple config (perhaps simpler than Proximity), DB
storage.

Archiva (beta2) - couldn't get it to work by following the installation
instructions. Doesn't install as a clean webapp (in Tomcat in any case).

My preference is Tomcat for the simple config, file base storage.
Its just a shame that the developers appear awol and I couldn't find a
way to raise issues against it.

Hope this helps.


William

-Original Message-
From: Denis Bessmertniy
[mailto:[EMAIL PROTECTED]
Sent: Friday, 12 October 2007 7:04 PM
To: 'Maven Users List'
Subject: [***POSSIBLE SPAM***] - Maven Proxy - Email has different SMTP
TO: and MIME TO: fields in the email addresses

Hi, May you advise to me a good maven proxy?
I know only http://proximity.abstracthorizon.org. Is it good?

Maybe you know something better?
-
Denis


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


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



Re: Maven Proxy

2007-10-15 Thread Brett Porter
Thanks - much appreciated!

On 16/10/2007, William Ferguson <[EMAIL PROTECTED]> wrote:
> Sorry Brett, I was already 2 days overdue thanks to infrastructure
> issues.
> I'll try to put together a JIRA this afternoon.
>
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Monday, 15 October 2007 6:25 PM
>
> were you able to report these problems? Would be happy to hear bugs or
> thoughts on ways to make it easier to deploy into Tomcat.
>
> - Brett
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

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



Re: Maven Proxy

2007-10-15 Thread William Ferguson
Sorry Brett, I was already 2 days overdue thanks to infrastructure
issues.
I'll try to put together a JIRA this afternoon.

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, 15 October 2007 6:25 PM

were you able to report these problems? Would be happy to hear bugs or
thoughts on ways to make it easier to deploy into Tomcat.

- Brett

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



Re: Maven Proxy

2007-10-15 Thread Brett Porter
On 15/10/2007, William Ferguson <[EMAIL PROTECTED]> wrote:
> Archiva (beta2) - couldn't get it to work by following the installation
> instructions. Doesn't install as a clean webapp (in Tomcat in any case).

were you able to report these problems? Would be happy to hear bugs or
thoughts on ways to make it easier to deploy into Tomcat.

- Brett

-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

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



Re: Maven Proxy

2007-10-15 Thread William Ferguson
Hi Denis, I have had some experience of 3 of them in the last week.
All of them deployed as WebApps inside Tomcat.

Promixity - simple config, file based storage, developers seem absent
(at least at present).
We are using this as our main Maven repository and also as a mirror of
that repository at an interstate office.

Artifactory - simple config (perhaps simpler than Proximity), DB
storage.

Archiva (beta2) - couldn't get it to work by following the installation
instructions. Doesn't install as a clean webapp (in Tomcat in any case).

My preference is Tomcat for the simple config, file base storage.
Its just a shame that the developers appear awol and I couldn't find a
way to raise issues against it.

Hope this helps.


William

-Original Message-
From: Denis Bessmertniy
[mailto:[EMAIL PROTECTED] 
Sent: Friday, 12 October 2007 7:04 PM
To: 'Maven Users List'
Subject: [***POSSIBLE SPAM***] - Maven Proxy - Email has different SMTP
TO: and MIME TO: fields in the email addresses

Hi, May you advise to me a good maven proxy?
I know only http://proximity.abstracthorizon.org. Is it good?

Maybe you know something better?
-
Denis


-
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: Maven Proxy

2007-10-15 Thread Boeckli, Dominique
We are using Proximity as a war deployment on a JBoss Server. A little bit 
scary is that the abstracthorizon home page is down since a while:
http://www.abstracthorizon.org/index.html. Since nearly half a hear the version 
number (RC8) didn't changed neither.

-Original Message-
From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 12, 2007 07:08 PM
To: Maven Users List
Subject: Re: Maven Proxy

We are using Artifactory on Tomcat 5.5. It works mostly well for us.
The only problem is that memory consumption grow very high. I finally had to 
reboot Tomcat every night to keep it sane ...

  But I havent been looking into the problem all that hard. The problem might 
be on my side ...

  Other than that, I'm very happy with Artifactory. Easy to set up, easy to add 
new jars to the repository for developers who are not comfortable with Maven ...

On 12/10/2007, Vanja Petreski <[EMAIL PROTECTED]> wrote:
> Artifactory definitely!
>
> On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> >
> > Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > > I would definitely recommend Artifactory.
> >
> > I am using artifactory deployed on glassfish and works very good...
> >
> > m.
> >
> >
>


--
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

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



Re: Maven Proxy

2007-10-12 Thread Guillaume Lederrey
We are using Artifactory on Tomcat 5.5. It works mostly well for us.
The only problem is that memory consumption grow very high. I finally
had to reboot Tomcat every night to keep it sane ...

  But I havent been looking into the problem all that hard. The
problem might be on my side ...

  Other than that, I'm very happy with Artifactory. Easy to set up,
easy to add new jars to the repository for developers who are not
comfortable with Maven ...

On 12/10/2007, Vanja Petreski <[EMAIL PROTECTED]> wrote:
> Artifactory definitely!
>
> On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> >
> > Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > > I would definitely recommend Artifactory.
> >
> > I am using artifactory deployed on glassfish and works very good...
> >
> > m.
> >
> >
>


-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/


Re: Maven Proxy

2007-10-12 Thread Vanja Petreski
Artifactory definitely!

On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
>
> Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > I would definitely recommend Artifactory.
>
> I am using artifactory deployed on glassfish and works very good...
>
> m.
>
>


Re: Maven Proxy

2007-10-12 Thread Michal Hlavac
Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> I would definitely recommend Artifactory.

I am using artifactory deployed on glassfish and works very good... 

m.


smime.p7s
Description: S/MIME cryptographic signature


Re: Maven Proxy

2007-10-12 Thread Wilfred Springer
I would definitely recommend Artifactory. 

On Fri, 2007-10-12 at 02:10 -0700, maarten roosendaal wrote:
> Hi,
> 
> We use Archiva (beta2) which works fine. We had some problems with the beta1 
> version but getting it up and running was very easy. The hard part is comming 
> up with procedures regarding dependencies and management.
> 
> - Original Message 
> From: Denis Bessmertniy <[EMAIL PROTECTED]>
> To: Maven Users List 
> Sent: Friday, October 12, 2007 11:04:10 AM
> Subject: Maven Proxy
> 
> Hi, May you advise to me a good maven proxy?
> I know only http://proximity.abstracthorizon.org. Is it good?
> 
> Maybe you know something better?
> -
> Denis
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
> news, photos & more. 
> http://mobile.yahoo.com/go?refer=1GNXIC

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



Re: Maven Proxy

2007-10-12 Thread maarten roosendaal
Hi,

We use Archiva (beta2) which works fine. We had some problems with the beta1 
version but getting it up and running was very easy. The hard part is comming 
up with procedures regarding dependencies and management.

- Original Message 
From: Denis Bessmertniy <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Friday, October 12, 2007 11:04:10 AM
Subject: Maven Proxy

Hi, May you advise to me a good maven proxy?
I know only http://proximity.abstracthorizon.org. Is it good?

Maybe you know something better?
-
Denis


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








   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

Re: Maven proxy

2007-07-20 Thread Dennis Lundberg
Please do not hijack other people's threads and change the subject for 
them. Create your own message by sending an e-mail to users@maven.apache.org


Dmitry wrote:
I have succesfuly installed codehaus eclipse plugin and i have 
downloaded dependencys for my projects (connection to internet works fine).


The next step was to create a network repository so that co-workers and 
I could share the jars that we download from the internet and have less 
lag when in need of a jar.


I THINK I have configured maven-proxy ok but I DONT think its working 
correctly. This is what I did: 1) Downloaded maven-proxy and the config 
file 2) Adjust config file to my needs. 3) Start maven-proxy.


After that I started to try to configure the eclipse plugin so that it 
uses my repository. To do that I had to copy the conf.xml file from 
maven folder to the root of my local repository and I added the 
following lines:


 maven-proxy Maven-Proxy Mirror 
http://j2eedesar3:/repository 
central   maven-proxy 
Maven-Proxy Mirror 
http://j2eedesar3:/repository 
snapshots  where j2eedesar3 is the name of 
the machine where maven-proxy is running.When I view maven-proxy's log I 
see the requests made from my machine to maven-proxy but I in the 
filesystem I don't see any downloaded jars

thanks,
DM
www.ejinz.com - Search Biz

- Original Message - From: "Dennis Lundberg" <[EMAIL PROTECTED]>
To: "Sujit Samantaray" <[EMAIL PROTECTED]>; "Maven Users List" 


Sent: Friday, July 20, 2007 1:33 PM
Subject: Re: Help


I'm sorry, but I have little experience with Continuum, perhaps 
someone else can help you.


Sujit Samantaray wrote:

Thanks Dennis,
I am really very sorry about mailing you.I had 
mailed to userlist earlier .But i didnt got any reply.I found 
continuum really interesting ,but i am completely new to it and i am 
struck at one point since 15 days and getting no idea how to procede.

please spare a little time in helping me.
 till now i have installed continuum.i am using vss and an ant 
project.so through add an ant project i have given vss foldername 
which i want to get.i have used the scm url which is given in internet.

scm:vss:path to repository:\foldername
 after thati am trying to build it.but it is showing update & 
checkout command not found. i dont have much idea about scm 
configuration.

 plz help me   .again i am really sorry for taking ur valuable time .
 thanks in advance
sujit On 7/20/07, *Dennis Lundberg* <[EMAIL PROTECTED] 
> wrote:


First off - do not send questions directly to the developers. 
This is

what the users mailing list is for.

Now to your problem.

Have you verified that the scm configuration for your project is
working, before trying to run it through Continuum? If not, you 
can do

this by using the maven-scm-plugin:
   http://maven.apache.org/scm/plugins/index.html

You should also be using version 1.0 of maven-scm-* - not the beta-3
version.

Sujit Samantaray wrote:
 >
 > Hi,
 >
 > I am trying to use continuum .i am using visual source safe 
with ant

 > projects.First the vss SCM url showed invalid .& i didnt found
 > *maven-scm-provider-vss:jar:1.0-beta-3 *
 > file in lib folder.So i searched in net and found this jar 
file.after

 > putting this jar file SCM url is validated but now  it is showing
 > CHECKOUT COMMAND not found and UPDATE command not found while
building
 > it.I saw the jar file and saw that it is not having checkout 
class or

 > update class.
 > plz help me what to do regarding this. I am not sure whether
Continuum
 > supports VSS fully or not .
 >
 > If u have the correct jar file plz send it to me soon.If i am 
doing

 > wrong somewhere else plz tell me.
 >
 > Or please send me some links by which i will be able to work in
VSS,Ant
 > project and continuum .
 >
 > thanks in advance.
 >
 > sujit


--
Dennis Lundberg





--
Dennis Lundberg

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




--
Dennis Lundberg

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



Re: Maven proxy

2007-07-20 Thread Dmitry
I have succesfuly installed codehaus eclipse plugin and i have downloaded 
dependencys for my projects (connection to internet works fine).


The next step was to create a network repository so that co-workers and I 
could share the jars that we download from the internet and have less lag 
when in need of a jar.


I THINK I have configured maven-proxy ok but I DONT think its working 
correctly. This is what I did: 1) Downloaded maven-proxy and the config file 
2) Adjust config file to my needs. 3) Start maven-proxy.


After that I started to try to configure the eclipse plugin so that it uses 
my repository. To do that I had to copy the conf.xml file from maven folder 
to the root of my local repository and I added the following lines:


 maven-proxy Maven-Proxy Mirror 
http://j2eedesar3:/repository central 
  maven-proxy Maven-Proxy Mirror 
http://j2eedesar3:/repository snapshots 
 where j2eedesar3 is the name of the machine where maven-proxy is 
running.When I view maven-proxy's log I see the requests made from my 
machine to maven-proxy but I in the filesystem I don't see any downloaded 
jars

thanks,
DM
www.ejinz.com - Search Biz

- Original Message - 
From: "Dennis Lundberg" <[EMAIL PROTECTED]>
To: "Sujit Samantaray" <[EMAIL PROTECTED]>; "Maven Users List" 


Sent: Friday, July 20, 2007 1:33 PM
Subject: Re: Help


I'm sorry, but I have little experience with Continuum, perhaps someone 
else can help you.


Sujit Samantaray wrote:

Thanks Dennis,
I am really very sorry about mailing you.I had mailed 
to userlist earlier .But i didnt got any reply.I found continuum really 
interesting ,but i am completely new to it and i am struck at one point 
since 15 days and getting no idea how to procede.

please spare a little time in helping me.
 till now i have installed continuum.i am using vss and an ant project.so 
through add an ant project i have given vss foldername which i want to 
get.i have used the scm url which is given in internet.

scm:vss:path to repository:\foldername
 after thati am trying to build it.but it is showing update & checkout 
command not found. i dont have much idea about scm configuration.

 plz help me   .again i am really sorry for taking ur valuable time .
 thanks in advance
sujit On 7/20/07, *Dennis Lundberg* <[EMAIL PROTECTED] 
> wrote:


First off - do not send questions directly to the developers. This is
what the users mailing list is for.

Now to your problem.

Have you verified that the scm configuration for your project is
working, before trying to run it through Continuum? If not, you can 
do

this by using the maven-scm-plugin:
   http://maven.apache.org/scm/plugins/index.html

You should also be using version 1.0 of maven-scm-* - not the beta-3
version.

Sujit Samantaray wrote:
 >
 > Hi,
 >
 > I am trying to use continuum .i am using visual source safe with 
ant

 > projects.First the vss SCM url showed invalid .& i didnt found
 > *maven-scm-provider-vss:jar:1.0-beta-3 *
 > file in lib folder.So i searched in net and found this jar 
file.after

 > putting this jar file SCM url is validated but now  it is showing
 > CHECKOUT COMMAND not found and UPDATE command not found while
building
 > it.I saw the jar file and saw that it is not having checkout class 
or

 > update class.
 > plz help me what to do regarding this. I am not sure whether
Continuum
 > supports VSS fully or not .
 >
 > If u have the correct jar file plz send it to me soon.If i am 
doing

 > wrong somewhere else plz tell me.
 >
 > Or please send me some links by which i will be able to work in
VSS,Ant
 > project and continuum .
 >
 > thanks in advance.
 >
 > sujit


--
Dennis Lundberg





--
Dennis Lundberg

-
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: Maven-proxy and error

2007-06-08 Thread Thorsten Heit
Hi,

> Which section of maven-proxy.properties is relevant to a firewall. Is it
> the
> proxies section.

Yes.


> Here is my maven-proxy.properties...

*snip*


>  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

Here you have to enter your proxy settings, i.e. proxy..host, 
proxy..port etc.


> #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

...and in that section you refer to the above proxy settings by simply using a 
line such as "repo.www-ibiblio-org.proxy="


BTW:
AFAIK maven-proxy isn't developed anymore so I would think about switching to 
another repository proxy/cache such as Artifactory, Archivar, Proximity or 
whatever.


HTH

Thorsten

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



Re: maven-proxy installation

2007-06-07 Thread Arnd Brusdeilins
besides installing and configuring the maven-proxy , executing "mvn 
deploy:deploy-file" (with the propiate arguments)
for every jar file on the server should be enough. Check if the files you want 
to share are available inside the maven-proxy installation.



nmall wrote:
> Hi,
>
>  We are using maven for the first time in our company. 
>
>  I installed maven-proxy on a server machine in our company in the hope that
> everyone doesn't need to do "mvn install:install-file " for every single jar
> file our build depends upon the first time they set up their build. However,
> though it seems to be downloading the dependencies from the  remotemachine
> siteserver, it still throws errors at the end asking to do mvn
> install:install-file on every single jar. Why is that. 
>
>  Do I need to do something more than just set up the maven-proxy, like make
> a local repository on that remote server machine?? Thanks so much for your
> help!!!
>
>  [INFO] Building NewProject
> [INFO]task-segment: [compile]
> [INFO]
> 
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://siteserver:/repository//org/codehaus/mojo/groovy/1.0-jsr-06/groovy-1.0-jsr-06.pom
> Downloading:
> http://siteserver:/repository//org/jruby/jruby/1.0.0RC2/jruby-1.0.0RC2.pom
> Downloading:
> http://siteserver:/repository//Beanutils/commons-beanutils/1.6/commons-beanutils-1.6.pom
> Downloading:
> http://siteserver:/repository//javaee/javaee-api/5/javaee-api-5.pom
> Downloading:
> http://siteserver:/repository//acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring-core/2.0.3/spring-core-2.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring-aop/2.0.3/spring-aop-2.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring-beans/2.0.3/spring-beans-2.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring/2.0.3/spring-2.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring-hibernate/2.0.3/spring-hibernate-2.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring-context/2.0.3/spring-context-2.0.3.pom
> Downloading:
> http://siteserver:/repository//springframework/spring-dao/2.0.3/spring-dao-2.0.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-core/pentaho-core/1.5.3/pentaho-core-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-data/pentaho-data/1.5.3/pentaho-data-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-repository/pentaho-repository/1.5.3/pentaho-repository-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-security/pentaho-security/1.5.3/pentaho-security-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-i18n/pentaho-i18n/1.5.3/pentaho-i18n-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-messages/pentaho-messages/1.5.3/pentaho-messages-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-ui/pentaho-ui/1.5.3/pentaho-ui-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-util/pentaho-util/1.5.3/pentaho-util-1.5.3.pom
> Downloading:
> http://siteserver:/repository//pentaho-plugin/pentaho-plugin/1.5.3/pentaho-plugin-1.5.3.pom
> Downloading:
> http://siteserver:/repository//jfreereport/jfreereport/0.8.7-10/jfreereport-0.8.7-10.pom
> Downloading:
> http://siteserver:/repository//jcommon/jcommon/1.0.6/jcommon-1.0.6.pom
> Downloading:
> http://siteserver:/repository//jcommon-xml/jcommon-xml/1.0.6/jcommon-xml-1.0.6.pom
> Downloading:
> http://siteserver:/repository//apache-bsf/bsf/2.3.0/bsf-2.3.0.pom
>
> 
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) jfreereport-output-table-csv:jfreereport-output-table-csv:jar:0.8.7-10
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command: 
>   mvn install:install-file -DgroupId=jfreereport-output-table-csv
> -DartifactId=jfreereport-output-table-csv \
>   -Dversion=0.8.7-10 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency: 
>   1) com.mycompany:NewProject:war:1.0-SNAPSHOT
>   2) 
> jfreereport-output-table-csv:jfreereport-output-table-csv:jar:0.8.7-10
>
> 2) jfreereport-gui-xls:jfreereport-gui-xls:jar:0.8.7-10
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command: 
>   mvn install:install-file -DgroupId=jfreereport-gui-xls
> -DartifactId=jfreereport-gui-xls \
>   -Dversion=0.8.7-10 -Dpackaging=jar -Dfile=/path/t

Re: Maven-proxy and error

2007-06-07 Thread nmall

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=

#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:/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=/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]



Re: Maven-proxy and error

2007-06-07 Thread Thorsten Heit

Hi,

it seems to be running. However, when I refer to it in my local pom  
and try

to compile, I get the following error. Any help would be greatly
appreciated. Thanks !!

 + Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could  
not be

retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
-- 
--

[ERROR] BUILD ERROR
[INFO]
-- 
--
[INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin'  
does not

exis
t or no valid version could be found
[INFO]
-- 
--


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


PGP.sig
Description: Signierter Teil der Nachricht


Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
Ok so I will work on it.

Another question, what is the remote repository url you use for both 
projects ? You are using the same url for both maven 1 and maven 2 projects ?
If so what type of managed repository have you set up on archiva because you 
have to define if you want to configure a maven 1 or maven 2 repo in the 
console.

Thx


On Wednesday 28 March 2007 16:40, nicolas de loof wrote:
> Works for me, with user "guest" granted to role "repository observer".
>
> 2007/3/28, Elid OR <[EMAIL PROTECTED]>:
> > Have you successfuly used maven archiva on maven 1 project ?
> >
> > I got an errors : java.io.IOException: Forbidden
> >
> > I don't know where I can configure user acces in maven 1 project.
> >
> > On Wednesday 28 March 2007 10:37, nicolas de loof wrote:
> > > I'm using Archiva for the same use case but this requires to apply
> >
> > MRM-153
> >
> > > patch I've suggested.
> > >
> > > MRM-153 was allready included in oldest archiva builds, but recent
> >
> > changes
> >
> > > required me to reopen this issue. No comment yet from archiva
> >
> > developers.
> >
> > > 2007/3/28, Elid OR <[EMAIL PROTECTED]>:
> > > > Hi all,
> > > >
> > > > My projects use maven 1 and maven 2. I would like to use a proxy tool
> > > > that allows to configure an unique remote proxy url for both maven 1
> > > > &
> >
> > 2
> >
> > > > project.
> > > >
> > > > Does anyone knows if proximity or archiva is able to do that ?
> > > >
> > > > Cheers,
> > > >
> > > > Elid OR
> > > >
> > > > -
> > > > 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]

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



Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread nicolas de loof

Works for me, with user "guest" granted to role "repository observer".

2007/3/28, Elid OR <[EMAIL PROTECTED]>:


Have you successfuly used maven archiva on maven 1 project ?

I got an errors : java.io.IOException: Forbidden

I don't know where I can configure user acces in maven 1 project.

On Wednesday 28 March 2007 10:37, nicolas de loof wrote:
> I'm using Archiva for the same use case but this requires to apply
MRM-153
> patch I've suggested.
>
> MRM-153 was allready included in oldest archiva builds, but recent
changes
> required me to reopen this issue. No comment yet from archiva
developers.
>
> 2007/3/28, Elid OR <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > My projects use maven 1 and maven 2. I would like to use a proxy tool
> > that allows to configure an unique remote proxy url for both maven 1 &
2
> > project.
> >
> > Does anyone knows if proximity or archiva is able to do that ?
> >
> > Cheers,
> >
> > Elid OR
> >
> > -
> > 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: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
I have added access in the user managment section of the archiva console and 
restart but still the same error in my maven 1 project.

On Wednesday 28 March 2007 15:30, Arnaud HERITIER wrote:
> in archiva, you have to add the access to your repositories for the user
> guest
>
> Arnaud
>
> On 28/03/07, Elid OR <[EMAIL PROTECTED]> wrote:
> > Have you successfuly used maven archiva on maven 1 project ?
> >
> > I got an errors : java.io.IOException: Forbidden
> >
> > I don't know where I can configure user acces in maven 1 project.
> >
> > On Wednesday 28 March 2007 10:37, nicolas de loof wrote:
> > > I'm using Archiva for the same use case but this requires to apply
> >
> > MRM-153
> >
> > > patch I've suggested.
> > >
> > > MRM-153 was allready included in oldest archiva builds, but recent
> >
> > changes
> >
> > > required me to reopen this issue. No comment yet from archiva
> >
> > developers.
> >
> > > 2007/3/28, Elid OR <[EMAIL PROTECTED]>:
> > > > Hi all,
> > > >
> > > > My projects use maven 1 and maven 2. I would like to use a proxy tool
> > > > that allows to configure an unique remote proxy url for both maven 1
> > > > &
> >
> > 2
> >
> > > > project.
> > > >
> > > > Does anyone knows if proximity or archiva is able to do that ?
> > > >
> > > > Cheers,
> > > >
> > > > Elid OR
> > > >
> > > > -
> > > > 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]

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



Re: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Arnaud HERITIER

in archiva, you have to add the access to your repositories for the user
guest

Arnaud

On 28/03/07, Elid OR <[EMAIL PROTECTED]> wrote:


Have you successfuly used maven archiva on maven 1 project ?

I got an errors : java.io.IOException: Forbidden

I don't know where I can configure user acces in maven 1 project.

On Wednesday 28 March 2007 10:37, nicolas de loof wrote:
> I'm using Archiva for the same use case but this requires to apply
MRM-153
> patch I've suggested.
>
> MRM-153 was allready included in oldest archiva builds, but recent
changes
> required me to reopen this issue. No comment yet from archiva
developers.
>
> 2007/3/28, Elid OR <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > My projects use maven 1 and maven 2. I would like to use a proxy tool
> > that allows to configure an unique remote proxy url for both maven 1 &
2
> > project.
> >
> > Does anyone knows if proximity or archiva is able to do that ?
> >
> > Cheers,
> >
> > Elid OR
> >
> > -
> > 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: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread Elid OR
Have you successfuly used maven archiva on maven 1 project ?

I got an errors : java.io.IOException: Forbidden

I don't know where I can configure user acces in maven 1 project.

On Wednesday 28 March 2007 10:37, nicolas de loof wrote:
> I'm using Archiva for the same use case but this requires to apply MRM-153
> patch I've suggested.
>
> MRM-153 was allready included in oldest archiva builds, but recent changes
> required me to reopen this issue. No comment yet from archiva developers.
>
> 2007/3/28, Elid OR <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > My projects use maven 1 and maven 2. I would like to use a proxy tool
> > that allows to configure an unique remote proxy url for both maven 1 & 2
> > project.
> >
> > Does anyone knows if proximity or archiva is able to do that ?
> >
> > Cheers,
> >
> > Elid OR
> >
> > -
> > 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: Maven proxy tools that allow to configure an unique remote repository for maven 1 and maven 2 projects ?

2007-03-28 Thread nicolas de loof

I'm using Archiva for the same use case but this requires to apply MRM-153
patch I've suggested.

MRM-153 was allready included in oldest archiva builds, but recent changes
required me to reopen this issue. No comment yet from archiva developers.

2007/3/28, Elid OR <[EMAIL PROTECTED]>:


Hi all,

My projects use maven 1 and maven 2. I would like to use a proxy tool that
allows to configure an unique remote proxy url for both maven 1 & 2
project.

Does anyone knows if proximity or archiva is able to do that ?

Cheers,

Elid OR

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




Re: maven proxy problem

2007-02-17 Thread Dan Tran

On 2/17/07, srinivas ramgopal <[EMAIL PROTECTED]> wrote:



Hi all,

I am new to Maven proxy.
I recently installed it with the intent to cache (for a user specified
time
period), the downloaded information from ibiblio. In other words, during
each maven build, I do not want the maven proxy to read from ibiblio but
read from the its own cache.



This is a given feature as long as your cache time, per artifact, is not
expired

Also in case of ibiblio errors, I want the maven proxy cache to not refresh

with ibiblio.



No, it is not possible.

On way to to sync the intired ibliblio to your internal remote repo and
assume your internal repo always up

Any pointers for the solution/settings is highly appreciated.


Thanks in advance.

--
View this message in context:
http://www.nabble.com/maven-proxy-problem-tf3245410s177.html#a9021716
Sent from the Maven - Users mailing list archive at Nabble.com.


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




RE: Maven proxy: java.lang.IllegalStateException: Committed

2007-01-16 Thread Don Steffy
I just discovered a potentially important piece of information regarding
the IllegalStateException I saw on our maven-proxy server earlier today.

The jar in question did not have an associated pom file, meaning it was
probably originally uploaded manually uploaded by one of our developers,
not using the standard mvn deployfile command.  I've just re-installed
the jar with a pom file and will see if the error recurs.

Thanks!





Re: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

2006-12-13 Thread Wayne Fay

What JIRA number was this request Nico? And what happened to it?

Wayne

On 12/12/06, nicolas de loof <[EMAIL PROTECTED]> wrote:

I had the same issue, but with another point of view : I expected all
artifacts on maven repo to have source jars. I have created a private
"sources" repository, and added missing artifacts sources to it.
The summer, I have attached my zipped source repository to an upload request
to make them available on maven repo.

Maintaining such a "source" repository is not a huge work if done by
incremental additions.

Nico.

2006/12/12, Mark Struberg <[EMAIL PROTECTED]>:
>
> Hi!
>
> Our situation:
>
> We are using maven in our corporate environment,
> maintaining our own local artifact and plugin
> repository for inhouse stuff. All locally released
> artifacts also have attached source artifacts for
> debugging purpose in Idea and Eclipse.
>
> We are using maven-proxy to reduce traffic and load
> time for caching a few public repos.
>
> Now my question:
> Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
> m2eclipse) always trie to resolve attached source
> artifacts, accessing the global repositories (e.g. for
> commons-logging) cause many failed downloads. Is there
> any way to tell maven-proxy to exclude some files from
> a specific repository, or prevent maven from trying to
> resolve a specific artifact type from a specific
> repos?
>
> txs in advance,
> strub
>
>
>
>
>
>
> ___
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
> http://mail.yahoo.de
>
> -
> 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: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

2006-12-12 Thread Tom Huybrechts

The latest version (in svn) of eclipse:eclipse maintains a status
cache for source downloads.

See the download-soruces parameter in
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html

On 12/12/06, Mark Struberg <[EMAIL PROTECTED]> wrote:

Hi!

Our situation:

We are using maven in our corporate environment,
maintaining our own local artifact and plugin
repository for inhouse stuff. All locally released
artifacts also have attached source artifacts for
debugging purpose in Idea and Eclipse.

We are using maven-proxy to reduce traffic and load
time for caching a few public repos.

Now my question:
Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
m2eclipse) always trie to resolve attached source
artifacts, accessing the global repositories (e.g. for
commons-logging) cause many failed downloads. Is there
any way to tell maven-proxy to exclude some files from
a specific repository, or prevent maven from trying to
resolve a specific artifact type from a specific
repos?

txs in advance,
strub






___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de

-
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: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

2006-12-12 Thread nicolas de loof

I had the same issue, but with another point of view : I expected all
artifacts on maven repo to have source jars. I have created a private
"sources" repository, and added missing artifacts sources to it.
The summer, I have attached my zipped source repository to an upload request
to make them available on maven repo.

Maintaining such a "source" repository is not a huge work if done by
incremental additions.

Nico.

2006/12/12, Mark Struberg <[EMAIL PROTECTED]>:


Hi!

Our situation:

We are using maven in our corporate environment,
maintaining our own local artifact and plugin
repository for inhouse stuff. All locally released
artifacts also have attached source artifacts for
debugging purpose in Idea and Eclipse.

We are using maven-proxy to reduce traffic and load
time for caching a few public repos.

Now my question:
Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
m2eclipse) always trie to resolve attached source
artifacts, accessing the global repositories (e.g. for
commons-logging) cause many failed downloads. Is there
any way to tell maven-proxy to exclude some files from
a specific repository, or prevent maven from trying to
resolve a specific artifact type from a specific
repos?

txs in advance,
strub






___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de

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




Re: maven proxy question

2006-12-09 Thread Aaron Metzger

Alexandre Poitras wrote:

You should gave a look at Mergere Maestro (open source) which include
Maven Archiva. Maven Proxy is outdated and no longer under
development.


Does Maestro also subsume most of the functionality of "Proximity"?

 http://proximity.abstracthorizon.org/quick-start.html




On 12/7/06, Christian Goetze <[EMAIL PROTECTED]> wrote:

I am using the maven proxy as described in
http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment, 


but I am observing spurious build failures due to some of the actual
remote sites not always responding in a timely manner.

Is there a way to configure maven proxy to not fail, but to simply send
the cached version instead? Should I just set the cache timeout to some
really large value? What I would like, though, is that it does try to
get an update, but not fail if the update fails?
--
cg


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




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



Re: maven proxy question

2006-12-09 Thread Alexandre Poitras

You should gave a look at Mergere Maestro (open source) which include
Maven Archiva. Maven Proxy is outdated and no longer under
development.

On 12/7/06, Christian Goetze <[EMAIL PROTECTED]> wrote:

I am using the maven proxy as described in
http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment,
but I am observing spurious build failures due to some of the actual
remote sites not always responding in a timely manner.

Is there a way to configure maven proxy to not fail, but to simply send
the cached version instead? Should I just set the cache timeout to some
really large value? What I would like, though, is that it does try to
get an update, but not fail if the update fails?
--
cg


-
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: maven proxy question

2006-12-08 Thread LAMY Olivier
Is there any chance to revert this redirection in ibiblio ?

Because in a corporate environnemt some servers doesn't have full internet 
access and it's difficult/long to configure this (firewall + proxy).

And due to this some build fails.

Is there any maven guy which can ask ibibio for revert ?

Thanks,

--
Olivier 

-Message d'origine-
De : Barrie Treloar [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 8 décembre 2006 23:24
À : Maven Users List
Objet : Re: maven proxy question

See http://www.nabble.com/forum/ViewPost.jtp?post=7751368&framed=y&skin=177

You may need to change where you are point maven-proxy at.

I've updated the maven-proxy to point to 
http://mirrors.ibiblio.org/pub/mirrors/maven2/ instead of
http://www.ibiblio.org/maven2 and all appears to be well.

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



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-


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



Re: maven proxy question

2006-12-08 Thread Barrie Treloar

See http://www.nabble.com/forum/ViewPost.jtp?post=7751368&framed=y&skin=177

You may need to change where you are point maven-proxy at.

I've updated the maven-proxy to point to
http://mirrors.ibiblio.org/pub/mirrors/maven2/ instead of
http://www.ibiblio.org/maven2 and all appears to be well.

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



Re: maven proxy question

2006-12-08 Thread Christian Goetze

Barrie Treloar wrote:



Can you paste in the types of build failures you are getting?


I get the usual "cannot find artifact, can you upload it with the 
following commands" error.


I changed the the proxy setting to not check for pom file updates, and 
I'll see if it happens again.


Proxy log shows:

2006-12-07 08:58:45,707 [ERROR] proxy.config.RepoConfiguration  - 
Repo[www-ibiblio-org]: Failure getting meta information for 
/org/apache/apache/1/apache-1.pom

java.lang.RuntimeException: java.net.ConnectException: Connection timed out

2006-12-07 08:58:45,708 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /org/apache/apache/1/apache-1.pom in snapshot cache
2006-12-07 08:58:45,708 [ERROR] proxy.engine.DownloadEngine  - 
org.apache.maven.proxy.engine.RepoAccessException: 
java.net.ConnectException: C

onnection timed out


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



Re: maven proxy question

2006-12-07 Thread Barrie Treloar

On 12/8/06, Christian Goetze <[EMAIL PROTECTED]> wrote:

I am using the maven proxy as described in
http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment,
but I am observing spurious build failures due to some of the actual
remote sites not always responding in a timely manner.

Is there a way to configure maven proxy to not fail, but to simply send
the cached version instead? Should I just set the cache timeout to some
really large value? What I would like, though, is that it does try to
get an update, but not fail if the update fails?


Can you paste in the types of build failures you are getting?

I haven't looked in our logs for a long time.
Having a quick browse I am seeing
2006-12-07 16:31:43,168 [WARN ] commons.httpclient.HttpMethodBase  -
Error getting URI host
org.apache.commons.httpclient.HttpException: Redirect from host
www.ibiblio.org to mirrors.ibiblio.org is not supported
   at 
org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpMethodBase.java:1237)
   at 
org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(HttpMethodBase.java:1185)

But my builds are still working...

Archiva will eventually superced mvn-proxy. But Archiva isn't ready
for general use yet.

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



RE: Maven-Proxy error

2006-09-14 Thread Adrian Shum

Just throw away configs for Maven1 repositories in the maven proxy properties 
file.

Adrian

-Original Message-
From: emerson cargnin [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 2:11 AM
To: Maven Users List
Subject: Maven-Proxy error


Hi all

to use maven-proxy with maven 2, should I configure the maven2 repository?
the original configuration in the maven-proxy.properties points to
http://www.ibiblio.org/maven:



#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

#dist.codehaus.org
repo.dist-codehaus-org.url=http://dist.codehaus.org
repo.dist-codehaus-org.proxy=two
repo.dist-codehaus-org.hardfail=false
repo.dist-codehaus-org.cache.period=3600
repo.dist-codehaus-org.cache.failures=true


Emerson

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



This email is confidential. If you are not the intended recipient, please 
delete it from your system and notify the sender immediately. Any unauthorized 
use, disclosure, dissemination or copying of this email is prohibited. Taifook 
Securities Group, its group companies and their content providers ("Parties") 
shall not be responsible for the accuracy or completeness of this email or its 
attachment, if any, which could contain virus, be corrupted, destroyed, 
incomplete, intercepted, lost or arrive late.   The Parites do not accept 
liability for any damage caused by this email.


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



RE: Maven-Proxy error

2006-09-13 Thread hermod.opstvedt
Hi

Why not set up a second proxy - That is what we did. That way you can support 
both M1 and M2.

Hermod

-Original Message-
From: emerson cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 8:11 PM
To: Maven Users List
Subject: Maven-Proxy error


Hi all

to use maven-proxy with maven 2, should I configure the maven2 repository?
the original configuration in the maven-proxy.properties points to
http://www.ibiblio.org/maven:



#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

#dist.codehaus.org
repo.dist-codehaus-org.url=http://dist.codehaus.org
repo.dist-codehaus-org.proxy=two
repo.dist-codehaus-org.hardfail=false
repo.dist-codehaus-org.cache.period=3600
repo.dist-codehaus-org.cache.failures=true


Emerson

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


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



Re: Maven-Proxy ?

2006-07-07 Thread Mykel Alvis

Set your proxy up as a mirror to central in settings.xml, as described in
the "multiple repositories" guide.

On 7/7/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:


With maven1 we are runing maven-proxy to cache the jars we care about.
Now I am looking how to do this with maven2 artifacts and can not
figure how to make it work.

I have something like this in my pom (maven2):

  

  central
  Proxy Central Repository
  default
  http://myhost:

  


when I run mvn the log shows this:

Downloading:
http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
145b downloaded

so the question is why? Is this because something is wrong with my
maven-proxy and it just does not handle m2 request or there is an
issue with changing a repo to an alternative location?

Thanks,
Alex.

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





--

Never wear anything that panics the cat. -- P. J. O'Rourke


RE: Maven-Proxy ?

2006-07-07 Thread Beyer,Nathan
That doesn't configure a mirror, it just adds another repository to
search, but that will only be searched after the central mirror.

See the guide on configuring a mirror:
http://maven.apache.org/guides/mini/guide-mirror-settings.html 

-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 07, 2006 2:17 PM
To: Maven Users List
Subject: Maven-Proxy ?

With maven1 we are runing maven-proxy to cache the jars we care about.
Now I am looking how to do this with maven2 artifacts and can not figure
how to make it work.

I have something like this in my pom (maven2):

  

  central
  Proxy Central Repository
  default
  http://myhost:

  


when I run mvn the log shows this:

Downloading:
http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
145b downloaded

so the question is why? Is this because something is wrong with my
maven-proxy and it just does not handle m2 request or there is an issue
with changing a repo to an alternative location?

Thanks,
Alex.

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


-
CONFIDENTIALITY NOTICE This message and any included attachments
are from Cerner Corporation and are intended only for the
addressee. The information contained in this message is
confidential and may constitute inside or non-public information
under international, federal, or state securities laws.
Unauthorized forwarding, printing, copying, distribution, or use of
such information is strictly prohibited and may be unlawful. If you
are not the addressee, please promptly delete this message and
notify the sender of the delivery error by e-mail or you may call
Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
(816)221-1024. ---


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



Re: maven-proxy problem - NTLM

2006-06-16 Thread John Allen
Commons HttpClient does indeed support NTLM authentication, I submitted a 
patch to maven-proxy some time ago that enabled this functionality:

http://jira.codehaus.org/browse/MAVENPROXY-42

- Original Message - 
From: "Wayne Fay" <[EMAIL PROTECTED]>

To: "Maven Users List" 
Sent: Monday, June 12, 2006 10:29 PM
Subject: Re: maven-proxy problem - NTLM



Your statement "what happened" would imply that this worked in the
past but does not any more... Is this the case, or are you configuring
this proxy for the first time?

Assuming this is your first attempt at configuring the proxy, please
first realize that Commons HttpClient (and thus, Maven) does not
support NTLM proxies. Unless something has changed recently, you will
not be able to use Maven2 (or Maven Proxy) through this NTLM web
proxy.

Wayne

On 6/12/06, Umberto Dissenha Junior <[EMAIL PROTECTED]> wrote:

Hi,

The maven-proxy console report the following error while maven start
download from central repository:

---
2006-06-12 17:20:13,189 [WARN ] commons.httpclient.HttpMethodBase  -
Credentials
 cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernameP
asswordCredentials
2006-06-12 17:20:13,189 [INFO ] proxy.config.HttpRepoConfiguration  -
Repo[dist-
codehaus-org]: Unable to find
http://dist.codehaus.org/commons-collections/commo
ns-collections/2.1/commons-collections-2.1.jar because of [407] = Proxy
Authenti
cation Required ( The ISA Server requires authorization to fulfill the
request.
Access to the Web Proxy service is denied.  )
2006-06-12 17:20:13,189 [INFO ] components.impl.DefaultSnapshotCache  -
Adding /
commons-collections/commons-collections/2.1/commons-collections-2.1.jar 
to

snaps
hot cache
---

My maven-proxy.properties:

proxy.one.host=host
proxy.one.port=8080
proxy.one.username=user
proxy.one.password=pass

Anyone knows what happend???

Regards

Umberto




-
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: maven-proxy problem - NTLM

2006-06-12 Thread Wayne Fay

Your statement "what happened" would imply that this worked in the
past but does not any more... Is this the case, or are you configuring
this proxy for the first time?

Assuming this is your first attempt at configuring the proxy, please
first realize that Commons HttpClient (and thus, Maven) does not
support NTLM proxies. Unless something has changed recently, you will
not be able to use Maven2 (or Maven Proxy) through this NTLM web
proxy.

Wayne

On 6/12/06, Umberto Dissenha Junior <[EMAIL PROTECTED]> wrote:

Hi,

The maven-proxy console report the following error while maven start
download from central repository:

---
2006-06-12 17:20:13,189 [WARN ] commons.httpclient.HttpMethodBase  -
Credentials
 cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernameP
asswordCredentials
2006-06-12 17:20:13,189 [INFO ] proxy.config.HttpRepoConfiguration  -
Repo[dist-
codehaus-org]: Unable to find
http://dist.codehaus.org/commons-collections/commo
ns-collections/2.1/commons-collections-2.1.jar because of [407] = Proxy
Authenti
cation Required ( The ISA Server requires authorization to fulfill the
request.
Access to the Web Proxy service is denied.  )
2006-06-12 17:20:13,189 [INFO ] components.impl.DefaultSnapshotCache  -
Adding /
commons-collections/commons-collections/2.1/commons-collections-2.1.jar to
snaps
hot cache
---

My maven-proxy.properties:

proxy.one.host=host
proxy.one.port=8080
proxy.one.username=user
proxy.one.password=pass

Anyone knows what happend???

Regards

Umberto




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



Re: maven proxy

2006-06-06 Thread Tom Joad

the problem is not because of commons-fileupload. I tried other
artifact and I get the same result.
may be , it s really a problem of right of access to repository. I 'll
seek in this direction

2006/6/6, Tom Joad <[EMAIL PROTECTED]>:

I can browse my maven-proxy with any internet browser.
I use maven-proxy snapshot version(the first one) .
Tom

2006/6/6, Tom Joad <[EMAIL PROTECTED]>:
> Hello all,
> I set up maven proxy and it always worked .I didn't work with maven
> since two months , i have just to reuse it.I add new dependency of my
> project and when i compile it
> I get error message
> Caused by: java.io.IOException: Server returned HTTP response code:
> 403 for URL: http://10.75.202.141:2016/repository/co
> mmons-fileupload/commons-fileupload/1.1/commons-fileupload-1.1.pom
>
> I didn't change anything in configuration
>
>
> http://10.75.202.141:2016/repository is the maven proxy location.
> any Ideas?
> Thanks in advance
> Tom.
>



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



Re: maven proxy

2006-06-06 Thread Tom Joad

I can browse my maven-proxy with any internet browser.
I use maven-proxy snapshot version(the first one) .
Tom

2006/6/6, Tom Joad <[EMAIL PROTECTED]>:

Hello all,
I set up maven proxy and it always worked .I didn't work with maven
since two months , i have just to reuse it.I add new dependency of my
project and when i compile it
I get error message
Caused by: java.io.IOException: Server returned HTTP response code:
403 for URL: http://10.75.202.141:2016/repository/co
mmons-fileupload/commons-fileupload/1.1/commons-fileupload-1.1.pom

I didn't change anything in configuration


http://10.75.202.141:2016/repository is the maven proxy location.
any Ideas?
Thanks in advance
Tom.



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



RE: maven proxy

2006-06-06 Thread Adam Hardy
Are you sure maven proxy is running? Can you browse
http://10.75.202.141:2016/repository ?

If so, go to the search and type in commons-fileupload so you can see if
maven-proxy is actually proxying it. (It shouldn't be if you are getting
http 403.)

Try again a couple of times. I had some connection failure messages
recently for no apparent reason. 


Adam

-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: 06 June 2006 16:04
To: Maven Users List
Subject: maven proxy

Hello all,
I set up maven proxy and it always worked .I didn't work with maven
since two months , i have just to reuse it.I add new dependency of my
project and when i compile it
I get error message
Caused by: java.io.IOException: Server returned HTTP response code:
403 for URL: http://10.75.202.141:2016/repository/co
mmons-fileupload/commons-fileupload/1.1/commons-fileupload-1.1.pom

I didn't change anything in configuration


http://10.75.202.141:2016/repository is the maven proxy location.
any Ideas?
Thanks in advance
Tom.

-
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: maven-proxy mailing list?

2006-05-26 Thread Wayne Fay

Hardware failure(s?), apparently.

Wayne

On 5/26/06, Adam Hardy <[EMAIL PROTECTED]> wrote:

Right! I thought as much, but there are some links in google to
codehaus, titled 'Codehaus Mailing List archive' - unfortunately they're
broken. What did happen at codehaus? Looks like they are recovering
slowly from Hurricane Katrina.

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: 26 May 2006 03:57
To: Maven Users List
Subject: Re: maven-proxy mailing list?

You're on it. ;-)

Wayne

On 5/25/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Is there a maven-proxy mailing list?
>
>
>
> Adam Hardy on 25/05/06 16:12, wrote:
> > OK I see.
> >
> > Does this imply that you proxy the releases repository on
> > www.ibiblio.org/maven2 but because of their transient nature you
don't
> > proxy the snapshot repository?
> >
> > Maven-proxy is confusing me with some logging output when it loads
> > stating:
> >
> > Starting...
> > Loading webapps/maven-proxy/WEB-INF/maven-proxy.properties...
> > Disabling snapshot cache
> > Repo[ibiblio]: Enabling cache with period of 3600 seconds
> > Disabling snapshot cache
> >
> > I cannot find any documentation on what that msg about disabling the
> > snapshot cache signifies.
> >
> > Is there actually a maven-proxy email list archive? Many search
links in
> > google are linking to invalid URLs on www.codehaus.org.
> >
>
> -
> 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]




-
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: maven-proxy mailing list?

2006-05-26 Thread Adam Hardy
Right! I thought as much, but there are some links in google to
codehaus, titled 'Codehaus Mailing List archive' - unfortunately they're
broken. What did happen at codehaus? Looks like they are recovering
slowly from Hurricane Katrina.  

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 26 May 2006 03:57
To: Maven Users List
Subject: Re: maven-proxy mailing list?

You're on it. ;-)

Wayne

On 5/25/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Is there a maven-proxy mailing list?
>
>
>
> Adam Hardy on 25/05/06 16:12, wrote:
> > OK I see.
> >
> > Does this imply that you proxy the releases repository on
> > www.ibiblio.org/maven2 but because of their transient nature you
don't
> > proxy the snapshot repository?
> >
> > Maven-proxy is confusing me with some logging output when it loads
> > stating:
> >
> > Starting...
> > Loading webapps/maven-proxy/WEB-INF/maven-proxy.properties...
> > Disabling snapshot cache
> > Repo[ibiblio]: Enabling cache with period of 3600 seconds
> > Disabling snapshot cache
> >
> > I cannot find any documentation on what that msg about disabling the
> > snapshot cache signifies.
> >
> > Is there actually a maven-proxy email list archive? Many search
links in
> > google are linking to invalid URLs on www.codehaus.org.
> >
>
> -
> 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]




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



Re: Maven-proxy (was Re: Rant (very long))

2006-05-26 Thread Trygve Laugstøl

Kevin Galligan wrote:

Just had a crazy thought about the "external organization making secret
changes" issue.  If the issue is with snapshot builds I guess I don't have
much for you there (other than the above, of course).  However if the
concern is simply that you don't know that what's in the repository hasn't
changed, I had a wacky idea.

Maybe we write a plugin that does the following.  When you set up a new
project or change an existing project's dependencies, you need to run that
plugin.  Something like:

mvn depend-check:build

It'll go through non-snapshot dependencies and build a datafile that 
keeps a

hash of each of the artifacts.  Keep that in the root directory next to the
'pom.xml' file, and more importantly, keep it in source control.

Attach the plugin to the build, although the goal would be like
'depend-check:check'.  This plugin would consult with the datafile built
earlier and check that each local artifact matched what was used originally
for the build.  If something doesn't match, you'll get an error and an
aborted build.


This has been asked before and would be a very useful plugin for some.

It should also be fairly easy to implement and I'm sure it would be 
accepted into the Mojo sandbox.


--
Trygve

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



Re: Maven-proxy (was Re: Rant (very long))

2006-05-26 Thread Kevin Galligan

Just had a crazy thought about the "external organization making secret
changes" issue.  If the issue is with snapshot builds I guess I don't have
much for you there (other than the above, of course).  However if the
concern is simply that you don't know that what's in the repository hasn't
changed, I had a wacky idea.

Maybe we write a plugin that does the following.  When you set up a new
project or change an existing project's dependencies, you need to run that
plugin.  Something like:

mvn depend-check:build

It'll go through non-snapshot dependencies and build a datafile that keeps a
hash of each of the artifacts.  Keep that in the root directory next to the
'pom.xml' file, and more importantly, keep it in source control.

Attach the plugin to the build, although the goal would be like
'depend-check:check'.  This plugin would consult with the datafile built
earlier and check that each local artifact matched what was used originally
for the build.  If something doesn't match, you'll get an error and an
aborted build.

I mean, personally, I'm not awake at night worried that struts 1.2.9 is
different than it was 3 months ago, but I understand from where your concern
comes.

Of course, I'm exhausted, so maybe my idea is impratical or whatever, but I
think it would serve as a decent sanity check.  if just knowing that
something is not right isn't enough, maybe as part of the release or deploy
plugins you can optionally stuff a copy of all artifacts somewhere.

As to maven being bleeding edge and being quirky, I'd agree.  However, at
this point I wouldn't start a new project without it.  And, believe me, I'm
the first guy to scream "Emporer's New Clothes" when people get overly
excited about some hyped new thing.

I'm sure I've convinced you ;)

On 5/26/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:


Uh, I guess so. ;-) I did mean "he".

Sorry, I was up late last night playing Civilization IV. (I really need to
lock my Dell up in a drawer.) I shouldn't touch a keyboard lest I break
something.

-K, off to bed


On 5/25/06 6:40 PM, "Lee Meador" <[EMAIL PROTECTED]> wrote:

> Uh .. when HE made an error. Is that another test?
>
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>
>> I actually meant scpexe. "I was just testing you," as my ex-father in
law
>> would say when I made an error.
>>
>> -K
>>
>>
>> On 5/25/06 5:45 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>
>>> Yes you use the maven-proxy to serve the internal repository.
>>>
>>> What do you mean my sshext?
>>>
>>> Ben
>>>
>>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
 Yes, it helps, as does Daniel Kulp's message. You don't need to proxy
>> your
 inhouse repo, but you can just to simplify things.

 My issue is that I'm at a university, where I don't have a developer
 intranet for my team, so my inhouse repo is accessed via sshext for
>> access
 control reasons.

 If my VPN were smarter I could use Apache's access control mechanisms
>> to
 restrict access to the team, but it's pretty limited.

 If access control were easier to delegate I maybe could use
Shibboleth
>> or
 something. (I manage Shibboleth for our campus.)

 -K


 On 5/25/06 5:11 PM, "ben short" <[EMAIL PROTECTED]> wrote:

> Well you wouldnt.
>
> The proxy is used to cache ( and persist ) the dependancies that are
> hosted on the remote maven repos, like codehaus and ibilo. The means
> that your developers have access to the dependacies at a high speed,
> after they have been downloaded by the proxy.
>
> Now an inhouse repositry would be seperate. In this you would store
> all the jar that you produce and want to share between your
> development team.
>
> Does that help?
>
> Ben
>
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> Of course, one answer leads to another question... ;-)
>>
>> Why bother proxying inhouse repositories? I don't see the logic
>> there.
>>
>> -K
>>
>>
>> On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:
>>
>>> In that case, I'll stick with the webapp. Thanks much! -K
>>>
>>>
>>> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>>
 Kathryn

 The idea is to have one proxy per organisation. That way if all
the
 programmers need spring as a dependancy, the proxy only downloads
>> it
 once, when the first programmer tries to build their project. the
>> next
 programmer gets the dependancy from the proxy, making it much
>> faster.

 Ben


 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
>
> Is the general opinion that each developer should set up
>> maven-proxy on
> their own machine, or have one proxy site for an organization?
If
>> it's
> on
> my
>>

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Kathryn Huxtable
Uh, I guess so. ;-) I did mean "he".

Sorry, I was up late last night playing Civilization IV. (I really need to
lock my Dell up in a drawer.) I shouldn't touch a keyboard lest I break
something.

-K, off to bed


On 5/25/06 6:40 PM, "Lee Meador" <[EMAIL PROTECTED]> wrote:

> Uh .. when HE made an error. Is that another test?
> 
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> 
>> I actually meant scpexe. "I was just testing you," as my ex-father in law
>> would say when I made an error.
>> 
>> -K
>> 
>> 
>> On 5/25/06 5:45 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>> 
>>> Yes you use the maven-proxy to serve the internal repository.
>>> 
>>> What do you mean my sshext?
>>> 
>>> Ben
>>> 
>>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
 Yes, it helps, as does Daniel Kulp's message. You don't need to proxy
>> your
 inhouse repo, but you can just to simplify things.
 
 My issue is that I'm at a university, where I don't have a developer
 intranet for my team, so my inhouse repo is accessed via sshext for
>> access
 control reasons.
 
 If my VPN were smarter I could use Apache's access control mechanisms
>> to
 restrict access to the team, but it's pretty limited.
 
 If access control were easier to delegate I maybe could use Shibboleth
>> or
 something. (I manage Shibboleth for our campus.)
 
 -K
 
 
 On 5/25/06 5:11 PM, "ben short" <[EMAIL PROTECTED]> wrote:
 
> Well you wouldnt.
> 
> The proxy is used to cache ( and persist ) the dependancies that are
> hosted on the remote maven repos, like codehaus and ibilo. The means
> that your developers have access to the dependacies at a high speed,
> after they have been downloaded by the proxy.
> 
> Now an inhouse repositry would be seperate. In this you would store
> all the jar that you produce and want to share between your
> development team.
> 
> Does that help?
> 
> Ben
> 
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> Of course, one answer leads to another question... ;-)
>> 
>> Why bother proxying inhouse repositories? I don't see the logic
>> there.
>> 
>> -K
>> 
>> 
>> On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:
>> 
>>> In that case, I'll stick with the webapp. Thanks much! -K
>>> 
>>> 
>>> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>> 
 Kathryn
 
 The idea is to have one proxy per organisation. That way if all the
 programmers need spring as a dependancy, the proxy only downloads
>> it
 once, when the first programmer tries to build their project. the
>> next
 programmer gets the dependancy from the proxy, making it much
>> faster.
 
 Ben
 
 
 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
> 
> Is the general opinion that each developer should set up
>> maven-proxy on
> their own machine, or have one proxy site for an organization? If
>> it's
> on
> my
> local machine I can use standalone.
> 
> -K
> 
> 
> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
> 
>> Kathryn.
>> 
>> You need to add the following to your settings.xml.
>> 
>> 
>> central
>> Internal Mirror
>> http://url.to.your.proxy
>> local-proxy
>> 
>> 
>> When you rum mvn on your local machine it will go to your proxy
>> for
>> the plugins and dependancies it needs. If the proxy doesnt have
>> the
>> requested jars it will try and get them from ibiblio, codehaus or
>> other remote repositries.
>> 
>> Ben
>> 
>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>> Okay, I'll bite. I just set up maven-proxy-webapp (my team
>> doesn't
>>> have
>>> control over the firewall settings for our web servers, so I
>> need to
>>> have
>>> this on 80/443).
>>> 
>>> I copied a maven-proxy-config.properties file from somewhere and
>>> edited
>>> the
>>> WEB_ROOT to be my local locations.
>>> 
>>> What now?
>>> 
>>> What do I change in settings.xml and pom.xml to make this work?
>>> 
>>> And how do I populate the proxy with jars so that the next time
>>> codehaus
>>> or
>>> ibiblio is down I can get work done?
>>> 
>>> -K
>>> 
>>> 
>>> On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
>>> 
 Chas, i feel your pains, so here a list of my own
>> recommendations:
 
   1.  Get a maven-proxy in place, so when a central rep

Re: maven-proxy mailing list?

2006-05-25 Thread Wayne Fay

You're on it. ;-)

Wayne

On 5/25/06, Adam Hardy <[EMAIL PROTECTED]> wrote:

Is there a maven-proxy mailing list?



Adam Hardy on 25/05/06 16:12, wrote:
> OK I see.
>
> Does this imply that you proxy the releases repository on
> www.ibiblio.org/maven2 but because of their transient nature you don't
> proxy the snapshot repository?
>
> Maven-proxy is confusing me with some logging output when it loads
> stating:
>
> Starting...
> Loading webapps/maven-proxy/WEB-INF/maven-proxy.properties...
> Disabling snapshot cache
> Repo[ibiblio]: Enabling cache with period of 3600 seconds
> Disabling snapshot cache
>
> I cannot find any documentation on what that msg about disabling the
> snapshot cache signifies.
>
> Is there actually a maven-proxy email list archive? Many search links in
> google are linking to invalid URLs on www.codehaus.org.
>

-
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: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Lee Meador

Uh .. when HE made an error. Is that another test?

On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:


I actually meant scpexe. "I was just testing you," as my ex-father in law
would say when I made an error.

-K


On 5/25/06 5:45 PM, "ben short" <[EMAIL PROTECTED]> wrote:

> Yes you use the maven-proxy to serve the internal repository.
>
> What do you mean my sshext?
>
> Ben
>
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> Yes, it helps, as does Daniel Kulp's message. You don't need to proxy
your
>> inhouse repo, but you can just to simplify things.
>>
>> My issue is that I'm at a university, where I don't have a developer
>> intranet for my team, so my inhouse repo is accessed via sshext for
access
>> control reasons.
>>
>> If my VPN were smarter I could use Apache's access control mechanisms
to
>> restrict access to the team, but it's pretty limited.
>>
>> If access control were easier to delegate I maybe could use Shibboleth
or
>> something. (I manage Shibboleth for our campus.)
>>
>> -K
>>
>>
>> On 5/25/06 5:11 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>
>>> Well you wouldnt.
>>>
>>> The proxy is used to cache ( and persist ) the dependancies that are
>>> hosted on the remote maven repos, like codehaus and ibilo. The means
>>> that your developers have access to the dependacies at a high speed,
>>> after they have been downloaded by the proxy.
>>>
>>> Now an inhouse repositry would be seperate. In this you would store
>>> all the jar that you produce and want to share between your
>>> development team.
>>>
>>> Does that help?
>>>
>>> Ben
>>>
>>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
 Of course, one answer leads to another question... ;-)

 Why bother proxying inhouse repositories? I don't see the logic
there.

 -K


 On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:

> In that case, I'll stick with the webapp. Thanks much! -K
>
>
> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>
>> Kathryn
>>
>> The idea is to have one proxy per organisation. That way if all the
>> programmers need spring as a dependancy, the proxy only downloads
it
>> once, when the first programmer tries to build their project. the
next
>> programmer gets the dependancy from the proxy, making it much
faster.
>>
>> Ben
>>
>>
>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>> Thanks, that worked.
>>>
>>> Is the general opinion that each developer should set up
maven-proxy on
>>> their own machine, or have one proxy site for an organization? If
it's
>>> on
>>> my
>>> local machine I can use standalone.
>>>
>>> -K
>>>
>>>
>>> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>>
 Kathryn.

 You need to add the following to your settings.xml.

 
 central
 Internal Mirror
 http://url.to.your.proxy
 local-proxy
 

 When you rum mvn on your local machine it will go to your proxy
for
 the plugins and dependancies it needs. If the proxy doesnt have
the
 requested jars it will try and get them from ibiblio, codehaus or
 other remote repositries.

 Ben

 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Okay, I'll bite. I just set up maven-proxy-webapp (my team
doesn't
> have
> control over the firewall settings for our web servers, so I
need to
> have
> this on 80/443).
>
> I copied a maven-proxy-config.properties file from somewhere and
> edited
> the
> WEB_ROOT to be my local locations.
>
> What now?
>
> What do I change in settings.xml and pom.xml to make this work?
>
> And how do I populate the proxy with jars so that the next time
> codehaus
> or
> ibiblio is down I can get work done?
>
> -K
>
>
> On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
>
>> Chas, i feel your pains, so here a list of my own
recommendations:
>>
>>   1.  Get a maven-proxy in place, so when a central repo is
down, you
>> can
>> switch to
>>a another mirror without user notice.  Set up
maven-proxy is
>> not
>> that
>> hard ;-)
>>check out archive list for all maven-proxy
discussion.  Feel
>> free
>> to
>> ping us for help
>>
>>   2.  Dont use snapshot,  cut a release yourself.  I fetch the
source
>> and
>> post fix the version
>>with svn revision number.  For example, if I need a
>> feature/bug
>> fix
>> in maven-assembly-plugin
>>version 2.2-snapshot,  then I 

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Kathryn Huxtable
I actually meant scpexe. "I was just testing you," as my ex-father in law
would say when I made an error.

-K


On 5/25/06 5:45 PM, "ben short" <[EMAIL PROTECTED]> wrote:

> Yes you use the maven-proxy to serve the internal repository.
> 
> What do you mean my sshext?
> 
> Ben
> 
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> Yes, it helps, as does Daniel Kulp's message. You don't need to proxy your
>> inhouse repo, but you can just to simplify things.
>> 
>> My issue is that I'm at a university, where I don't have a developer
>> intranet for my team, so my inhouse repo is accessed via sshext for access
>> control reasons.
>> 
>> If my VPN were smarter I could use Apache's access control mechanisms to
>> restrict access to the team, but it's pretty limited.
>> 
>> If access control were easier to delegate I maybe could use Shibboleth or
>> something. (I manage Shibboleth for our campus.)
>> 
>> -K
>> 
>> 
>> On 5/25/06 5:11 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>> 
>>> Well you wouldnt.
>>> 
>>> The proxy is used to cache ( and persist ) the dependancies that are
>>> hosted on the remote maven repos, like codehaus and ibilo. The means
>>> that your developers have access to the dependacies at a high speed,
>>> after they have been downloaded by the proxy.
>>> 
>>> Now an inhouse repositry would be seperate. In this you would store
>>> all the jar that you produce and want to share between your
>>> development team.
>>> 
>>> Does that help?
>>> 
>>> Ben
>>> 
>>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
 Of course, one answer leads to another question... ;-)
 
 Why bother proxying inhouse repositories? I don't see the logic there.
 
 -K
 
 
 On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:
 
> In that case, I'll stick with the webapp. Thanks much! -K
> 
> 
> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
> 
>> Kathryn
>> 
>> The idea is to have one proxy per organisation. That way if all the
>> programmers need spring as a dependancy, the proxy only downloads it
>> once, when the first programmer tries to build their project. the next
>> programmer gets the dependancy from the proxy, making it much faster.
>> 
>> Ben
>> 
>> 
>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>> Thanks, that worked.
>>> 
>>> Is the general opinion that each developer should set up maven-proxy on
>>> their own machine, or have one proxy site for an organization? If it's
>>> on
>>> my
>>> local machine I can use standalone.
>>> 
>>> -K
>>> 
>>> 
>>> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>> 
 Kathryn.
 
 You need to add the following to your settings.xml.
 
 
 central
 Internal Mirror
 http://url.to.your.proxy
 local-proxy
 
 
 When you rum mvn on your local machine it will go to your proxy for
 the plugins and dependancies it needs. If the proxy doesnt have the
 requested jars it will try and get them from ibiblio, codehaus or
 other remote repositries.
 
 Ben
 
 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Okay, I'll bite. I just set up maven-proxy-webapp (my team doesn't
> have
> control over the firewall settings for our web servers, so I need to
> have
> this on 80/443).
> 
> I copied a maven-proxy-config.properties file from somewhere and
> edited
> the
> WEB_ROOT to be my local locations.
> 
> What now?
> 
> What do I change in settings.xml and pom.xml to make this work?
> 
> And how do I populate the proxy with jars so that the next time
> codehaus
> or
> ibiblio is down I can get work done?
> 
> -K
> 
> 
> On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
> 
>> Chas, i feel your pains, so here a list of my own recommendations:
>> 
>>   1.  Get a maven-proxy in place, so when a central repo is down, you
>> can
>> switch to
>>a another mirror without user notice.  Set up maven-proxy is
>> not
>> that
>> hard ;-)
>>check out archive list for all maven-proxy discussion.  Feel
>> free
>> to
>> ping us for help
>> 
>>   2.  Dont use snapshot,  cut a release yourself.  I fetch the source
>> and
>> post fix the version
>>with svn revision number.  For example, if I need a
>> feature/bug
>> fix
>> in maven-assembly-plugin
>>version 2.2-snapshot,  then I build 2.2-${svn.revision} and
>> deploy
>> to
>>

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread ben short

Yes you use the maven-proxy to serve the internal repository.

What do you mean my sshext?

Ben

On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:

Yes, it helps, as does Daniel Kulp's message. You don't need to proxy your
inhouse repo, but you can just to simplify things.

My issue is that I'm at a university, where I don't have a developer
intranet for my team, so my inhouse repo is accessed via sshext for access
control reasons.

If my VPN were smarter I could use Apache's access control mechanisms to
restrict access to the team, but it's pretty limited.

If access control were easier to delegate I maybe could use Shibboleth or
something. (I manage Shibboleth for our campus.)

-K


On 5/25/06 5:11 PM, "ben short" <[EMAIL PROTECTED]> wrote:

> Well you wouldnt.
>
> The proxy is used to cache ( and persist ) the dependancies that are
> hosted on the remote maven repos, like codehaus and ibilo. The means
> that your developers have access to the dependacies at a high speed,
> after they have been downloaded by the proxy.
>
> Now an inhouse repositry would be seperate. In this you would store
> all the jar that you produce and want to share between your
> development team.
>
> Does that help?
>
> Ben
>
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> Of course, one answer leads to another question... ;-)
>>
>> Why bother proxying inhouse repositories? I don't see the logic there.
>>
>> -K
>>
>>
>> On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:
>>
>>> In that case, I'll stick with the webapp. Thanks much! -K
>>>
>>>
>>> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>>
 Kathryn

 The idea is to have one proxy per organisation. That way if all the
 programmers need spring as a dependancy, the proxy only downloads it
 once, when the first programmer tries to build their project. the next
 programmer gets the dependancy from the proxy, making it much faster.

 Ben


 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
>
> Is the general opinion that each developer should set up maven-proxy on
> their own machine, or have one proxy site for an organization? If it's on
> my
> local machine I can use standalone.
>
> -K
>
>
> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>
>> Kathryn.
>>
>> You need to add the following to your settings.xml.
>>
>> 
>> central
>> Internal Mirror
>> http://url.to.your.proxy
>> local-proxy
>> 
>>
>> When you rum mvn on your local machine it will go to your proxy for
>> the plugins and dependancies it needs. If the proxy doesnt have the
>> requested jars it will try and get them from ibiblio, codehaus or
>> other remote repositries.
>>
>> Ben
>>
>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>> Okay, I'll bite. I just set up maven-proxy-webapp (my team doesn't have
>>> control over the firewall settings for our web servers, so I need to
>>> have
>>> this on 80/443).
>>>
>>> I copied a maven-proxy-config.properties file from somewhere and edited
>>> the
>>> WEB_ROOT to be my local locations.
>>>
>>> What now?
>>>
>>> What do I change in settings.xml and pom.xml to make this work?
>>>
>>> And how do I populate the proxy with jars so that the next time codehaus
>>> or
>>> ibiblio is down I can get work done?
>>>
>>> -K
>>>
>>>
>>> On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
>>>
 Chas, i feel your pains, so here a list of my own recommendations:

   1.  Get a maven-proxy in place, so when a central repo is down, you
 can
 switch to
a another mirror without user notice.  Set up maven-proxy is not
 that
 hard ;-)
check out archive list for all maven-proxy discussion.  Feel
 free
 to
 ping us for help

   2.  Dont use snapshot,  cut a release yourself.  I fetch the source
 and
 post fix the version
with svn revision number.  For example, if I need a feature/bug
 fix
 in maven-assembly-plugin
version 2.2-snapshot,  then I build 2.2-${svn.revision} and
 deploy
 to
 your
internal repository that can serve by maven-proxy.

   3.  Use pluginManagement to specify all plugins that used by your
 project'poms.
This get your team's build much faster since it does not have to
 go
 to maven-proxy to look
for daily update.

 This settup will prevent most of maven's uncertainties that others and
 I
 have gone thru

 Hope it helps

 -D




>>>

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Tamás Cservenák

I think it help.

The good thing about two existing known maven-proxies (codehaus maven-proxy
and Proximity) is that they're actually 2in1 solutions. They are NOT
strictly a proxy as a HTTP proxy. The are just ABLE to behave like http
proxy (or the logic that drives them is similar to HTTP proxy).

They are also fully functional when it comes to repository hosting too. And
you have extras: fast searching, access management, etc.

My practice with Proximity is following:

define proxied repo for central, codehaus, etc...
define LOCAL (so not proxied reposes) like inhouse, etc.

Proxy storages are handled ONLY BY Proximity.
And PUBLISH local proxy storages using standard ways (ftp, sftp, sambe,
nfs...) and make your developers DEPLOY onto them using Maven2 itself! In
case of a commercial project, it should be right in the superpom where is
the deployment area, etc...

In our house, we use JDS2* with well defined paths and URLs. On POM creation
a developer knowing the project ID of project (this ID is used in paths,
URLs, mailing list names, etc something like SourceForge project id) can
write complete POM almost out of his head.

And it's easier to maintain (one application in company does proxying and
hosting) - one backup - one thing less to worry.

Some WIKI scratch that tries to define JDS2 and what it should be.
https://is-micro.myip.hu/trac/ismicro-jds2

~t~

On 5/26/06, ben short <[EMAIL PROTECTED]> wrote:


Well you wouldnt.

The proxy is used to cache ( and persist ) the dependancies that are
hosted on the remote maven repos, like codehaus and ibilo. The means
that your developers have access to the dependacies at a high speed,
after they have been downloaded by the proxy.

Now an inhouse repositry would be seperate. In this you would store
all the jar that you produce and want to share between your
development team.

Does that help?

Ben



Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Kathryn Huxtable
Yes, it helps, as does Daniel Kulp's message. You don't need to proxy your
inhouse repo, but you can just to simplify things.

My issue is that I'm at a university, where I don't have a developer
intranet for my team, so my inhouse repo is accessed via sshext for access
control reasons.

If my VPN were smarter I could use Apache's access control mechanisms to
restrict access to the team, but it's pretty limited.

If access control were easier to delegate I maybe could use Shibboleth or
something. (I manage Shibboleth for our campus.)

-K


On 5/25/06 5:11 PM, "ben short" <[EMAIL PROTECTED]> wrote:

> Well you wouldnt.
> 
> The proxy is used to cache ( and persist ) the dependancies that are
> hosted on the remote maven repos, like codehaus and ibilo. The means
> that your developers have access to the dependacies at a high speed,
> after they have been downloaded by the proxy.
> 
> Now an inhouse repositry would be seperate. In this you would store
> all the jar that you produce and want to share between your
> development team.
> 
> Does that help?
> 
> Ben
> 
> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>> Of course, one answer leads to another question... ;-)
>> 
>> Why bother proxying inhouse repositories? I don't see the logic there.
>> 
>> -K
>> 
>> 
>> On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:
>> 
>>> In that case, I'll stick with the webapp. Thanks much! -K
>>> 
>>> 
>>> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>> 
 Kathryn
 
 The idea is to have one proxy per organisation. That way if all the
 programmers need spring as a dependancy, the proxy only downloads it
 once, when the first programmer tries to build their project. the next
 programmer gets the dependancy from the proxy, making it much faster.
 
 Ben
 
 
 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Thanks, that worked.
> 
> Is the general opinion that each developer should set up maven-proxy on
> their own machine, or have one proxy site for an organization? If it's on
> my
> local machine I can use standalone.
> 
> -K
> 
> 
> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
> 
>> Kathryn.
>> 
>> You need to add the following to your settings.xml.
>> 
>> 
>> central
>> Internal Mirror
>> http://url.to.your.proxy
>> local-proxy
>> 
>> 
>> When you rum mvn on your local machine it will go to your proxy for
>> the plugins and dependancies it needs. If the proxy doesnt have the
>> requested jars it will try and get them from ibiblio, codehaus or
>> other remote repositries.
>> 
>> Ben
>> 
>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>> Okay, I'll bite. I just set up maven-proxy-webapp (my team doesn't have
>>> control over the firewall settings for our web servers, so I need to
>>> have
>>> this on 80/443).
>>> 
>>> I copied a maven-proxy-config.properties file from somewhere and edited
>>> the
>>> WEB_ROOT to be my local locations.
>>> 
>>> What now?
>>> 
>>> What do I change in settings.xml and pom.xml to make this work?
>>> 
>>> And how do I populate the proxy with jars so that the next time codehaus
>>> or
>>> ibiblio is down I can get work done?
>>> 
>>> -K
>>> 
>>> 
>>> On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
>>> 
 Chas, i feel your pains, so here a list of my own recommendations:
 
   1.  Get a maven-proxy in place, so when a central repo is down, you
 can
 switch to
a another mirror without user notice.  Set up maven-proxy is not
 that
 hard ;-)
check out archive list for all maven-proxy discussion.  Feel
 free
 to
 ping us for help
 
   2.  Dont use snapshot,  cut a release yourself.  I fetch the source
 and
 post fix the version
with svn revision number.  For example, if I need a feature/bug
 fix
 in maven-assembly-plugin
version 2.2-snapshot,  then I build 2.2-${svn.revision} and
 deploy
 to
 your
internal repository that can serve by maven-proxy.
 
   3.  Use pluginManagement to specify all plugins that used by your
 project'poms.
This get your team's build much faster since it does not have to
 go
 to maven-proxy to look
for daily update.
 
 This settup will prevent most of maven's uncertainties that others and
 I
 have gone thru
 
 Hope it helps
 
 -D
 
 
 
 
 
 On 5/25/06, Chas Douglass <[EMAIL PROTECTED]> wrote:
> 
> I really liked the idea 

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Daniel Kulp


Well,  we actually use maven-proxy to host the inhouse repository.  
Basically, we have it configured with repo.local.store pointing to the 
actual repository dir and repo.list empty.   Thus, it just serves up 
what's in the dir.

The main reason we did that was for the search capabilities.   A developer 
can point at the repository URL and execute a search.   Works quite well 
when it gets large.Keeps people from having to log into the machine 
and running a "find".   It also means the "UI" is exactly the same for 
the proxied content as the non-proxied content.

That said, we DO use maven-proxies at our other remote sites to proxy the 
inhouse repository.   That's just a performance enhancement though.   The 
VPN between the sites isn't always very good.

Enjoy!
Dan



On Thursday 25 May 2006 18:01, Kathryn Huxtable wrote:
> Of course, one answer leads to another question... ;-)
>
> Why bother proxying inhouse repositories? I don't see the logic there.
>
> -K
>
> On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:
> > In that case, I'll stick with the webapp. Thanks much! -K
> >
> > On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
> >> Kathryn
> >>
> >> The idea is to have one proxy per organisation. That way if all the
> >> programmers need spring as a dependancy, the proxy only downloads it
> >> once, when the first programmer tries to build their project. the
> >> next programmer gets the dependancy from the proxy, making it much
> >> faster.
> >>
> >> Ben
> >>
> >> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> >>> Thanks, that worked.
> >>>
> >>> Is the general opinion that each developer should set up
> >>> maven-proxy on their own machine, or have one proxy site for an
> >>> organization? If it's on my local machine I can use standalone.
> >>>
> >>> -K
> >>>
> >>> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>  Kathryn.
> 
>  You need to add the following to your settings.xml.
> 
>  
>  central
>  Internal Mirror
>  http://url.to.your.proxy
>  local-proxy
>  
> 
>  When you rum mvn on your local machine it will go to your proxy
>  for the plugins and dependancies it needs. If the proxy doesnt
>  have the requested jars it will try and get them from ibiblio,
>  codehaus or other remote repositries.
> 
>  Ben
> 
>  On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> > Okay, I'll bite. I just set up maven-proxy-webapp (my team
> > doesn't have control over the firewall settings for our web
> > servers, so I need to have this on 80/443).
> >
> > I copied a maven-proxy-config.properties file from somewhere and
> > edited the
> > WEB_ROOT to be my local locations.
> >
> > What now?
> >
> > What do I change in settings.xml and pom.xml to make this work?
> >
> > And how do I populate the proxy with jars so that the next time
> > codehaus or
> > ibiblio is down I can get work done?
> >
> > -K
> >
> > On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
> >> Chas, i feel your pains, so here a list of my own
> >> recommendations:
> >>
> >>   1.  Get a maven-proxy in place, so when a central repo is
> >> down, you can switch to
> >>a another mirror without user notice.  Set up maven-proxy
> >> is not that
> >> hard ;-)
> >>check out archive list for all maven-proxy discussion. 
> >> Feel free to
> >> ping us for help
> >>
> >>   2.  Dont use snapshot,  cut a release yourself.  I fetch the
> >> source and post fix the version
> >>with svn revision number.  For example, if I need a
> >> feature/bug fix
> >> in maven-assembly-plugin
> >>version 2.2-snapshot,  then I build 2.2-${svn.revision}
> >> and deploy to
> >> your
> >>internal repository that can serve by maven-proxy.
> >>
> >>   3.  Use pluginManagement to specify all plugins that used by
> >> your project'poms.
> >>This get your team's build much faster since it does not
> >> have to go
> >> to maven-proxy to look
> >>for daily update.
> >>
> >> This settup will prevent most of maven's uncertainties that
> >> others and I have gone thru
> >>
> >> Hope it helps
> >>
> >> -D
> >>
> >> On 5/25/06, Chas Douglass <[EMAIL PROTECTED]> wrote:
> >>> I really liked the idea of Maven2 when I heard about it, and
> >>> when a fellow developer used it successfully to build a small
> >>> library for me, I thought it was time to jump in.
> >>>
> >>> Three weeks later I have managed to accomplish very little on
> >>> my project, and I've converted four simple Ant build files into
> >>> 7 Maven pom.xml's that, by and large, don't work.
> >>>
> >>> THE IMPLEMENTATION PROBLEMS
> >>> To advertise Maven 2 as "stable" is, 

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread ben short

Well you wouldnt.

The proxy is used to cache ( and persist ) the dependancies that are
hosted on the remote maven repos, like codehaus and ibilo. The means
that your developers have access to the dependacies at a high speed,
after they have been downloaded by the proxy.

Now an inhouse repositry would be seperate. In this you would store
all the jar that you produce and want to share between your
development team.

Does that help?

Ben

On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:

Of course, one answer leads to another question... ;-)

Why bother proxying inhouse repositories? I don't see the logic there.

-K


On 5/25/06 4:58 PM, "Kathryn Huxtable" <[EMAIL PROTECTED]> wrote:

> In that case, I'll stick with the webapp. Thanks much! -K
>
>
> On 5/25/06 4:56 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>
>> Kathryn
>>
>> The idea is to have one proxy per organisation. That way if all the
>> programmers need spring as a dependancy, the proxy only downloads it
>> once, when the first programmer tries to build their project. the next
>> programmer gets the dependancy from the proxy, making it much faster.
>>
>> Ben
>>
>>
>> On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
>>> Thanks, that worked.
>>>
>>> Is the general opinion that each developer should set up maven-proxy on
>>> their own machine, or have one proxy site for an organization? If it's on my
>>> local machine I can use standalone.
>>>
>>> -K
>>>
>>>
>>> On 5/25/06 2:36 PM, "ben short" <[EMAIL PROTECTED]> wrote:
>>>
 Kathryn.

 You need to add the following to your settings.xml.

 
 central
 Internal Mirror
 http://url.to.your.proxy
 local-proxy
 

 When you rum mvn on your local machine it will go to your proxy for
 the plugins and dependancies it needs. If the proxy doesnt have the
 requested jars it will try and get them from ibiblio, codehaus or
 other remote repositries.

 Ben

 On 5/25/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:
> Okay, I'll bite. I just set up maven-proxy-webapp (my team doesn't have
> control over the firewall settings for our web servers, so I need to have
> this on 80/443).
>
> I copied a maven-proxy-config.properties file from somewhere and edited
> the
> WEB_ROOT to be my local locations.
>
> What now?
>
> What do I change in settings.xml and pom.xml to make this work?
>
> And how do I populate the proxy with jars so that the next time codehaus
> or
> ibiblio is down I can get work done?
>
> -K
>
>
> On 5/25/06 11:51 AM, "dan tran" <[EMAIL PROTECTED]> wrote:
>
>> Chas, i feel your pains, so here a list of my own recommendations:
>>
>>   1.  Get a maven-proxy in place, so when a central repo is down, you can
>> switch to
>>a another mirror without user notice.  Set up maven-proxy is not
>> that
>> hard ;-)
>>check out archive list for all maven-proxy discussion.  Feel free
>> to
>> ping us for help
>>
>>   2.  Dont use snapshot,  cut a release yourself.  I fetch the source and
>> post fix the version
>>with svn revision number.  For example, if I need a feature/bug
>> fix
>> in maven-assembly-plugin
>>version 2.2-snapshot,  then I build 2.2-${svn.revision} and deploy
>> to
>> your
>>internal repository that can serve by maven-proxy.
>>
>>   3.  Use pluginManagement to specify all plugins that used by your
>> project'poms.
>>This get your team's build much faster since it does not have to
>> go
>> to maven-proxy to look
>>for daily update.
>>
>> This settup will prevent most of maven's uncertainties that others and I
>> have gone thru
>>
>> Hope it helps
>>
>> -D
>>
>>
>>
>>
>>
>> On 5/25/06, Chas Douglass <[EMAIL PROTECTED]> wrote:
>>>
>>> I really liked the idea of Maven2 when I heard about it, and when a
>>> fellow developer used it successfully to build a small library for me, I
>>> thought it was time to jump in.
>>>
>>> Three weeks later I have managed to accomplish very little on my
>>> project, and I've converted four simple Ant build files into 7 Maven
>>> pom.xml's that, by and large, don't work.
>>>
>>> THE IMPLEMENTATION PROBLEMS
>>> To advertise Maven 2 as "stable" is, I believe, a disservice to
>>> developers.  In my experience with it, "early beta" would be a kind
>>> description.
>>>
>>> After struggling for the first week with broken links and dead-ends on
>>> the web pages, I subscribed to the users list and found out there is a
>>> "secret" book that documents much of Maven (ok, it's not really secret,
>>> but should I really have to subscribe to a mailing list to find out
>>> there is more documentation?).
>>>
>>> Of course, the

Re: Maven-proxy (was Re: Rant (very long))

2006-05-25 Thread Tamás Cservenák

Inhouse repo, if you look at Proximity is very important to achieve stable
and controlled build environment.

If you have some company level (reaches through more separate projects)
some-utility.jar, how will you spread it amongst developers? How will you
achieve if some-utility.jar is updated, to update all developer environment
too?

Will everybody issue "maven install:install-file"? They could :)

Publish it on the inhouse repo and done. Every developer will acess your
artifact as they access for example log4j.

See here
https://is-micro.myip.hu/projects/ismicro-commons/proximity/

~t~

On 5/26/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote:


Of course, one answer leads to another question... ;-)

Why bother proxying inhouse repositories? I don't see the logic there.

-K



Re: Maven Proxy

2006-04-27 Thread Clifton Craig
On Wednesday 26 April 2006 5:41 pm, Alex Mayorga Adame wrote:
> Just for the record, what's the JIRA?

I submitted mavenproxy-46 for this bug.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Maven Proxy

2006-04-26 Thread Alexandre Poitras
haha I think you're right. I have had a very very thought week so far
so forget it!

On 4/26/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Actually I don't think his question was "what is JIRA" instead it was
> "what is the JIRA number for this bug, so I can track/vote/comment on
> it"... Could be wrong tho. ;-)
>
> Wayne
>
> On 4/26/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > An issue tracker system, the one used by Maven community.
> >
> > On 4/26/06, Alex Mayorga Adame <[EMAIL PROTECTED]> wrote:
> > >
> > > Just for the record, what's the JIRA?
> > > --
> > > View this message in context: 
> > > http://www.nabble.com/Maven-Proxy-t1504552.html#a4110268
> > > Sent from the Maven - Users forum at Nabble.com.
> > >
> > >
> > > -
> > > 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]
> >
> >
>

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



Re: Maven Proxy

2006-04-26 Thread Wayne Fay
Actually I don't think his question was "what is JIRA" instead it was
"what is the JIRA number for this bug, so I can track/vote/comment on
it"... Could be wrong tho. ;-)

Wayne

On 4/26/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> An issue tracker system, the one used by Maven community.
>
> On 4/26/06, Alex Mayorga Adame <[EMAIL PROTECTED]> wrote:
> >
> > Just for the record, what's the JIRA?
> > --
> > View this message in context: 
> > http://www.nabble.com/Maven-Proxy-t1504552.html#a4110268
> > Sent from the Maven - Users forum at Nabble.com.
> >
> >
> > -
> > 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: Maven Proxy

2006-04-26 Thread Alexandre Poitras
An issue tracker system, the one used by Maven community.

On 4/26/06, Alex Mayorga Adame <[EMAIL PROTECTED]> wrote:
>
> Just for the record, what's the JIRA?
> --
> View this message in context: 
> http://www.nabble.com/Maven-Proxy-t1504552.html#a4110268
> Sent from the Maven - Users forum at Nabble.com.
>
>
> -
> 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: Maven Proxy

2006-04-26 Thread Alex Mayorga Adame

Just for the record, what's the JIRA?
--
View this message in context: 
http://www.nabble.com/Maven-Proxy-t1504552.html#a4110268
Sent from the Maven - Users forum at Nabble.com.


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



Re: Maven Proxy

2006-04-26 Thread Clifton Craig
On Wednesday 26 April 2006 4:15 pm, Wayne Fay wrote:
> I hope you file this as a JIRA bug and include details for fixing it
> etc... Great job tracking down the problem.
>
> Wayne

Thanx Wayne. The issue is filed. I hope it doesn't bite anyone else too hard. 
I've already had discussion with at least one other person on IRC who gave up 
on Maven proxy because they couldn't get it set up correctly. I'd love to 
supply some additional documentation for the project if only to help others 
who may be suffering as I was.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: maven proxy settings - security hazard

2006-04-26 Thread Kathryn Huxtable
I always use scpexe instead of scp, thus enabling me to use ssh-agent (or
pageant if you're using putty on windows) to hold my credentials. That way
the only thing that is in the file is the location of my key and my
username. The passphrase must be entered by me externally.

-K


On 4/26/06 3:22 PM, "Kenney Westerhof" <[EMAIL PROTECTED]> wrote:

> On Wed, 26 Apr 2006, Shukla, Sanjay wrote:
> 
>> Maven needs proxy server url and credential information.
>> 
>> However this poses a security risk as your password is in a plain text
>> format. Is there some way to circumvent this ?
> 
> I don't think so. But you can use unix file/directory permissions to
> disallow anybody but you access to that file. Ofcourse root can always
> access your files but they usually also manage the proxy accounts.
> 
> -- Kenney
> 
>> 
>> .m2/settings.xml
>> 
>>   
>>  
>>   1001
>>   true
>>   http
>>   me
>>   pass
>>   ip
>>   port
>>   localhost
>> 
>> 
>> 
>> 
>> Sanjay Shukla,
>> HPI Product Engineering, 2 Penn Plaza, NY.
>> 212 904 3629 Office
>> 732 692 4419 Cell
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
> 
> -
> 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: maven proxy settings - security hazard

2006-04-26 Thread Kenney Westerhof
On Wed, 26 Apr 2006, Shukla, Sanjay wrote:

> Maven needs proxy server url and credential information.
>
> However this poses a security risk as your password is in a plain text
> format. Is there some way to circumvent this ?

I don't think so. But you can use unix file/directory permissions to
disallow anybody but you access to that file. Ofcourse root can always
access your files but they usually also manage the proxy accounts.

-- Kenney

>
> .m2/settings.xml
>
>   
>  
>   1001
>   true
>   http
>   me
>   pass
>   ip
>   port
>   localhost
> 
> 
>
>
> Sanjay Shukla,
> HPI Product Engineering, 2 Penn Plaza, NY.
> 212 904 3629 Office
> 732 692 4419 Cell
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Re: Maven Proxy

2006-04-26 Thread Wayne Fay
I hope you file this as a JIRA bug and include details for fixing it
etc... Great job tracking down the problem.

Wayne

On 4/26/06, Clifton Craig <[EMAIL PROTECTED]> wrote:
> On Wednesday 26 April 2006 11:42 am, Ben Short wrote:
> > Craig,
> >
> > I will post my setup to see if it helps you.
>
> I got it! I figured out the problem and I fixed it!! The problem was
> commons-httpclient. Maven-proxy ships with an older version than current.
> What I did was fire up groovyConsole and prototype the code that I found in
> maven-proxy's source base. I passed httpclient a URL to the offending pom
> from Ibiblio and I got a status code of 200 in my console. I then noted the
> different version of the httpclient api distributed with groovy vs. that
> which was found in the maven-proxy war file. I replaced my groovy httpclient
> jar with the exact one I found in the maven-proxy war and then I started
> getting the same "missing HTTP header" error I was getting in my Jetty logs.
> I then switched back to the later version (3.0-rc3) of HTTP client in both
> Groovy and maven-proxy and viola! The error went away! Thank you Ben and
> thank you Tom for all of your help!
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems - A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Maven Proxy

2006-04-26 Thread Clifton Craig
I think I'm done now. I don't quite understand some of the quirks of maven2 
with maven-proxy but in time I guess I'll learn them. After updating the 
HTTPClient to work through our HTTP proxy I set my settings.xml to use 
maven-proxy for both artifacts and plugins. I started getting the following 
error again:
 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid 
version could be found
I couldn't understand this one because it looked like the proxy was getting no 
activity. I fumbled a bit then decided to delete the maven-resources-plugin 
from my repository. Once I did that, then things started working again. I 
could've sworn I had a similar problem a while ago and took the same steps to 
resolve it. It seems like once the maven-resources-plugin is downloaded from 
a the official repository you can't get maven to use the local repo without 
deleting it and having it re-fetched. In hind-site I probably could've used 
the -U switch or something to force it to download again.anyhow I think all 
is good now. Thank you everybody for your help!

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Maven Proxy

2006-04-26 Thread Clifton Craig
On Wednesday 26 April 2006 11:42 am, Ben Short wrote:
> Craig,
>
> I will post my setup to see if it helps you.

I got it! I figured out the problem and I fixed it!! The problem was 
commons-httpclient. Maven-proxy ships with an older version than current. 
What I did was fire up groovyConsole and prototype the code that I found in 
maven-proxy's source base. I passed httpclient a URL to the offending pom 
from Ibiblio and I got a status code of 200 in my console. I then noted the 
different version of the httpclient api distributed with groovy vs. that 
which was found in the maven-proxy war file. I replaced my groovy httpclient 
jar with the exact one I found in the maven-proxy war and then I started 
getting the same "missing HTTP header" error I was getting in my Jetty logs. 
I then switched back to the later version (3.0-rc3) of HTTP client in both 
Groovy and maven-proxy and viola! The error went away! Thank you Ben and 
thank you Tom for all of your help!

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



RE: Maven Proxy

2006-04-26 Thread Ben Short
Don't cache a file repository
repo.local-repo.cache.period=0


#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
#repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

#dist.codehaus.org
repo.dist-codehaus-org.url=http://dist.codehaus.org
#repo.dist-codehaus-org.proxy=two
repo.dist-codehaus-org.hardfail=false
repo.dist-codehaus-org.cache.period=3600
repo.dist-codehaus-org.cache.failures=true




-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED] 
Sent: 26 April 2006 16:25
To: Maven Users List
Subject: Re: Maven Proxy

Aww nuts. That didn't fix it. There's definitely something wrong with 
maven-proxy's ability to access the net, though I can't narrow it. I get 
these logs when I run my Maven build now:


2006-04-26 10:09:21,251 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-26 10:09:21,251 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom last 
modified 1132809499000
2006-04-26 10:09:21,251 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-26 10:09:21,251 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Found most up-to-date version 
of /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom
2006-04-26 10:09:21,251 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Copying /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom 
to Repo[global]
2006-04-26 10:09:21,251 [INFO ] proxy.config.HttpRepoConfiguration  - 
Retrieving /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom
2006-04-26 10:09:21,260 [INFO ] commons.httpclient.HttpMethodBase  - 
Recoverable exception caught when processing request
2006-04-26 10:09:21,260 [WARN ] commons.httpclient.HttpMethodBase  - 
Recoverable exception caught but MethodRetryHandler.retryMethod() returned 
false, rethrowing exception
2006-04-26 10:09:21,260 [ERROR] proxy.engine.DownloadEngine  - 
org.apache.commons.httpclient.HttpRecoverableException: 
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the

status  line from the response: unable to find line starting with "HTTP"


I've had problems with HttpClient under Ivy/Ant in the past so this feels 
familiar. Back then I configured Ivy to use a the normal java.net.URL 
connection method while I set a custom authenticator for the JVM in my build

using an embedded beanshell script. I'm wondereing if this is not related. 
I'm sure that my proxy info is correct, and at this point I'm pretty 
confident I've configured it in the maven-proxy settings the right way. I
may 
try running some simple unit tests with HttpClient if I get a free moment.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Wednesday 26 April 2006 10:26 am, Clifton Craig wrote:
> Tom,
>
> I think I found something! I just noticed that my maven-proxy configs were
> pointing to the maven1 repository instead of the maven2 repository. I'm
> restarting my proxy right now and will get right back to let you know if
it
> changes anything...
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -
> 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]


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



Re: Maven Proxy

2006-04-26 Thread Clifton Craig
Ben,

You're welcome! I only wish I could help myself just as easily.. I think my 
problem stems from HttpClient.

On Wednesday 26 April 2006 11:20 am, Ben Short wrote:
> Craig,
>
> This fixed my maven-proxy too!!
>
> Many thanks
>
> Ben
>

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Maven Proxy

2006-04-26 Thread Clifton Craig
Aww nuts. That didn't fix it. There's definitely something wrong with 
maven-proxy's ability to access the net, though I can't narrow it. I get 
these logs when I run my Maven build now:


2006-04-26 10:09:21,251 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-26 10:09:21,251 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom last 
modified 1132809499000
2006-04-26 10:09:21,251 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-26 10:09:21,251 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Found most up-to-date version 
of /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom
2006-04-26 10:09:21,251 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Copying /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom 
to Repo[global]
2006-04-26 10:09:21,251 [INFO ] proxy.config.HttpRepoConfiguration  - 
Retrieving /jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.pom
2006-04-26 10:09:21,260 [INFO ] commons.httpclient.HttpMethodBase  - 
Recoverable exception caught when processing request
2006-04-26 10:09:21,260 [WARN ] commons.httpclient.HttpMethodBase  - 
Recoverable exception caught but MethodRetryHandler.retryMethod() returned 
false, rethrowing exception
2006-04-26 10:09:21,260 [ERROR] proxy.engine.DownloadEngine  - 
org.apache.commons.httpclient.HttpRecoverableException: 
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the 
status  line from the response: unable to find line starting with "HTTP"


I've had problems with HttpClient under Ivy/Ant in the past so this feels 
familiar. Back then I configured Ivy to use a the normal java.net.URL 
connection method while I set a custom authenticator for the JVM in my build 
using an embedded beanshell script. I'm wondereing if this is not related. 
I'm sure that my proxy info is correct, and at this point I'm pretty 
confident I've configured it in the maven-proxy settings the right way. I may 
try running some simple unit tests with HttpClient if I get a free moment.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Wednesday 26 April 2006 10:26 am, Clifton Craig wrote:
> Tom,
>
> I think I found something! I just noticed that my maven-proxy configs were
> pointing to the maven1 repository instead of the maven2 repository. I'm
> restarting my proxy right now and will get right back to let you know if it
> changes anything...
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -
> 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: Maven Proxy

2006-04-26 Thread Ben Short
Craig, 

This fixed my maven-proxy too!!

Many thanks

Ben

-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED] 
Sent: 26 April 2006 15:26
To: Maven Users List
Subject: Re: Maven Proxy

Tom,

I think I found something! I just noticed that my maven-proxy configs were 
pointing to the maven1 repository instead of the maven2 repository. I'm 
restarting my proxy right now and will get right back to let you know if it 
changes anything...

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-
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: Maven Proxy

2006-04-26 Thread Clifton Craig
Tom,

I think I found something! I just noticed that my maven-proxy configs were 
pointing to the maven1 repository instead of the maven2 repository. I'm 
restarting my proxy right now and will get right back to let you know if it 
changes anything...

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Maven Proxy

2006-04-26 Thread Clifton Craig
Thank you much Tom,

I'm getting there but still stuck. So far I can get maven to pull artifacts 
from maven-proxy while it pulls plugins from the official repo thanx to your 
help. I still can't get the plugins to serve from maven-proxy. I have 
confirmed that maven proxy still is not able to download artifacts from 
Ibiblio. To confirm this I renamed the jaxen folder in maven-proxy's local 
repo and ran my maven build on my client. It pull all of the rest of the 
stuff from maven-proxy and failed when it tried to pull down jaxen. So in 
summary, artifacts placed in maven-proxy's local repo folder can be served 
while remote stuff from Ibiblio cannot be found. Also, my local maven build 
has a problem finding the maven-resource-plugin when I clean my 
~/.m2/repository. Even after using your profiles settings suggestions it 
won't find the plugin. I have confirmed the plugin exists in the maven-proxy 
repo too.

More info that may shed light on things: To load maven-proxy's local repo 
folder I opened a split screen in (KDE) Konqueror and just dragged everything 
from under my ~/.m2/repository folder into the maven-proxy local repository 
folder. I understand there is a difference between maven-proxy's local store 
and the local repository configured for it. The local store is the place 
where it caches artifacts it finds on the internet and the local repository 
is just an extra repository it can go for artifacts. I dropped my 
~/.m2/repository stuff into the local repository not the local store. I also 
noticed the hard fail property on the local repository is configured to true. 
I'm wondering if that is somehow causing maven-proxy to not consider the 
other repositories configured, Ibiblio and codehaus. I might try switchin the 
order of the list to see if that helps any.

If you have any other ideas I could try I'd be more than appreciative. Thanx 
again for all of your help!

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Wednesday 26 April 2006 3:51 am, Tom Joad wrote:
> 
> 
> default-profile
> 
> TRUE
> 
> 
> 
> ***
> **
> ***
> 
> TRUE
> 
> 
> 
> 
> 

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



Re: Maven Proxy

2006-04-26 Thread Alexandre Poitras
On 4/26/06, Tom Joad <[EMAIL PROTECTED]> wrote:
> Hi Clifton,
> From repository point of view , plugin is an artifact as another. So I
> don't  understand why
> it can be downloaded. I use maven proxy standalone version and until
> know i don'have to declare something special about pluginrepository.
> But last week , I needed to use a snaphot version of
> maven-tomcat-plugin , I have to add profile like below in my
> settings.xml. So My maven-proxy is also a pluginrepository. (Don't ask
> me  what is difference betwenn repository and pluginrepository,  i
> have no answer now) .

A repository is only used for dependencies while a plugin repository
is only used for plugins. Those categories are used mainly to restrict
the use of a given repository, it doesn't change anything in the
repository implementation.

> I suggest you
> first if you have M2_HOME/conf/pluginregistry.xml file to rename it.
> It seems I already have problem with it.
> Second add lines like this on your settings.xml
> 
> 
> default-profile
> 
> TRUE
> 
> 
> 
> ***
> **
> ***
> 
> TRUE
> 
> 
> 
> 
> 
> Wher name url and id match same values as under mirrors one.
>
> Tom.
>
>
> 2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> > Tom,
> >
> > Ok I got some better info. I was naming the maven-proxy mirror wrong in my
> > settings.xml. After I fixed up the settings.xml (I added /repository to the
> > end of my internal mirror URL) it looked like it was working a litlle 
> > better.
> > For one reason or another I am not able to download plugins from the proxy. 
> > I
> > think I can get everything else ok. Also I'm still not confident of the
> > proxies ability to download from the internet. I still need help. Thanx for
> > your consideration.
> >
> > ---
> > Clifton C. Craig, Software Engineer
> > Intelligent Computer Systems -  A Division of GBG
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > On Tuesday 25 April 2006 11:44 am, Tom Joad wrote:
> > > I didn't ask so many questions about maven-proxy when I configure it
> > > and  perhaps  I miss something on the deep  way it works. So I suggest
> > > you to reconfigure completely the proxy from the one provided by
> > > archive . you only change  values which are your owns like proxy .
> > > I think your proxy and public repository connexion are wright.
> > > Delete local-repo from repo.list.
> > > Simply browse repository doesn't download artifact or pom file.
> > > You have to declare it as a dependency on a project and for example
> > > compile project
> > >
> > > Tom.
> >
> > -
> > 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]
>
>

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



Re: Maven Proxy

2006-04-26 Thread Tom Joad
Hi Clifton,
>From repository point of view , plugin is an artifact as another. So I
don't  understand why
it can be downloaded. I use maven proxy standalone version and until
know i don'have to declare something special about pluginrepository.
But last week , I needed to use a snaphot version of
maven-tomcat-plugin , I have to add profile like below in my
settings.xml. So My maven-proxy is also a pluginrepository. (Don't ask
me  what is difference betwenn repository and pluginrepository,  i
have no answer now) .
I suggest you
first if you have M2_HOME/conf/pluginregistry.xml file to rename it.
It seems I already have problem with it.
Second add lines like this on your settings.xml


default-profile

TRUE



***
**
***

TRUE





Wher name url and id match same values as under mirrors one.

Tom.


2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> Tom,
>
> Ok I got some better info. I was naming the maven-proxy mirror wrong in my
> settings.xml. After I fixed up the settings.xml (I added /repository to the
> end of my internal mirror URL) it looked like it was working a litlle better.
> For one reason or another I am not able to download plugins from the proxy. I
> think I can get everything else ok. Also I'm still not confident of the
> proxies ability to download from the internet. I still need help. Thanx for
> your consideration.
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Tuesday 25 April 2006 11:44 am, Tom Joad wrote:
> > I didn't ask so many questions about maven-proxy when I configure it
> > and  perhaps  I miss something on the deep  way it works. So I suggest
> > you to reconfigure completely the proxy from the one provided by
> > archive . you only change  values which are your owns like proxy .
> > I think your proxy and public repository connexion are wright.
> > Delete local-repo from repo.list.
> > Simply browse repository doesn't download artifact or pom file.
> > You have to declare it as a dependency on a project and for example
> > compile project
> >
> > Tom.
>
> -
> 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: Maven Proxy

2006-04-25 Thread Clifton Craig
Tom,

Ok I got some better info. I was naming the maven-proxy mirror wrong in my 
settings.xml. After I fixed up the settings.xml (I added /repository to the 
end of my internal mirror URL) it looked like it was working a litlle better. 
For one reason or another I am not able to download plugins from the proxy. I 
think I can get everything else ok. Also I'm still not confident of the 
proxies ability to download from the internet. I still need help. Thanx for 
your consideration.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Tuesday 25 April 2006 11:44 am, Tom Joad wrote:
> I didn't ask so many questions about maven-proxy when I configure it
> and  perhaps  I miss something on the deep  way it works. So I suggest
> you to reconfigure completely the proxy from the one provided by
> archive . you only change  values which are your owns like proxy .
> I think your proxy and public repository connexion are wright.
> Delete local-repo from repo.list.
> Simply browse repository doesn't download artifact or pom file.
> You have to declare it as a dependency on a project and for example
> compile project
>
> Tom.

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



RE: Maven Proxy

2006-04-25 Thread Jörg Schaible
Alexandre Poitras wrote on Tuesday, April 25, 2006 9:35 PM:

> By the way, if you want to be 100% sure Maven would never go on
> ibiblio when it doesn't find a dependency,

[snip]

Just to clarify: As long as any POM might define its own repo with its own 
identifier, you cannot prevent Maven from looking for arbitrary deps on the 
internet ... nevertheless overwriting the definition for central helps a lot.

- Jörg

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



Re: Maven Proxy

2006-04-25 Thread Alexandre Poitras
By the way, if you want to be 100% sure Maven would never go on
ibiblio when it doesn't find a dependency, add this to your
setting.xml

  

  
false
  
   central
  Maven Repository Switchboard
  default
  http://repo1.maven.org/maven2

 

On 4/25/06, Clifton Craig <[EMAIL PROTECTED]> wrote:
> Tom,
>
> Thank you so much for your help! :) I'm still having a heck of a time getting
> things working though. I did configure my proxy completely from the one
> provided by the web-site. I'm now trying to test the proxy's ability to
> download from ibilio on demand. I dropped the following in my settings xml:
>
> 
> 
> central
> Optimus Repo
> http://maven-proxy-host:8080/mvnrepo
> local-proxy
> 
> 
> ..right after the http proxy settings. (Should I remove the http proxy
> settings now that I'm using a local mirror and should not need to go out
> through the internet?) Here's a complete copy of my maven-proxy configs:
>
> 
>
>  GLOBAL SETTINGS
> # This is where maven-proxy stores files it has downloaded
> repo.local.store=./maven/repo
>
> #The port to listen on - not used if loaded as a webapp
> port=8080
>
> #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:/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=mvnrepo
>
> #This is the simple date format used to display the last modified date while
> browsing the repository.
> lastModifiedDateFormat=/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=false
>
>  M2 POM HANDLING
> #If you want the proxy to look for newer POMs, set to true (default is false)
> pom.update=true
>
>  PROMOTION HANDLING
> # * NOT CURRENTLY IMPLEMENTED *
> #Promotion describes the process by which new artifacts are loaded to global
> maven-proxy repository.  It
> # is designed to be used by "higher security installations" that do not want
> to acquire artifacts from
> # remote repositories without approval.
> #
> #If promotion handling is enabled, then the proxy will not download remote
> artifacts without permission
> # (local repositories with copy=false are considered to be local)
> #
> #Permission to download is granted via the Promotion menu which will be
> enabled
> #  when promotion handling is enabled.
> #
> #If promotion is false, artifacts are sourced from any repository as per
> normal.
> #
> #Promotion and snapshots:  If promotion is enabled, snapshots are not
> downloadable.  The concept of using
> # a snapshot in a production build (which is primarily what promotion is for)
> is counterintuitive.
> ##
> promotion=false
>
>  WEB INTERFACE
> # This defines the absolute URL the server should use to identify itself.
> # This can often be determined automatically, but we recommend you specify
> # it explicitly to prevent problems during startup.
> # The prefix will be added to this for the actual repository
> # i.e. proxy available at http://localhost:/, repository at
> http://localhost:/repository
> serverName=http://localhost:8080
>
> #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=instagate
>
> #Authenticated proxy
> proxy.instagate.host=192.168.99.1
> proxy.instagate.port=8080
> proxy.instagate.username=***
> proxy.instagate.password=*
>
> ##

Re: Maven Proxy

2006-04-25 Thread Clifton Craig
Tom,

Thank you so much for your help! :) I'm still having a heck of a time getting 
things working though. I did configure my proxy completely from the one 
provided by the web-site. I'm now trying to test the proxy's ability to 
download from ibilio on demand. I dropped the following in my settings xml:



central
Optimus Repo
http://maven-proxy-host:8080/mvnrepo
local-proxy


..right after the http proxy settings. (Should I remove the http proxy 
settings now that I'm using a local mirror and should not need to go out 
through the internet?) Here's a complete copy of my maven-proxy configs:



 GLOBAL SETTINGS
# This is where maven-proxy stores files it has downloaded
repo.local.store=./maven/repo

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

#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:/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=mvnrepo

#This is the simple date format used to display the last modified date while 
browsing the repository.
lastModifiedDateFormat=/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=false

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

 PROMOTION HANDLING
# * NOT CURRENTLY IMPLEMENTED *
#Promotion describes the process by which new artifacts are loaded to global 
maven-proxy repository.  It
# is designed to be used by "higher security installations" that do not want 
to acquire artifacts from
# remote repositories without approval.
#
#If promotion handling is enabled, then the proxy will not download remote 
artifacts without permission
# (local repositories with copy=false are considered to be local)
#
#Permission to download is granted via the Promotion menu which will be 
enabled
#  when promotion handling is enabled.
#
#If promotion is false, artifacts are sourced from any repository as per 
normal.
#
#Promotion and snapshots:  If promotion is enabled, snapshots are not 
downloadable.  The concept of using
# a snapshot in a production build (which is primarily what promotion is for) 
is counterintuitive.
##
promotion=false

 WEB INTERFACE
# This defines the absolute URL the server should use to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# The prefix will be added to this for the actual repository
# i.e. proxy available at http://localhost:/, repository at 
http://localhost:/repository
serverName=http://localhost:8080

#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=instagate

#Authenticated proxy
proxy.instagate.host=192.168.99.1
proxy.instagate.port=8080
proxy.instagate.username=***
proxy.instagate.password=*

# 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

#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:///./maven/repo-local
repo.local-repo.description=Neware In-office Maven Repository
#If copy is true, jars are copied from the store to t

Re: Maven Proxy

2006-04-25 Thread Tom Joad
I didn't ask so many questions about maven-proxy when I configure it
and  perhaps  I miss something on the deep  way it works. So I suggest
you to reconfigure completely the proxy from the one provided by
archive . you only change  values which are your owns like proxy .
I think your proxy and public repository connexion are wright.
Delete local-repo from repo.list.
Simply browse repository doesn't download artifact or pom file.
You have to declare it as a dependency on a project and for example
compile project

Tom.


2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> On Tuesday 25 April 2006 9:51 am, Tom Joad wrote:
> > How do you copy stuff to your maven-proxy repository?
> > and what is value for
> >  pom.update key on your config properties?
> >
> > Tom
>
> Tom,
>
> Thanx for your quick reply. So far so good. I set the proxy on both the
> ibiblio.org and codehaus.org repository settings and now I can download the
> pom.xml files from my maven-proxy instance. I configured a local repo for the
> proxy which is pointed to a folder under $JETTY_HOME/maven/repo-local. I
> understand this is different from the actual proxy cache which I point to
> $JETTY_HOME/maven/repo. Is that correct? Anyway, it looks like it's not
> having trouble getting out to the net at least to check for updates to the
> pom files. I tried testing to see if I could get the proxy to auto-download
> the pom for jaxen by pointing my browser to:
> http://maven-proxy-host:8080/mvnrepo/repository/jaxen/poms/jaxen-1.1-beta-8.pom
> After doing that I got another error 500. Here's a snippet of my log file:
>
> 2006-04-25 09:38:10,954 [INFO ] proxy.servlets.RepositoryServlet  - Received
> request: /jaxen/poms/jaxen-1.1-beta-8.pom
> 2006-04-25 09:38:10,955 [DEBUG] proxy.engine.DownloadEngine  - Request:
> source=192.168.99.15, path=/jaxen/poms/jaxen-1.1-beta-8.pom, lastModified=-1,
> headOnly=false, ifModifiedSince=1132809499000
> 2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  -
> Repo[global]: Checking last modified time
> for ./maven/repo/jaxen/poms/jaxen-1.1-beta-8.pom
> 2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  -
> Repo[local-repo]: Checking last modified time
> for ./maven/repo-local/jaxen/poms/jaxen-1.1-beta-8.pom
> 2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  -
> Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
> 2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  -
> Repo[www-ibiblio-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified
> 1132809499000
> 2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  -
> Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
> 2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  -
> Repo[dist-codehaus-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified
> 1127681978000
> 2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  -
> Repo[www-ibiblio-org]: Found most up-to-date version
> of /jaxen/poms/jaxen-1.1-beta-8.pom
> 2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  -
> Repo[www-ibiblio-org]: Sending NOT-MODIFIED response
>
> There's more before that indicating it tried to look first in the cache but
> couldn't find jaxen. I'm not sure what's going on but it does look a little
> like it can get out to the net now. I'll write more in a few if I can make
> heads or tails of things. In the meantime can you help me figureout what's
> wrong? I will add that our http proxy has been responding slow so maybe it's
> a timeout?
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems - A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
I l

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



Re: Maven Proxy

2006-04-25 Thread Clifton Craig
On Tuesday 25 April 2006 9:51 am, Tom Joad wrote:
> How do you copy stuff to your maven-proxy repository?
> and what is value for
>  pom.update key on your config properties?
>
> Tom

Tom,

Thanx for your quick reply. So far so good. I set the proxy on both the 
ibiblio.org and codehaus.org repository settings and now I can download the 
pom.xml files from my maven-proxy instance. I configured a local repo for the 
proxy which is pointed to a folder under $JETTY_HOME/maven/repo-local. I 
understand this is different from the actual proxy cache which I point to 
$JETTY_HOME/maven/repo. Is that correct? Anyway, it looks like it's not 
having trouble getting out to the net at least to check for updates to the 
pom files. I tried testing to see if I could get the proxy to auto-download 
the pom for jaxen by pointing my browser to:
http://maven-proxy-host:8080/mvnrepo/repository/jaxen/poms/jaxen-1.1-beta-8.pom
After doing that I got another error 500. Here's a snippet of my log file:

2006-04-25 09:38:10,954 [INFO ] proxy.servlets.RepositoryServlet  - Received 
request: /jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,955 [DEBUG] proxy.engine.DownloadEngine  - Request: 
source=192.168.99.15, path=/jaxen/poms/jaxen-1.1-beta-8.pom, lastModified=-1, 
headOnly=false, ifModifiedSince=1132809499000
2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  - 
Repo[global]: Checking last modified time 
for ./maven/repo/jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  - 
Repo[local-repo]: Checking last modified time 
for ./maven/repo-local/jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified 
1132809499000
2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[dist-codehaus-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified 
1127681978000
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Found most up-to-date version 
of /jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Sending NOT-MODIFIED response

There's more before that indicating it tried to look first in the cache but 
couldn't find jaxen. I'm not sure what's going on but it does look a little 
like it can get out to the net now. I'll write more in a few if I can make 
heads or tails of things. In the meantime can you help me figureout what's 
wrong? I will add that our http proxy has been responding slow so maybe it's 
a timeout?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Maven Proxy

2006-04-25 Thread Tom Joad
Maven proxy works exactly as your local repository , so transitive
dependency concept is
implemented. All compile scope dependency declared on pom.xml of
artifact will be downloaded.
 It is possible to deploy your jar by deploy:deploy-file
you just need to add inside settings.xml


YOURSERVER
*

664
775
.ssh/known_hosts


Here is an example of command line I take on thread
mvn -X -P UnixServ deploy:deploy-file
-DgroupId=weblogic
 -DartifactId=ejbgen
-Dversion=SNAPSHOT
-Dpackaging=jar
 -Dfile=ejbgen.jar
-DrepositoryId=UnixServ-FTP
-Durl=scp://myserver.com
where repositoryId must be  mapped   on the  under (here
YOURSERVER) section of settings.xml.
please see
http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html

For me it never works because of ssh conexion to my repository but i
saw on threads about it but it works fine. deploy:deploy-file create
.sha and .md5 files .


I ask value of pom update for clifton . I suggest him to put the value
to false so maven proxy doesn' t try to look for newer pom.
Tom,

> Tom,
>
> I'm still trying to get it all up and running.
>
> I am lead to believe that maven-proxy automatically downloads dependencies
> from internet repositories if it dose not have them.
>
> As for deploying(?) my own projects to it, I'm not sure.
>
> My pom.update is set to true
>
> Ben
>
> -Original Message-
> From: Tom Joad [mailto:[EMAIL PROTECTED]
> Sent: 25 April 2006 14:51
> To: Maven Users List
> Subject: Re: Maven Proxy
>
> How do you copy stuff to your maven-proxy repository?
> and what is value for
>  pom.update key on your config properties?
>
> Tom
>
>
>
> 2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> > Tom,
> >
> > Could you help get me started with Maven proxy? I've been trying to get it
> > working in our office but I've been unsuccessful. It (the proxy) seems to
> > have a problem getting out to the internet through our in office http
> proxy.
> > I have the following in my Maven-proxy config properties file:
> >
> >  PROXIES
> > #This is just a hack, it should auto discover them
> > proxy.list=instagate
> >
> > #Authenticated proxy
> > proxy.instagate.host=instagate.icsaward.com
> > proxy.instagate.port=8080
> > proxy.instagate.username=***
> > proxy.instagate.password=*
> >
> > When I copy stuff from my local ~/.m2 repository to the maven-proxy
> repository
> > I am able to download only the jar files and not the .pom files as it
> gives
> > an error 500. When I try downloading the pom files I see it going out to
> the
> > internet to retrieve the latest copy but failing. Can you (or anyone else)
> > help?
> >
> > ---
> > Clifton C. Craig, Software Engineer
> > Intelligent Computer Systems -  A Division of GBG
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> > > Maven always go to internal repository which connects to all maven
> > > public repository you declare on your  maven proxy configuration file.
> > > The order of checking artifact is  always
> > > local repository -->internal repository --> maven public repositories.
> > >
> > > Tom.
> > >
> > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > Tom,
> > > >
> > > > Thanks for replying. Will maven then always go to the internal one or
> > > > only when it cant connect to the internet server?
> > > >
> > > > Ben
> > > >
> > > > -Original Message-
> > > > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > > > Sent: 25 April 2006 11:05
> > > > To: Maven Users List; [EMAIL PROTECTED]
> > > > Subject: Re: Maven Proxy
> > > >
> > > > HI,
> > > > You configure connexion on settings.xml file with mirrors tag.
> > > > 
> > > > 
> > > > central
> > > > Internal Repos
> > > > http://internalhost:
> > > > local-proxy
> > > > 
> > > > 
> > > > Tom.
> > > >
> > > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > > Hi,
> > > > >
> > > > > I am trying to setup mave

RE: Maven Proxy

2006-04-25 Thread Ben Short
Tom, 

I'm still trying to get it all up and running. 

I am lead to believe that maven-proxy automatically downloads dependencies
from internet repositories if it dose not have them.

As for deploying(?) my own projects to it, I'm not sure. 

My pom.update is set to true

Ben

-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:51
To: Maven Users List
Subject: Re: Maven Proxy

How do you copy stuff to your maven-proxy repository?
and what is value for
 pom.update key on your config properties?

Tom



2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> Tom,
>
> Could you help get me started with Maven proxy? I've been trying to get it
> working in our office but I've been unsuccessful. It (the proxy) seems to
> have a problem getting out to the internet through our in office http
proxy.
> I have the following in my Maven-proxy config properties file:
>
>  PROXIES
> #This is just a hack, it should auto discover them
> proxy.list=instagate
>
> #Authenticated proxy
> proxy.instagate.host=instagate.icsaward.com
> proxy.instagate.port=8080
> proxy.instagate.username=***
> proxy.instagate.password=*
>
> When I copy stuff from my local ~/.m2 repository to the maven-proxy
repository
> I am able to download only the jar files and not the .pom files as it
gives
> an error 500. When I try downloading the pom files I see it going out to
the
> internet to retrieve the latest copy but failing. Can you (or anyone else)
> help?
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> > Maven always go to internal repository which connects to all maven
> > public repository you declare on your  maven proxy configuration file.
> > The order of checking artifact is  always
> > local repository -->internal repository --> maven public repositories.
> >
> > Tom.
> >
> > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > Tom,
> > >
> > > Thanks for replying. Will maven then always go to the internal one or
> > > only when it cant connect to the internet server?
> > >
> > > Ben
> > >
> > > -Original Message-
> > > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > > Sent: 25 April 2006 11:05
> > > To: Maven Users List; [EMAIL PROTECTED]
> > > Subject: Re: Maven Proxy
> > >
> > > HI,
> > > You configure connexion on settings.xml file with mirrors tag.
> > > 
> > > 
> > > central
> > > Internal Repos
> > > http://internalhost:
> > > local-proxy
> > > 
> > > 
> > > Tom.
> > >
> > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > Hi,
> > > >
> > > > I am trying to setup maven-proxy on my network and make all my
clients
> > > > connect to it rather than go to the internet. But when I run mvn
> > > > complie
> > >
> > > it
> > >
> > > > always connect to the internet server first. If maven can't find a
> > > > dependency on the internet server then it tries my maven-proxy.
> > > >
> > > > I have added the following to my pom.
> > > >
> > > > 
> > > > 
> > > > internal
> > > > Internal Repos
> > > > default
> > > > http://internalhost:
> > > > 
> > > > 
> > > >
> > > > I have also set the id element to central but it still uses the
> > > > internet server first.
> > > >
> > > > Any ideas?
> > > >
> > > > Ben
> > >
> > > -
> > > 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]
> >
> > -
> > 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]
>
>

-
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: Maven Proxy

2006-04-25 Thread Tom Joad
How do you copy stuff to your maven-proxy repository?
and what is value for
 pom.update key on your config properties?

Tom



2006/4/25, Clifton Craig <[EMAIL PROTECTED]>:
> Tom,
>
> Could you help get me started with Maven proxy? I've been trying to get it
> working in our office but I've been unsuccessful. It (the proxy) seems to
> have a problem getting out to the internet through our in office http proxy.
> I have the following in my Maven-proxy config properties file:
>
>  PROXIES
> #This is just a hack, it should auto discover them
> proxy.list=instagate
>
> #Authenticated proxy
> proxy.instagate.host=instagate.icsaward.com
> proxy.instagate.port=8080
> proxy.instagate.username=***
> proxy.instagate.password=*
>
> When I copy stuff from my local ~/.m2 repository to the maven-proxy repository
> I am able to download only the jar files and not the .pom files as it gives
> an error 500. When I try downloading the pom files I see it going out to the
> internet to retrieve the latest copy but failing. Can you (or anyone else)
> help?
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> > Maven always go to internal repository which connects to all maven
> > public repository you declare on your  maven proxy configuration file.
> > The order of checking artifact is  always
> > local repository -->internal repository --> maven public repositories.
> >
> > Tom.
> >
> > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > Tom,
> > >
> > > Thanks for replying. Will maven then always go to the internal one or
> > > only when it cant connect to the internet server?
> > >
> > > Ben
> > >
> > > -Original Message-
> > > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > > Sent: 25 April 2006 11:05
> > > To: Maven Users List; [EMAIL PROTECTED]
> > > Subject: Re: Maven Proxy
> > >
> > > HI,
> > > You configure connexion on settings.xml file with mirrors tag.
> > > 
> > > 
> > > central
> > > Internal Repos
> > > http://internalhost:
> > > local-proxy
> > > 
> > > 
> > > Tom.
> > >
> > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > Hi,
> > > >
> > > > I am trying to setup maven-proxy on my network and make all my clients
> > > > connect to it rather than go to the internet. But when I run mvn
> > > > complie
> > >
> > > it
> > >
> > > > always connect to the internet server first. If maven can't find a
> > > > dependency on the internet server then it tries my maven-proxy.
> > > >
> > > > I have added the following to my pom.
> > > >
> > > > 
> > > > 
> > > > internal
> > > > Internal Repos
> > > > default
> > > > http://internalhost:
> > > > 
> > > > 
> > > >
> > > > I have also set the id element to central but it still uses the
> > > > internet server first.
> > > >
> > > > Any ideas?
> > > >
> > > > Ben
> > >
> > > -
> > > 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]
> >
> > -
> > 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]
>
>

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



Re: Maven Proxy

2006-04-25 Thread Tom Joad
On maven proxy config , you must set a proxy value to
repo.THE_MVNPUBLIC_REPOS.proxy key.
for instance

 #www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=instagate
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

Tom,
2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> Tom,
>
> I would be interested in this also.
>
> When I run a mvn clean with I get the flowing.
>
> D:\Personal\SourceCode\my-app>mvn clean
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building Maven Quick Start Archetype
> [INFO]task-segment: [clean]
> [INFO]
> 
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
> updates from central
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = ' [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = ' [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
> exist or no valid version could be found
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 1 second
> [INFO] Finished at: Tue Apr 25 14:34:47 BST 2006
> [INFO] Final Memory: 1M/2M
> [INFO]
> ----
>
> Ben
>
> -Original Message-
> From: Clifton Craig [mailto:[EMAIL PROTECTED]
> Sent: 25 April 2006 14:11
> To: Maven Users List
> Subject: Re: Maven Proxy
>
> Tom,
>
> Could you help get me started with Maven proxy? I've been trying to get it
> working in our office but I've been unsuccessful. It (the proxy) seems to
> have a problem getting out to the internet through our in office http proxy.
>
> I have the following in my Maven-proxy config properties file:
>
>  PROXIES
> #This is just a hack, it should auto discover them
> proxy.list=instagate
>
> #Authenticated proxy
> proxy.instagate.host=instagate.icsaward.com
> proxy.instagate.port=8080
> proxy.instagate.username=***
> proxy.instagate.password=*
>
> When I copy stuff from my local ~/.m2 repository to the maven-proxy
> repository
> I am able to download only the jar files and not the .pom files as it gives
> an error 500. When I try downloading the pom files I see it going out to the
>
> internet to retrieve the latest copy but failing. Can you (or anyone else)
> help?
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> > Maven always go to internal repository which connects to all maven
> > public repository you declare on your  maven proxy configuration file.
> > The order of checking artifact is  always
> > local repository -->internal repository --> maven public repositories.
> >
> > Tom.
> >
> > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > Tom,
> > >
> > > Thanks for replying. Will maven then always go to the internal one or
> > > only when it cant connect to the internet server?
> > >
> > > Ben
> > >
> > > -Original Message-
> > > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > > Sent: 25 April 2006 11:05
> > > To: Maven Users List; [EMAIL PROTECTED]
> > > Subject: Re: Maven Proxy
> > >
> > > HI,
> > > You configure connexion on settings.xml file with mirrors tag.
> > > 
> > > 
> > > central
> > > Internal Repos
> > > http://internalhost:
> > > local-proxy
> > > 
> > > 
> > > Tom.
> > >
> > > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > > Hi,
> > > >
> > > > I am trying to setup maven-proxy on my network a

RE: Maven Proxy

2006-04-25 Thread Ben Short
My mistake, I didn't add repository to the end of the url.

Eg :


 
 central
 Internal Repos
 http://internalhost:/repository
 local-proxy
 
 

-Original Message-
From: Ben Short [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:36
To: 'Maven Users List'
Subject: RE: Maven Proxy

Tom, 

I would be interested in this also. 

When I run a mvn clean with I get the flowing.

D:\Personal\SourceCode\my-app>mvn clean
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [clean]
[INFO]

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = 'mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:11
To: Maven Users List
Subject: Re: Maven Proxy

Tom,

Could you help get me started with Maven proxy? I've been trying to get it 
working in our office but I've been unsuccessful. It (the proxy) seems to 
have a problem getting out to the internet through our in office http proxy.

I have the following in my Maven-proxy config properties file:

 PROXIES
#This is just a hack, it should auto discover them
proxy.list=instagate

#Authenticated proxy
proxy.instagate.host=instagate.icsaward.com
proxy.instagate.port=8080
proxy.instagate.username=***
proxy.instagate.password=*

When I copy stuff from my local ~/.m2 repository to the maven-proxy
repository 
I am able to download only the jar files and not the .pom files as it gives 
an error 500. When I try downloading the pom files I see it going out to the

internet to retrieve the latest copy but failing. Can you (or anyone else) 
help?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> Maven always go to internal repository which connects to all maven
> public repository you declare on your  maven proxy configuration file.
> The order of checking artifact is  always
> local repository -->internal repository --> maven public repositories.
>
> Tom.
>
> 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > Tom,
> >
> > Thanks for replying. Will maven then always go to the internal one or
> > only when it cant connect to the internet server?
> >
> > Ben
> >
> > -Original Message-
> > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > Sent: 25 April 2006 11:05
> > To: Maven Users List; [EMAIL PROTECTED]
> > Subject: Re: Maven Proxy
> >
> > HI,
> > You configure connexion on settings.xml file with mirrors tag.
> > 
> > 
> > central
> > Internal Repos
> > http://internalhost:
> > local-proxy
> > 
> > 
> > Tom.
> >
> > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > Hi,
> > >
> > > I am trying to setup maven-proxy on my network and make all my clients
> > > connect to it rather than go to the internet. But when I run mvn
> > > complie
> >
> > it
> >
> > > always connect to the internet server first. If maven can't find a
> > > dependency on the internet server then it tries my maven-proxy.
> > >
> > > I have added the following to my pom.
> > >
> > > 
> > > 
> > > internal
> > > Internal Repos
> > > default
> > > http://internalhost:
> > > 
> > > 
> > >
> > > I have also set the id element to central but it still uses the
> > > internet server first.
> > >
> > > Any ideas?
> > >
> > > Ben
> >
> > -
> > 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]
>
> -
> 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]


-
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: Maven Proxy

2006-04-25 Thread Ben Short
Tom, 

I would be interested in this also. 

When I run a mvn clean with I get the flowing.

D:\Personal\SourceCode\my-app>mvn clean
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [clean]
[INFO]

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = 'mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:11
To: Maven Users List
Subject: Re: Maven Proxy

Tom,

Could you help get me started with Maven proxy? I've been trying to get it 
working in our office but I've been unsuccessful. It (the proxy) seems to 
have a problem getting out to the internet through our in office http proxy.

I have the following in my Maven-proxy config properties file:

 PROXIES
#This is just a hack, it should auto discover them
proxy.list=instagate

#Authenticated proxy
proxy.instagate.host=instagate.icsaward.com
proxy.instagate.port=8080
proxy.instagate.username=***
proxy.instagate.password=*

When I copy stuff from my local ~/.m2 repository to the maven-proxy
repository 
I am able to download only the jar files and not the .pom files as it gives 
an error 500. When I try downloading the pom files I see it going out to the

internet to retrieve the latest copy but failing. Can you (or anyone else) 
help?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
> Maven always go to internal repository which connects to all maven
> public repository you declare on your  maven proxy configuration file.
> The order of checking artifact is  always
> local repository -->internal repository --> maven public repositories.
>
> Tom.
>
> 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > Tom,
> >
> > Thanks for replying. Will maven then always go to the internal one or
> > only when it cant connect to the internet server?
> >
> > Ben
> >
> > -Original Message-
> > From: Tom Joad [mailto:[EMAIL PROTECTED]
> > Sent: 25 April 2006 11:05
> > To: Maven Users List; [EMAIL PROTECTED]
> > Subject: Re: Maven Proxy
> >
> > HI,
> > You configure connexion on settings.xml file with mirrors tag.
> > 
> > 
> > central
> > Internal Repos
> > http://internalhost:
> > local-proxy
> > 
> > 
> > Tom.
> >
> > 2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> > > Hi,
> > >
> > > I am trying to setup maven-proxy on my network and make all my clients
> > > connect to it rather than go to the internet. But when I run mvn
> > > complie
> >
> > it
> >
> > > always connect to the internet server first. If maven can't find a
> > > dependency on the internet server then it tries my maven-proxy.
> > >
> > > I have added the following to my pom.
> > >
> > > 
> > > 
> > > internal
> > > Internal Repos
> > > default
> > > http://internalhost:
> > > 
> > > 
> > >
> > > I have also set the id element to central but it still uses the
> > > internet server first.
> > >
> > > Any ideas?
> > >
> > > Ben
> >
> > -
> > 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]
>
> -
> 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]


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



  1   2   >