Hi Paul,
I thought jersey/maven would still delegate things to ant, also the
compilation stuff. So I'd think that one has to change the classpath for
ant?
Cheers,
Martin
On Wed, 2008-05-28 at 09:38 +0200, Paul Sandoz wrote:
> On May 28, 2008, at 1:55 AM, enzo 660 wrote:
>
> > Hi Folks,
> > I was playing with the source code and tried to modify one of the
> > classes. I'm new to maven and not quite sure how to compile with a
> > dependency on an external library.
> > I looked up on the web for a solution and created a local repository.
> > I added the dependency to jersey-pom.xml but looks like it is not
> > being picked because the compiler complains with 'package not found'.
> > Could anybody please tell me what else am I required to do?
> >
>
> We are currently in the interim of transitioning over to Maven... so
> things may appear a little odd and awkward.
>
> Given the latest source you need to go to trunk/jersey/jersey and type:
>
> mvn -f maven/pom.xml install
>
> if you want to add another dependency then you need to edit the maven/
> pom.xml and the jersey-pom.xml.
>
> Hopefully when we have completed the transition things will be much
> improved.
>
> Paul.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net