building Geoserver question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

building Geoserver question

mortac8
I hope this is the right place to post this question.  I am doing mvn clean install from the /src directory from the svn repository I got from https://svn.codehaus.org/geoserver/branches/2.1.x.  Am I doing something wrong or is there something I need to do to get around this error?

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geotools:gt-api:jar:2.7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-api -Dversion=2.7-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-api -Dversion=2.7-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:2.1-SNAPSHOT
        2) org.geotools:gt-api:jar:2.7-SNAPSHOT

2) org.geotools:gt-main:jar:2.7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-main -Dversion=2.7-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-main -Dversion=2.7-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:2.1-SNAPSHOT
        2) org.geotools:gt-main:jar:2.7-SNAPSHOT

----------
2 required artifacts are missing.

for artifact:
  org.geoserver:geoserver:pom:2.1-SNAPSHOT

from the specified remote repositories:
  development-snapshot-repository (http://gar-nexus.gar.us.ray.com:8081/nexus/content/repositories/git-snapshots),
  nexus (http://gar-nexus.gar.us.ray.com:8081/nexus/content/groups/external),
  development-release-repository (http://gar-nexus.gar.us.ray.com:8081/nexus/content/repositories/git-releases)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Wed Jun 22 18:25:45 CDT 2011
[INFO] Final Memory: 29M/353M
[INFO] ------------------------------------------------------------------------