If it's a 3rd party JAR that's not available in a repository, you
should install it locally (or in your company repo) using the install
plugin.

http://maven.apache.org/plugins/maven-install-plugin/usage.html

Then remove the scope and systemPath elements and it should resolve it.

Matt

On Wed, Mar 25, 2009 at 6:20 AM, Marian <mn...@etai.fr> wrote:
>>You should add your JAR as a dependency in pom.xml
>
> Yes, I find out - using "system" scope, such as:
>
> <dependency>
>   <groupId>MYGROUP</groupId>
>   <artifactId>myartifact</artifactId>
>   <version>myversion</version>
>   <scope>system</scope>
>   <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/mylib.jar</systemPath>
> </dependency>
>
> Marian
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to