----- Original Message ----- 
From: "Martijn Dashorst" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 17, 2004 5:43 PM
Subject: Re: stupid newbie


> There are two possibilities:
> * use jar-overrides (search google for that one)
> * copy the proprietary jar files to your own maven repository (if you
> haven't tinkered with your settings, they are in (windows) C:\Documents
> and settings\username\.maven\repository) in a structure that mimicks
> maven's structure.

Or install your own repository and a maven-proxy

>
> So if you have websphere.jar which you need, then putting it in
> c:\documents&settings\ben\.maven\repository\ibm\jars\websphere.jar
>
> and using:
> <dependency>
> <groupId>ibm</groupId>
> <artifactId>websphere</artifactId>
> <jar>websphere.jar</jar>
> </dependency>
>
> should do the trick. It is better to use some versionnumber for the jar,
> so you know which version of 'websphere.jar' you use (is better for
> later reference).
>
> Perhaps it is even benificial to set up your own maven 'remote'
> repository where you can deploy your own artifacts for reference by
> other projects, and where you can put the proprietary libraries. This
> repository doesn't have to be public to the rest of the world.
>
> Martijn
>
> Ben Anderson wrote:
>
> >That article set me pretty straight.  Maven's site might want to do a
better job
> >at pointing people to the articles, since they are much more valuable
than
> >Maven's own documentation.  Anyways, I'm still left with a couple of
questions:
> >
> >I went here to find various dependencies:
> >http://www.ibiblio.org/maven/
> >
> >I was able to use this approach:
> >   <dependency>
> >     <groupId>itext</groupId>
> >     <artifactId>itext</artifactId>
> >     <version>0.99</version>
> >   </dependency>
> >to satisfy some, but unfortunately our app is dependent on quite a few
> >proprietary jars.  I'm still unsure of how to set my classpath...
> >something like this?
> >   <dependency>
> >      <jar>${websphere.compileTimeClasses}/ejs.jar</jar>
> >   </dependency>
> >would this work if websphere.compileTimeClasses was set?  If so, how do I
set
> >it?  Like this?
> >      <ant:property name="websphere.compileTimeClasses"
value="c:/path/to"/>
> >If so, where do I put it?
> >I'd prefer not to have to copy all the jars into my local repository.
> >
> >
>
>
> ---------------------------------------------------------------------
> 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