Excellent ...
Thanks you two, provided a good solution + good reading
Added the jar to the Maven repo (local)... it is quite easy to do
actually once you know what the command line is..
in that regard got another question, i'll start another thread with it
ÉD
Wayne Fay wrote:
Arguably, the second point is already handled on the same page (though
its perhaps not obvious):
http://maven.apache.org/general.html#tools-jar-dependency
This is also discussed in detail on the "Introduction to the
Dependency Mechanism" page:
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
Wayne
On 3/28/07, Subhash Chandran <[EMAIL PROTECTED]> wrote:
To expand the first point of Wayne, go here:
http://maven.apache.org/general.html#importing-jars
Probably the second point needs to be updated in this FAQ entry.
Subhash.
On 3/29/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> You essentially have two options:
>
> 1. Install the jar in your repo using "mvn install:install-file ...".
> This is the suggested route to take.
> 2. Declare the dependency using <scope>system</scope> and provide the
> path to the dependency in your project (ie /lib/my.jar). For various
> reasons, this is not suggested.
>
> Wayne
>
> On 3/28/07, Eric Daigneault <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I just started out with Maven, tho I am fairly famliar with ant
and I
> > have been looking at Maven for a while now I never had time to
really
> > get my hands dirty.
> >
> > Anyhow the problem I have is as follows.
> >
> > I have a project that uses a jar (for which I do not have source
code,
> > just jar, docs and some other support files) that is not
published in
> > any Maven repository. In the good ol days of Ant I would have
put the
> > whole thing either in a folder on server or better yet in SVN so
I can
> > tag it along the rest of the resources for building the whole app.
> >
> > Now with maven I am at a loss on how to get my application (a new
one,
> > not ant scripts or anything, just maven) to link with this rebel
jar.
> > All the dependencies rely on the jar to be present in a repository,
> > either local or remote. Did I miss some plugin that would allow
me to
> > deal with what would seem to be an exception to the normal Maven
way.
> >
> > Thanks,
> >
> > Éric Daigneaut
> >
> >
---------------------------------------------------------------------
> > 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]
>
>
--
Regards,
Subhash Chandran S
http://wizcrypt.wiztools.org/
---------------------------------------------------------------------
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]