You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by "Farr, Aaron" <Aa...@am.sony.com> on 2004/01/22 17:21:14 UTC
[repository] proxy users
Hello.
It looks like the repository Authenticator does not allow for null usernames
and passwords for proxy servers:
public DefaultAuthenticator( String username, String password )
throws NullPointerException
{
if( username == null ) throw new
NullPointerException( "username" );
if( password == null ) throw new
NullPointerException( "password" );
m_username = username;
m_password = password.toCharArray();
}
However, not all proxy servers require usernames and passwords, so this
isn't a completely valid approach. Since I happen to be behind a firewall
and proxy right now I can't make the change at the moment.
BUILD FAILED
File...... file:/C:/root/home/farra/dev/projects/apache/avalon/repository/
Element... maven:reactor
Line...... 29
Column.... 31
Unable to obtain goal [test:test] --
file:/C:/root/home/farra/dev/projects/apach
e/avalon/repository/impl/:3:41: <attainGoal> No goal [avalon:artifact]
Total time: 17 seconds
Where's the avalon:artifact goal?
I've tried running "maven jar" in the impl directory as well as "maven
avalon:build" in the parent repository directory. Any thoughts?
J. Aaron Farr
SONY ELECTRONICS
DDP-CIM
(724) 696-7653
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [repository] proxy users
Posted by Timothy Bennett <ex...@comcast.net>.
Farr, Aaron wrote:
> Hello.
>
> It looks like the repository Authenticator does not allow for null usernames
> and passwords for proxy servers:
>
I reported this to Steve a week or two ago via IM. Probably should have
posted a message about, but I'm in serious crunch time here...
We are doing a workaround by just putting in a dummy value for the
username and password (since our HTTP proxy server doesn't require
authentication), and we might be equally lucky in the fact that our
proxy server doesn't vomit when the repository impl hands the proxy the
authentication credentials.
If memory serves, I think Steve told me to wait until JIRA was up and
going, and enter a case for this.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org