Got hint from this thread
http://www.mail-archive.com/[email protected]/msg69753.html and I am
going to look at my fire wall setting.
Thanks  and Happy New Year,
Jack

On Fri, Jan 2, 2009 at 9:49 AM, Jinyuan Zhou <[email protected]> wrote:

> Hi there,
> I suddenly cannot run mvn command at one of my home computer. The "root"
> cause is that the very 'org.apache.maven.plugins'  cannot be downloaded.  I
> know it is not the central repository that has the problem. I was able to
> run this on other computer at home.  It doesn't seem that  my isp is
> blocking me. I m copying the output when I run* mvn -v* and the  comand
> from tutorial *mvn archetype:create -DgroupId=com.mycompany.app
> -DartifactId=my-a*pp
>
> C:\>
> C:\>mvn -v
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
>
> C:\>mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> *[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
> be retrieved from repository: central due to an er
> or: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> *[INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] *The plugin 'org.apache.maven.plugins:maven-archetype-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: 2 seconds
> [INFO] Finished at: Fri Jan 02 09:40:50 PST 2009
> [INFO] Final Memory: 1M/254M
> [INFO]
> ------------------------------------------------------------------------
> C:\>
> I have also tried re-install maven and clean all the maven related
> enviroment and directories.   It still doen'st work on this particular
> computer  for a couple of weeks.
>
> Thanks,
>
> Jack
>



-- 

Some people lived like they will never die
and died like they have never lived

Reply via email to