You may try adding this to your pom.xml

<dependencies>
        ...
    <dependency>
      <groupId>myjar</groupId>
      <artifactId>myjar</artifactId>
      <version>10.1.2</version>
      <scope>system</scope>
      <systemPath>C:/myproject/lib/domainmodel.jar</systemPath>
    </dependency>
        ...

You must specify the absolute path. I don't know why, but I would like to know 
... if someone would enlight me :)


Cheers,
Cristian.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to