Thanks but i am running a recent version (Maven 3.0.2, I mentionned it in my 
previous post) so that -DgeneratePom option already defaults to true.
However i did try again and added this option to install again the missing 
libraries.
The result is the same, I still get that error.

If anyone else has an idea, please let me know.
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, 2:20 PM

Install both files again, and this time add the parameter
-DgeneratePom=true along with the others.

mvn install:install-file -Dfile=...\lib\ojdbc14.jar -Dpackaging=jar
-DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0
-DgeneratePom=true

mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta
-Dversion=1.0.1B -Dpackaging=jar -Dfile=D:\Temp\jta-1_1-classes.jar
-DgeneratePom=true

That should resolve the issues you're seeing. This defaults to true in
recent releases but I have no idea what version you're running.

Wayne

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




      

Reply via email to