Simply having the files in your repo is not sufficient. You must add
<dependencies> in your pom for each artifact that your project
requires at compile, test, or runtime.

I highly recommend you read one of the free pdf/ebooks on Maven -- one
is from www.devzuz.com and another is from www.sonatype.com.

Wayne

On 8/16/07, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
> Yes thanks I read it in a thread on this forum.
>
> I do't get this maven thing. My respository is full of hibernate all all
> that need to be there. When I compile
>
> package javax.persistence does not exist and every other package as well....
> I see the javax.presistence in my M2_REPO variable in eclipse and can expand
> it but not compile. Life where easier with ant :,(
> --
> View this message in context: 
> http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4281106s177.html#a12186976
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to