Skip to main content

SwingX in central maven repository

Posted by rah003 on November 28, 2007 at 12:30 AM PST

Finally, SwingX is in central maven repository.

Use following dependency definition to add it to your build:

 <dependency>
       <groupId>org.swinglabs</groupId>
       <artifactId>swingx</artifactId>
       <version>0.9.1</version>
</dependency>

similarly you can declare use of version 0.9 as both of them are available.
This declaration is valid for both JDK 1.5 and 1.6. All extra dependencies necessary for 1.5 (swing-layout, swing-worker, multiple-gradient-paints) will be picked up automatically via activation profile.

If you need just swing-layout or swing-worker for your project, they are both in central repo as well, under the org.swinglabs groupId.

Thanks a lot to Wim for all help with getting all of swinglabs to maven.