Great it worked, using both [module] & ${basedir} !! :)

Thanks !

Temsa

2007/9/18, Gilles Scokart <[EMAIL PROTECTED]>:
>
> Try to use [module] instead of [artefact].
>
> Ivy dependencies are defined first in term of modules.  Artefacts are only
> known when the ivy.xml file (or pom.xml) is read.  If you don't want to
> write an module descriptors, you have to work only at module level.
>
> Maybe we should define such a resolver in our default settings...
>
> Note also that it migh be possible to define a resolver that take the
> pom.xml from the maven repository and the jars from a local dir.  (I know
> it
> is possible with an ivy repository, but I'm sure it can work with a maven
> repository).
>
> Gilles
>
> 2007/9/17, Florian Traverse <[EMAIL PROTECTED]>:
> >
> > That's the point :)
> >
> > Do I have to make a  real repository, with Ivi xml description files, or
> > can
> > I simply drop the jar in my "lib" project's directory using  something
> > like
> > this (this one seems not to work)?
> >
> >             <filesystem name="libraries">
> >                 <ivy pattern="lib/[artifact]-[revision].xml" />
> >                 <artifact pattern="lib/[artifact]-[revision].[ext]" />
> >             </filesystem>
> >
> > I've tried to comment out  <ivy pattern="lib/[artifact]-[revision].xml"
> />
> > but it doesn't work either. So, any solution (don't forget, I'm a noob,
> > and
> > making a real repository with all the directories and xml files really
> > bugs
> > me ATM)?
> >
> > Regards,
> > Temsa
> > 2007/9/17, Jing Xue <[EMAIL PROTECTED]>:
> > >
> > >
> > > Quoting Florian Traverse <[EMAIL PROTECTED]>:
> > >
> > > > And where do you see a Jar file ? There's only a pom ... ;oP
> > >
> > > Oops, should've looked closer.  My apologies.
> > >
> > > > I had the same problem with maven before, the solution was to
> download
> > > it
> > > > then do a mvn install with some options.
> > > >
> > > > So the question remains ... Any Idea ? :)
> > >
> > > I would look at publishing the jar into a local or shared repository,
> > > then.
> > >
> > > Cheers.
> > > --
> > > Jing Xue
> > >
> > >
> >
>
>
>
> --
> Gilles SCOKART
>

Reply via email to