Maybe the best way to get the jar file is to download the zip file from the sun file, and then execute the command as indicated by maven :
mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile="C:\downloadRepository\jta-1_0_1B-classes.zip"
mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile="C:\downloadRepository\jta-1_0_1B-classes.zip"