HI,
  go to the directory  .m2\repository\org\apache\maven\plugins to see is
there a directory named maven-archetype-plugin,if there is,delete this
directory,because it may be a bad package,if there isn't, it may be maven
can't download the maven-archetype-plugin,so check you network for you
computer.good luck!

2007/7/19, Eric Yu <[EMAIL PROTECTED]>:

the goal deps on
maven-archetype-plugin, it seems that your maven can not download it

On 7/19/07, 钱新林 <[EMAIL PROTECTED]> wrote:
>
> hi, everyone, i am a newbie to Maven2.
>
> i am here to ask some question about maven. hope some warmhearted
friends
> can help me.
> i am working on windows and want to use the open source GIS tools like
> GeoTools and geoserver, these two project are both managed by
> Maven.Mytrouble is listed below:
>
>
>    1.  when i run the sample command of create new project using maven ,
>    it always  report error like following, how can i fix it ???
>    d:\>mvn archetype:create -DarchetypeGroupId=
>    org.apache.maven.archetypes -DgroupId=
> com.mycompany.app-DartifactId=my-app
>    [INFO] Scanning for projects...
>    [INFO] Searching repository for plugin with prefix: 'archetype'.
>    [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: < 1 second
>    [INFO] Finished at: Thu Jul 19 17:35:53 CST 2007
>    [INFO] Final Memory: 1M/4M
>    [INFO]
>
> ------------------------------------------------------------------------
>
>    2.  i have a unstable Internet connection so that the maven compile
>    process became intolerably boring, before sucess it will failed many
> times
>    when download dependency packages. can i separately download every
JAR
> and
>    manually install it to my local repository?
>
>
>
> --
> Wir müssen wissen,Wir werden wissen
>

Reply via email to