 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: maven compile of swing project fails
Posted: Sep 05, 2008 - 04:22 AM
|
|
Joined: Jan 14, 2008
Posts: 5
|
|
I am trying to do a maven build on a matisse/Swing project.
The compile fails saying it can't find org.jdesktop.layout which is in swing-layout-1.0.3.jar. This jar is listed as a referenced library.
I am using the JavaEE 5.0 JDK for the compiler in Maven since it seems to need a jdk.
The MyEclipse run's work just fine.
I tried this on a trivial project started as Maven after it failed on one I converted.
Any thoughts on how I can get the Maven compile to look for the referenced libraries?
TIA,
Maurice |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: maven compile of swing project fails
Posted: Sep 05, 2008 - 06:27 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 5657
|
|
| Right click on your Maven project and go to Maven4MyEclipse > Add Dependency and search for the swing layout jar. Add this jar to the Maven Repo and you should be good to go. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |