On Thu, Mar 31, 2011 at 11:58, Dan Allen <dan.j.allen@gmail.com> wrote:
On Thu, Mar 31, 2011 at 11:40, Sebastian E. Ovide <sebastian.ovide@gmail.com> wrote:
Hi All,

I've just updated my pom replacing 3.0.0.Alpha3 with 3.0.0.Final and I've got a couple of errors.

I've fixed the first error just adding

        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
            <version>1.6.2</version>
        </dependency>


is is ok to define seam dependencies manually ? should not that dependency been part of seam ?

Absolutely you can define dependencies manually. The seam-bom is there to save you from having to worry about the versions (and for us to communicate the recommended versions). Joda time is in the seam-bom:

<properties>
...
<joda.time.version>1.6</joda.time.version>
...
</properties>

         <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
            <version>${joda.time.version}</version>
         </dependency>

Meaning you can put this in your pom.xml:

<dependency>
   <groupId>joda-time</groupId>
   <artifactId>joda-time</groupId>
</dependency>

Joda time is an optional dependency of Seam International, which is why you have to specify it.

-Dan

--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction