# maven-eclipse.github.io
**Repository Path**: rwby/maven-eclipse.github.io
## Basic Information
- **Project Name**: maven-eclipse.github.io
- **Description**: No description available
- **Primary Language**: Java
- **License**: EPL-1.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2019-10-30
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Eclipse SWT for Maven Users
SWT is not available in Maven Central making it difficult to use in Maven projects. Existing Maven repos are either not maintained and abandoned, don't have all platforms, don't contain sources, don't contain the debug jar, or don't provide a reliable, automatic way to update or reproduce the repository. This standard Maven repo is generated by a script that automatically downloads and repackages the official SWT releases.
Looking for the 4.5 milestone (M) and release candidate (RC) releases? [See the dev-releases repository](http://github.com/maven-eclipse/dev-releases)
This repo contains SWT 4.2 to 4.5 on all supported platforms
- Stable releases
- 4.6.1 - 7 Sep 2016
- 4.6 - 6 Jun 2016
- 4.5.2 - 12 Feb 2016
- 4.5.1 - 4 Sep 2015
- 4.5 - 3 Jun 2015
- 4.4.2 - 4 Feb 2015
- 4.4.1 - 25 Sep 2014
- 4.4 - 6 Jun 2014
- 4.3.2 - 21 Feb 2014
- 4.3.1 - 11 Sep 2013
- 4.3 - 5 Jun 2013
- 4.2.2 - 23 Feb 2012
- 4.2.1 - 12 Sep 2011
- 4.2 - 8 Jun 2012
- Platforms
- org.eclipse.swt.win32.win32.x86
- org.eclipse.swt.win32.win32.x86_64
- org.eclipse.swt.cocoa.macosx (Obsoleted after 4.4.2)
- org.eclipse.swt.cocoa.macosx.x86_64
- org.eclipse.swt.gtk.linux.x86
- org.eclipse.swt.gtk.linux.x86_64
- org.eclipse.swt.gtk.solaris.sparc
- org.eclipse.swt.gtk.solaris.x86
- org.eclipse.swt.gtk.aix.ppc
- org.eclipse.swt.gtk.aix.ppc64
- org.eclipse.swt.gtk.hpux.ia64
- org.eclipse.swt.gtk.linux.ppc
- org.eclipse.swt.gtk.linux.ppc64
- org.eclipse.swt.gtk.linux.ppc64le
- org.eclipse.swt.gtk.linux.s390 (Obsoleted after 4.4.2)
- org.eclipse.swt.gtk.linux.s390x (Obsoleted after 4.4.2)
- org.eclipse.swt.win32.wce_ppc.arm.j2se (4.2 and 4.2.1 only, see Windows CE section at the end)
- org.eclipse.swt.win32.wce_ppc.arm.j2me (4.2 and 4.2.1 only, see Windows CE section at the end)
- Each ZIP is extracted as follows
- swt.jar - Main JAR
- swt-debug.jar - Add `debug`
- src.zip - Sources classifier, most IDE's can handle downloading this
Want JFace support? Please see [Issue #1](https://github.com/maven-eclipse/maven-eclipse.github.io/issues/1)
# Why?
[Eclipse #199302](https://bugs.eclipse.org/bugs/show_bug.cgi?id=199302) was an open bug report to to publish SWT to Maven however its been stalled since 2007. Recently this has been reconsidered in [Eclipse #484004](https://bugs.eclipse.org/bugs/show_bug.cgi?id=484004), also see [Issue #6](https://github.com/maven-eclipse/maven-eclipse.github.io/issues/6)
Currently the only available automated downloader is [swt-release-fetcher](http://github.com/hennr/swt-release-fetcher) which is no longer maintained. It has been replaced with a much simpler and more flexible bash script that you can even use to setup your own independent repo.
As of creating this project, existing public SWT maven repositories are not usable:
- https://code.google.com/p/swt-repo/ - Abandoned, last release is 4.4
- https://github.com/urish/swt-repo - Deleted
- https://github.com/swt-repo/swt-repo - Abandoned, last release 4.2.2 only for linux
- https://bitbucket.org/confluenity/maven ([from StackOverflow](http://stackoverflow.com/a/19857630)) - Abandoned, original domain doesn't work, bitbucket repo isn't web accessible, last release is 4.3.1
# How to use
If you were using [swt-repo on Google Code](http://code.google.com/p/swt-repo/) this is a drop in replacement.
Add this to your pom.xml: (Gradle, Ivy, and other builders users: The information is the same)
```
maven-eclipse-repo
http://maven-eclipse.github.io/maven
```
Then add dependencies for each platform you wish to support. The most common are
```
org.eclipse.swt
org.eclipse.swt.win32.win32.x86
${swt.version}
debug
org.eclipse.swt
org.eclipse.swt.win32.win32.x86_64
${swt.version}
org.eclipse.swt
org.eclipse.swt.gtk.linux.x86
${swt.version}
org.eclipse.swt
org.eclipse.swt.gtk.linux.x86_64
${swt.version}
org.eclipse.swt
org.eclipse.swt.cocoa.macosx.x86_64
${swt.version}
```
## WCE - Windows CE
**Ignore this section unless your targeting Windows CE**
Eclipse released these differently from all other platforms
- Only released for 4.2 and 4.2.1
- DLL is a standalone artifact: classifier dll, extension dll
- No debug jar was released