Thanks,

I also discovered that you can exclude it from download (if say this jar is
already available on the server)

You can do the following:

<dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate</artifactId>
        <version>3.1.1</version>
        <exclusions>
                <exclusion>
                        <groupId>javax.transaction</groupId>
                        <artifactId>jta</artifactId>
                </exclusion>
        </exclusions>
</dependency>

Seems to be working for me.

Regards

Maciej

> -----Original Message-----
> From: Napoleon Esmundo Ramirez [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 1 February 2006 2:51 PM
> To: Maven Users List
> Subject: [***SPAM*** Score/Req: 10.4/5.0] Re: Hibernate with Maven
> 
> Hello,
> 
> AFAIK, javax.transaction:jta:1.0.1B is a Sun jar that can't be
> redistributed
> in ibiblio.  You'll have to manually install that in your local repository
> (
> http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html).
> 
> You can download it here: http://java.sun.com/products/jta/
> 
> Cheers!
> Nap
> 
> On 2/1/06, Maciej Mastalarczuk <[EMAIL PROTECTED]> wrote:
> >
> > Hi Everyone,
> >
> >
> >
> > I am trying to compile a project that uses Hibernate (3.1.1) with Maven
> 2.
> > It seems like there is a dependency missing at ibiblio
> > (http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/).
> >
> >
> >
> > Is it a known issue or I'm doing something wrong?
> >
> >
> >
> > Regards,
> >
> >
> >
> > Maciej Mastalarczuk
> >
> >
> >



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to