You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dipankar Das <di...@gmail.com> on 2009/11/20 12:45:54 UTC

Fwd: Urgent-kindly help in installing maven assembly plugin

---------- Forwarded message ----------
From: Dipankar Das <di...@gmail.com>
Date: Fri, Nov 20, 2009 at 3:31 AM
Subject: Urgent-kindly help in installing maven assembly plugin
To: brianf@apache.org, brett@apache.org


Dear Sir,

I am using both of the following packages (apache-maven-2.2.1-bin
apache-maven-2.0.10-bin) but  it gives the same error  after  executing the
*command *prompt. Please help me to cope up with this problem. I have
changed the proxy of settings.xml for this purpose but nothing has yet been
improved.

<proxy>
<active>true</active>
<protocol>http</protocol>
<host>www.jadavpur.edu</host>
<port>8080</port>
</proxy>
*
command *

C:\Documents and Settings\dipankar>mvn install assembly:assembly
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[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
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assemb
ly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-assembly-plugin

Reason: POM 'org.apache.maven.plugins:maven-assembly-plugin' not found in
reposi
tory: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-beta-2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

 for project org.apache.maven.plugins:maven-assembly-plugin


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 26 seconds
[INFO] Finished at: Fri Nov 20 16:22:32 PST 2009
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

Re: Urgent-kindly help in installing maven assembly plugin

Posted by Anders Hammar <an...@hammar.net>.
Does any maven command work? Like
mvn compile
?

My guess would be that the proxy configuration isn't correct. Talk to your
network/firewall/proxy staff.

Also, executing
mvn install -X
would give you debug output.

/Anders

On Fri, Nov 20, 2009 at 12:45, Dipankar Das
<di...@gmail.com>wrote:

> ---------- Forwarded message ----------
> From: Dipankar Das <di...@gmail.com>
> Date: Fri, Nov 20, 2009 at 3:31 AM
> Subject: Urgent-kindly help in installing maven assembly plugin
> To: brianf@apache.org, brett@apache.org
>
>
> Dear Sir,
>
> I am using both of the following packages (apache-maven-2.2.1-bin
> apache-maven-2.0.10-bin) but  it gives the same error  after  executing the
> *command *prompt. Please help me to cope up with this problem. I have
> changed the proxy of settings.xml for this purpose but nothing has yet been
> improved.
>
> <proxy>
> <active>true</active>
> <protocol>http</protocol>
> <host>www.jadavpur.edu</host>
> <port>8080</port>
> </proxy>
> *
> command *
>
> C:\Documents and Settings\dipankar>mvn install assembly:assembly
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'assembly'.
> [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
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assemb
> ly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom<http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-assemb%0Aly-plugin/2.2-beta-2/maven-assembly-plugin-2.2-beta-2.pom>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven.plugins:maven-assembly-plugin
>
> Reason: POM 'org.apache.maven.plugins:maven-assembly-plugin' not found in
> reposi
> tory: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-beta-2
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
>  for project org.apache.maven.plugins:maven-assembly-plugin
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 26 seconds
> [INFO] Finished at: Fri Nov 20 16:22:32 PST 2009
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
>