Andrea already mentioned the oracle jar cannot be distributed without some kind 
of click-through-I-am-not-a-terrorist deal (wonder if Java itself will need one 
of those now that it is owned by Oracle?).

The instructions you found only worked for me when you are in a directory with 
a pom.xml file (allowing maven to find stuff).
Jody

On 08/04/2010, at 7:43 PM, ba...@geotools wrote:

> 
> Hi all,
> 
> I want to add some third party jars in to
> http://download.osgeo.org/webdav/geotools/. I followed the below link to add
> the jars
> 
> http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar#Howtoadda3rdpartyjar-DeployingtoOpenSourceGeospatialFoundationMaven2Repository
> 
> As said the documentation, I created an account in Osgeo and updated the
> ~/.m2/setting.xml file. Then i given the following command
> 
> mvn deploy:deploy-file -DgroupId=oracle -DartifactId=oracle-jdbc
> -Dversion=10.1 -Dfile=E:\oracle-jdbc-10.1.jar -Dpackaging=jar
> -DrepositoryId=osgeo -Durl=dav:http://download.osgeo.org/webdav/geotools/
> 
> When i executed above command I got the error like below
> 
> Uploading:
> http://download.osgeo.org/webdav/geotools//oracle/oracle-jdbc/10.1/oracle-jdbc-10.1.jar
> Apr 8, 2010 2:38:49 PM hidden.org.apache.commons.httpclient.HttpMethodBase
> processAuthenticationResp
> onse
> INFO: Already tried to authenticate with 'Geotools WebDAV' authentication
> realm at download.osgeo.or
> g, but still receiving: HTTP/1.1 401 Authorization Required
> Apr 8, 2010 2:38:50 PM hidden.org.apache.commons.httpclient.HttpMethodBase
> processAuthenticationResp
> onse
> INFO: Already tried to authenticate with 'Geotools WebDAV' authentication
> realm at download.osgeo.or
> g, but still receiving: HTTP/1.1 401 Authorization Required
> .
> .
> .
> 
> Though I had specified correct username and password in setting.xml, still I
> encountered this error.
> 
> Please anybody have any idea to solve my problem.
> 
> regards,
> baskar
> -- 
> View this message in context: 
> http://n2.nabble.com/Problem-when-adding-third-party-jar-to-Osgeo-tp4870100p4870100.html
> Sent from the geotools-devel mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to