On Sat, Aug 16, 2008 at 4:06 PM, Mac-Systems <[EMAIL PROTECTED]> wrote:

> i have a dependency to Swing Labs SwingX Lib. I wrote s simple install
> script like that
> call mvn install:install-file -Dfile=../libs/swingx/0.9.2/swingx-0.9.2.jar
> -DgroupId=org.swinglabs -DartifactId=swingx -Dversion=0.9.2 -Dpackaging=jar
> In my Pom of the Project i declared:
>    <dependencyManagement>
...

The dependencyManagement section lets you set the version to be used
across the project.  It's usually used in a parent pom from which
multiple modules inherit.  However, it doesn't 'kick in' until you
actually declare the dependency elsewhere.

Either declare the dependency outside of dependency management (leave
out the version number) for example in <build><dependencies>, or move
them out of dependencyManagement.

-- 
Wendy

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

Reply via email to