Maven proxy problem in ubuntu 12.04

2013-02-12 Thread dzungdev
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 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 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