Either deploy this file in the "third-party" part of your maven repository
manager, or just install it locally. (using deploy:deploy-file or
install:install-file, or directly through the mrm artifact upload gui).
Btw, the best choice is the first one : set up a mrm and deploy the jar you
need.

Cheers

2009/12/1 monkeyden <[email protected]>

>
> So I guess the question is, how then can you get a jar file, which is not
> installed in any repository, onto the compile classpath then into your
> ear/war file?
>
>
> Wayne Fay wrote:
> >
> >> Hi Wayne.  I have my build working fine, it's just not including the
> >> system
> >> scoped jars in my war's WEB-INF/lib directory.  It seems the system
> scope
> >> does not include them.  Any idea how I can get them into the resulting
> >> artifact?
> >
> > This is exactly how system scope is supposed to work -- it means "this
> > artifact will be provided by the system" therefore Maven does not
> > include them in packages it builds.
> >
> > Add the artifacts to your corporate repo/local repo cache, and change
> > scope to "compile" if you need them included.
> >
> > As I've said before in this thread, do NOT use system scope.
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/File-system-repo-tp26271810p26599512.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to