Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Failed to run refresh.xml on win32

Okay so we have an answer .... 
-------------
Yeah it was, the group id changed:

http://repo.opengeo.org/org/geotools/jdbc/gt-jdbc-mysql/

Sorry, should have given a heads up.
-Justin
-------------

I think this is because the datastore passed its QA checks and is now a supported module.
I have updated refresh.xml to match.

Jody

On 07/12/2009, at 1:11 AM, Elton Chan wrote:

Hi All,

I am trying to setup the development environment following scripts in http://udig.refractions.net/confluence/display/ADMIN/02+Development+Environment.

The following errors are encountered when running the refresh.xml script on win32 platform with eclipse-modeling-galileo-SR1-incubation-win32. 

Buildfile: C:\java\udig\trunk\plugins\net.refractions.udig.libs\refresh.xml
load_m2_deps:
[artifact:dependencies] [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom
[artifact:dependencies] [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom
[artifact:dependencies] [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom
[artifact:dependencies] Downloading: org/geotools/gt-jdbc-mysql/2.6-SNAPSHOT/gt-jdbc-mysql-2.6-SNAPSHOT.pom from repository udig.stable.repository at http://download.osgeo.org/webdav/geotools
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.geotools:gt-jdbc-mysql:pom:2.6-SNAPSHOT' in repository udig.stable.repository (http://download.osgeo.org/webdav/geotools)
[artifact:dependencies] Downloading: org/geotools/gt-jdbc-mysql/2.6-SNAPSHOT/gt-jdbc-mysql-2.6-SNAPSHOT.pom from repository udig.snapshot.repository at http://repo.opengeo.org
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.geotools:gt-jdbc-mysql:pom:2.6-SNAPSHOT' in repository udig.snapshot.repository (http://repo.opengeo.org)
[artifact:dependencies] Downloading: org/geotools/gt-jdbc-mysql/2.6-SNAPSHOT/gt-jdbc-mysql-2.6-SNAPSHOT.pom from repository remote.repository at ${mirror1}
[artifact:dependencies] File: \org\geotools\gt-jdbc-mysql\2.6-SNAPSHOT\gt-jdbc-mysql-2.6-SNAPSHOT.pom does not exist
[artifact:dependencies] [INFO] Unable to find resource 'org.geotools:gt-jdbc-mysql:pom:2.6-SNAPSHOT' in repository remote.repository (${mirror1})
[artifact:dependencies] Downloading: org/apache/xerces/2.7.1/xerces-2.7.1.pom from repository udig.stable.repository at http://download.osgeo.org/webdav/geotools
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.apache:xerces:pom:2.7.1' in repository udig.stable.repository (http://download.osgeo.org/webdav/geotools)
[artifact:dependencies] Downloading: org/apache/xerces/2.7.1/xerces-2.7.1.pom from repository udig.snapshot.repository at http://repo.opengeo.org
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.apache:xerces:pom:2.7.1' in repository udig.snapshot.repository (http://repo.opengeo.org)
[artifact:dependencies] Downloading: org/apache/xerces/2.7.1/xerces-2.7.1.pom from repository remote.repository at ${mirror1}
[artifact:dependencies] File: \org\apache\xerces\2.7.1\xerces-2.7.1.pom does not exist
[artifact:dependencies] [INFO] Unable to find resource 'org.apache:xerces:pom:2.7.1' in repository remote.repository (${mirror1})
[artifact:dependencies] Downloading: org/apache/xerces/2.7.1/xerces-2.7.1.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.apache:xerces:pom:2.7.1' in repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: log4j/log4j/1.2/log4j-1.2.pom from repository udig.stable.repository at http://download.osgeo.org/webdav/geotools
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'log4j:log4j:pom:1.2' in repository udig.stable.repository (http://download.osgeo.org/webdav/geotools)
[artifact:dependencies] Downloading: log4j/log4j/1.2/log4j-1.2.pom from repository udig.snapshot.repository at http://repo.opengeo.org
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'log4j:log4j:pom:1.2' in repository udig.snapshot.repository (http://repo.opengeo.org)
[artifact:dependencies] Downloading: log4j/log4j/1.2/log4j-1.2.pom from repository remote.repository at ${mirror1}
[artifact:dependencies] File: \log4j\log4j\1.2\log4j-1.2.pom does not exist
[artifact:dependencies] [INFO] Unable to find resource 'log4j:log4j:pom:1.2' in repository remote.repository (${mirror1})
[artifact:dependencies] Downloading: log4j/log4j/1.2/log4j-1.2.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'log4j:log4j:pom:1.2' in repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: org/geotools/gt-jdbc-mysql/2.6-SNAPSHOT/gt-jdbc-mysql-2.6-SNAPSHOT.jar from repository udig.stable.repository at http://download.osgeo.org/webdav/geotools
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT' in repository udig.stable.repository (http://download.osgeo.org/webdav/geotools)
[artifact:dependencies] Downloading: org/geotools/gt-jdbc-mysql/2.6-SNAPSHOT/gt-jdbc-mysql-2.6-SNAPSHOT.jar from repository udig.snapshot.repository at http://repo.opengeo.org
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT' in repository udig.snapshot.repository (http://repo.opengeo.org)
[artifact:dependencies] Downloading: org/geotools/gt-jdbc-mysql/2.6-SNAPSHOT/gt-jdbc-mysql-2.6-SNAPSHOT.jar from repository remote.repository at ${mirror1}
[artifact:dependencies] File: \org\geotools\gt-jdbc-mysql\2.6-SNAPSHOT\gt-jdbc-mysql-2.6-SNAPSHOT.jar does not exist
[artifact:dependencies] [INFO] Unable to find resource 'org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT' in repository remote.repository (${mirror1})
[artifact:dependencies] An error has occurred while processing the Maven artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies] 
[artifact:dependencies] Unable to resolve artifact: Missing:
[artifact:dependencies] ----------
[artifact:dependencies] 1) org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT
[artifact:dependencies] 
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies] 
[artifact:dependencies]   Then, install it using the command: 
[artifact:dependencies]       mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-jdbc-mysql -Dversion=2.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies] 
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there: 
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-jdbc-mysql -Dversion=2.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies] 
[artifact:dependencies]   Path to dependency: 
[artifact:dependencies]   1) org.apache.maven:super-pom:jar:2.0
[artifact:dependencies]   2) org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT
[artifact:dependencies] 
[artifact:dependencies] ----------
[artifact:dependencies] 1 required artifact is missing.
[artifact:dependencies] 
[artifact:dependencies] for artifact: 
[artifact:dependencies]   org.apache.maven:super-pom:jar:2.0
[artifact:dependencies] 
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   remote.repository (${mirror1}),
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   udig.stable.repository (http://download.osgeo.org/webdav/geotools),
[artifact:dependencies]   udig.snapshot.repository (http://repo.opengeo.org)
[artifact:dependencies] 
[artifact:dependencies] 
[artifact:dependencies] 

BUILD FAILED
C:\java\udig\trunk\plugins\net.refractions.udig.libs\refresh.xml:26: Unable to resolve artifact: Missing:
----------
1) org.geotools:gt-jdbc-mysql:jar:2.6-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-jdbc-mysql -Dversion=2.6-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-jdbc-mysql -Dversion=2.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
   1) org.apache.maven:super-pom:jar:2.0
   2) org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT

----------
1 required artifact is missing.

for artifact: 
  org.apache.maven:super-pom:jar:2.0

from the specified remote repositories:
  remote.repository (${mirror1}),
  udig.stable.repository (http://download.osgeo.org/webdav/geotools),
  udig.snapshot.repository (http://repo.opengeo.org)

*********
I try to copy the org.geotools:gt-jdbc-mysql:jar:2.6-SNAPSHOT and install it with mvn, but it is also failed. 

Anybody knows what it is and please give me some light how to solve this problem.

Thanks
Elton

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


Back to the top