That is weird because the jar is definitely available on that repo.
could it be your dependency is incorrect?

The before mentioned repository and this dependency

<dependency>
        <groupId>javax.transaction</groupId>
        <artifactId>jta</artifactId>
        <version>1.0.1B</version>
        <scope>compile</scope>
</dependency>

work for me.

Or is there perhaps an inherited dependency by another jar? in that
case you could try running maven with mvn help:effective-pom and if
needed exclude some dependencies. for example

<dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-mock</artifactId>
        <version>1.2.3</version>
        <type>jar</type>
        <scope>test</scope>
        <exclusions>
                <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring</artifactId>
                </exclusion>
        </exclusions>
</dependency>

More helpful command line options can be found here
http://jan.vegetband.cz/en/maven2-127.html

Maurice

On 6/19/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
No luck.  Still get the same error.

I think i'll look into adding the jta dependency to my own public repo:
http://maven.codecrate.com/


On 6/19/07, Maurice Marrink <[EMAIL PROTECTED]> wrote:
>
> If you add the following repository to your pom, you won't need to
> install it locally.
> <repository>
>         <id>mergere</id>
>         <name>Mergere Maestro Repository</name>
>         <url>http://repo.mergere.com/maven2</url>
> </repository>
>
> Maurice
>
> On 6/19/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> > Lovely maven repositories...
> >
> > I'm trying to enable a hibernate build on the wicketstuff bamboo server,
> and
> > I get this wonderful error.  Can we manually install this jar to get the
> > build up and going?
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) javax.transaction:jta:jar:1.0.1B
> >
> >   Try downloading the file manually from:
> >       http://java.sun.com/​products/​jta
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=javax.transaction-DartifactId=jta
> > \
> >           -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/​to/​file
> >
>

Reply via email to