Are you certain the jar you installed contains the classes you are using?

Open the jar with Winzip etc and confirm. Then check the jar as
installed in the repo.

Wayne

On 8/16/08, Mac-Systems <[EMAIL PROTECTED]> wrote:
> Hello,
>
> 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>
>       <dependencies>
>           <dependency>
>               <groupId>junit</groupId>
>               <artifactId>junit</artifactId>
>               <version>3.8.1</version>
>               <scope>test</scope>
>           </dependency>
>           <dependency>
>               <groupId>org.swinglabs</groupId>
>               <artifactId>swingx</artifactId>
>               <version>0.9.2</version>
>           </dependency>
>
> The install script reports success. I already cleared by local maven repo to
> get a clear start.
> Anything i do results in package org.jdesktop.layout cannot be found. I also
> have no settings.xml.
>
> What the Heck i am doing wrong ? Is there a way to get some better Output
> from maven like this (complete mvn -X -e compile) :
>
>   + Error stacktraces are turned on.
>   Maven version: 2.0.9
>   Java version: 1.6.0_03
>   OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
(snip)
>   [INFO]
> ------------------------------------------------------------------------
>   [ERROR] BUILD FAILURE
>   [INFO]
> ------------------------------------------------------------------------
>   [INFO] Compilation failure
>
> C:\workspace\incubator\multikulti\src\de\nicedezigns\language\swingx\SwingXTranslator.java:[34,26]
> package org.jdesktop.swingx does not exist
>
> C:\workspace\incubator\multikulti\src\de\nicedezigns\language\swingx\SwingXTranslator.java:[35,26]
> package org.jdesktop.swingx does not exist
>
> C:\workspace\incubator\multikulti\src\de\nicedezigns\language\swingx\SwingXTranslator.java:[36,26]
> package org.jdesktop.swingx does not exist
>

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

Reply via email to