I thought this worked a couple days ago but it isn't today. Don't know if it is a typo or if something in the system isn't working.
The following is my output:
E:\geotools\svntrunkbase\gt\modules\unsupported\db2>mvn -U install:install-file
-Dfile=e:\temp\db2jcc.jar -DgroupId=ibm.com -DartifactId=db2jcc -Dversion=9 -Dpa
ckaging=jar -DgeneratePom=true
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT: checking for updates from codehaus-snapshot-plugins
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.codehaus.mojo:mojo:10-SNAPSHOT: checking for updates from codehaus-snapshot-plugins
[INFO] snapshot org.codehaus.mojo:mojo:10-SNAPSHOT: checking for updates from refractions
[INFO] artifact org.apache.maven.plugins:maven-source-plugin: checking for updates from central
Downloading: http://repo1.maven.org/maven2/org/geotools/maven/gt2-jar-collector/9/gt2-jar-collector-9.pom
Downloading: http://www.ibiblio.org/maven2/org/geotools/maven/gt2-jar-collector/9/gt2-jar-collector-9.pom
Downloading: http://lists.refractions.net/m2/org/geotools/maven/gt2-jar-collector/9/gt2-jar-collector-9.pom
Downloading: http://maven.geotools.fr/repository/org/geotools/maven/gt2-jar-collector/9/gt2-jar-collector-9.pom
Downloading: http://repo1.maven.org/maven2/org/geotools/maven/gt2-jar-collector/9/gt2-jar-collector-9.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.geotools.maven:gt2-jar-collector
Reason: POM 'org.geotools.maven:gt2-jar-collector' not found in repository: Unable to download the artifact from any repository
org.geotools.maven:gt2-jar-collector:pom:9
from the specified remote repositories:
codehaus-snapshot-plugins (http://snapshots.repository.codehaus.org/),
geotools (http://maven.geotools.fr/repository),
refractions (http://lists.refractions.net/m2),
ibiblio (http://www.ibiblio.org/maven2),
central (http://repo1.maven.org/maven2)
for project org.geotools.maven:gt2-jar-collector
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Thu Aug 02 12:30:21 EDT 2007
[INFO] Final Memory: 3M/8M
[INFO] ------------------------------------------------------------------------