Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve required JAR dependencies from a public maven repo #3

Closed
bwolff opened this issue Dec 8, 2012 · 2 comments
Closed

Resolve required JAR dependencies from a public maven repo #3

bwolff opened this issue Dec 8, 2012 · 2 comments
Assignees

Comments

@bwolff
Copy link
Owner

bwolff commented Dec 8, 2012

Currently, the plugin bundles the requires RWT/JFace JAR files, because the latest RWT 2.0 milestones are currently not available via a public repo. This is not very flexible and doesn't allow RWT version changes without releasing a new plugin version.

The problem is that only the RWT release version are distributed in the maven central. I'll have to issue a bug request against RAP to discuss if it would be possible to also release the milestones into maven central.

It is desirable to use a maven repo because Grails supports resolution of the dependenies out of the box.

Here is the list of bundles that are required and that need to be compatible between each other:

  • org.eclipse.core.commands
  • org.eclipse.core.runtime
  • org.eclipse.equinox.common
  • org.eclipse.rap.jface
  • org.eclipse.rap.rwt
@bwolff
Copy link
Owner Author

bwolff commented Dec 8, 2012

I created a RAP bug report about this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=396122

@ghost ghost assigned bwolff Dec 8, 2012
@bwolff
Copy link
Owner Author

bwolff commented Apr 16, 2013

Thanks to the RAP guys the RWT/JFace bundles are not resolved from the maven central:

compile('org.eclipse.rap:org.eclipse.rap.rwt:2.0.0')
compile('org.eclipse.rap:org.eclipse.rap.jface:2.0.0')
compile('org.eclipse.rap:org.eclipse.rap.jface.databinding:2.0.0')

This allows to override these dependencies in the future in the application that uses the plugin. For example, the 2.1 milestone releases are already available.

Unfortunately, some JAR dependencies that are required by JFace still need to be packaged with the plugin. These dependencies are not available in any public maven repo in the required version. At least I didn't find them.

org.eclipse.core.commands:3.6.1
org.eclipse.core.runtime:3.9.0
org.eclipse.equinox.common:3.6.100

So if a future release of RWT requires a new version the plugin needs to be updated :/.

@bwolff bwolff closed this as completed Apr 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant