Good point but actually i later changed the version of the oracle driver in the 
pom.xml file :
10.2.0.2.0 to 10.2.0.1.0
I copy-pasted the previous error message (that i had saved somewhere), before i 
changed the version and before I manually added the oracle driver (10.2.0.1.0) 
in my local repository.

So i suppose the problem is elsewhere.
Thanks.

--- On Mon, 3/28/11, Wayne Fay <wayne...@gmail.com> wrote:

From: Wayne Fay <wayne...@gmail.com>
Subject: Re: Could not find artifact javax.transaction:jta:jar:1.0.1B in 
central (http://repo1.maven.org/maven2)
To: "Maven Users List" <users@maven.apache.org>
Date: Monday, March 28, 2011, 8:30 PM

> First i had a problem with the ojdbc14 library. It was complaining that it 
> could not find the ojdbc14.jar :
> com.oracle:ojdbc14:jar:10.2.0.2.0
>
> So I fixed it with the following command :
> mvn install:install-file 
> -Dfile=D:\Dev\oracle\oracleexpress\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar
>  -Dpackaging=jar
> -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0

I expect your problems are related to version issues 10.2.0.2.0 in the
error vs the 10.2.0.1.0 in your install-file line.

Probably you had similar problems with the jta artifact and just
didn't even realize it until you added the Java.net repo and Maven was
able to download the missing files.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




      

Reply via email to