maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Maven proxy problem in ubuntu 12.04
Date Tue, 12 Feb 2013 11:58:32 GMT
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 <dzungdev@gmail.com> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message