org.apache.maven.plugins:maven-archetype-plugin does not exist

aragorn_177發表於2008-08-25

Re: org.apache.maven.plugins:maven-archetype-plugin does not exist Olivier Lamy Thu Aug 07 10:00:20 2008

It looks to be a common error due to no network acess to the central repo.

 

 [INFO] Repository 'central' will be blacklisted

 

Please ensure you have a net access to http://repo1.maven.org/maven2/ .
Or configure a proxy in your settings.xml

 

HTH,
--
Olivier

 

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> I have installed maven 2.0.9 successfully and I am now trying to build
> my directory structure for which I ran the command
>

 

> mvn archetype:create -DgroupId=com.fedex.crm.onesource
> -DartifactId=CaseConsole
>

 

>

 

> but it came back and says error
>

 

> [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 retri
> eved from repository: central due to an error: 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 exi
> st or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 25 seconds
> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>

 

>

 

>

 

> Please help.
>

 

> Thanks,
> LK

相關文章