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