You should deploy this JAR to your repository. Look at http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html for info on how to do this. When it's in the repo, you can just add a dependency as you would to any other JAR.
Of course, if the JAR is already a Maven-project, you don't need to use the above link, but just build that project -- just make sure you tell Maven to 'install' as well! On Friday 13 April 2007 15:48, Vinit N wrote: > I am getting compilation error when I am using custom jar file, > for eg: > My web project is depend on domainmodel.jar how can I use this ? > And also how can I do also compile, build this jar then reffer this jar and > compile and build my web applications. > As this jar is used by multiple webapps. > > Thanks, > > Vinit N -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien Tel.: +43/1/513 88 77 - 27 Fax.: +43/1/513 88 62 Email: [EMAIL PROTECTED] Web: www.cfc.at --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
