Re: Depedency not found but it is correctly installed

2008-08-17 Thread Mac-Systems

Wayne Fay schrieb:

On 8/16/08, Wendy Smoak <[EMAIL PROTECTED]> wrote:

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


Doh... eagle-eyed Wendy is right!

Wayne

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




Thanks Wendy,

you are right. I totaly overlooked 
 that. It Works 
now, i would like to spend a Beer for that :)


Thanks,
Jens

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



Re: Depedency not found but it is correctly installed

2008-08-16 Thread Wayne Fay
On 8/16/08, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> Either declare the dependency outside of dependency management (leave
> out the version number) for example in , or move
> them out of dependencyManagement.

Doh... eagle-eyed Wendy is right!

Wayne

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



Re: Depedency not found but it is correctly installed

2008-08-16 Thread Wendy Smoak
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:
>
...

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 , or move
them out of dependencyManagement.

-- 
Wendy

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



Re: Depedency not found but it is correctly installed

2008-08-16 Thread Wayne Fay
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:
>
>
>   
>   
>   junit
>   junit
>   3.8.1
>   test
>   
>   
>   org.swinglabs
>   swingx
>   0.9.2
>   
>
> 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]



Depedency not found but it is correctly installed

2008-08-16 Thread Mac-Systems

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:


   
   
   junit
   junit
   3.8.1
   test
   
   
   org.swinglabs
   swingx
   0.9.2
   

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"
   [DEBUG] Building Maven user-level plugin registry from: 
'C:\Dokumente und Einstellungen\User\.m2\plugin-registry.xml'
   [DEBUG] Building Maven global-level plugin registry from: 
'C:\java\maven-2.0.9\bin\..\conf\plugin-registry.xml'

   [INFO] Scanning for projects...
   [DEBUG] Adding managed dependencies for mac-systems:multikulti
   [DEBUG]   junit:junit:jar:3.8.1:test
   [DEBUG]   org.swinglabs:swingx:jar:0.9.2
   [DEBUG]   org.swinglabs:swing-layout:jar:1.0.3
   [INFO] 


   [INFO] Building Multikulti - trunk
   [INFO]task-segment: [compile]
   [INFO] 

   [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::1 for project: 
null:maven-resources-plugin:maven-plugin:2.2 from the repository.
   [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for 
project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
   [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: 
org.apache.maven:maven-parent:pom:1 from the repository.
   [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::8 for project: 
null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
   [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for 
project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
   [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: 
org.apache.maven:maven-parent:pom:5 from the repository.
   [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::11 for project: 
null:maven-site-plugin:maven-plugin:2.0-beta-7 from the repository.
   [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::8 for 
project: org.apache.maven.plugins:maven-plugins:pom:11 from the repository.
   [DEBUG] Retrieving parent-POM: org.apache:apache::4 for project: 
org.apache.maven:maven-parent:pom:8 from the repository.
   [DEBUG] Retrieving parent-POM: 
org.apache.maven.surefire:surefire::2.4.3 for project: 
org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:null from 
the repository.
   [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::7 for 
project: org.apache.maven.surefire:surefire:pom:2.4.3 from the repository.
   [DEBUG] Adding managed dependencies for 
org.apache.maven.plugins:maven-surefire-plugin

   [DEBUG]   org.apache.maven.surefire:surefire-api:jar:2.4.3
   [DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.4.3
   [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.1
   [DEBUG] Plugin dependencies for:
  
   org.apache.maven.plugins:maven-resources-plugin:2.2
  
   are:
  
   org.apache.maven:maven-plugin-api:jar:2.0:runtime

   org.apache.maven:maven-project:jar:2.0:runtime
   org.apache.maven:maven-model:jar:2.0:runtime
   org.codehaus.plexus:plexus-utils:jar:1.1:runtime
  
  
   [DEBUG] 
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime 
(selected for runtime)
   [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for 
project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
   [DEBUG] Adding managed dependencies for 
org.apache.maven:maven-plugin-api

   [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
   [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
   [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
   [DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
   [DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
   [DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
   [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime 
(selected for runtime)

   [DEBUG] Adding managed dependencies for unknown:maven-project
   [DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
   [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
   [DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.