---
title: "为maven安装jta"
author: "winzenghua"
date: "2008-11-08T14:16:00Z"
tags: []
slug: "maven-jta"
draft: false
lastmod: "2008-11-08T14:16:00Z"
id: 992390
url: "https://java4gis.iteye.com/blog/992390"
---

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"