maven dependency for jdt.core coming with 4.6 [message #1739376] |
Sun, 31 July 2016 03:30  |
Eclipse User |
|
|
|
I am using JDT Core to visit Java programs for the purpose of producing a more elaborate model. At this point, I am using version 3.10, but I would like to move to the latest version.
I am using Maven, and I am now looking for a way to get a Maven dependency to org.eclipse.jdt.core. Right now, I am using:
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.10.0</version>
</dependency>
to get the version found on the central Maven repository.
Is there a Maven repository that I can use to get org.eclipse.jdt.core and all its dependencies coming with version 4.6?
|
|
|
|
|
|
Re: maven dependency for jdt.core coming with 4.6 [message #1739890 is a reply to message #1739871] |
Fri, 05 August 2016 09:01   |
Eclipse User |
|
|
|
Thanks for the quick answer.
I did not mean to imply that you have to provide the answer for my question. Sorry if it came out like that.
Thanks for the suggestion of looking at other downstream projects. I took a look at XText. Interestingly, they also seem to depend on version 3.10:
https://github.com/eclipse/xtext-core/blob/master/org.eclipse.xtext.xtext.generator/build.gradle
So, at least it seems that I am not the only one that needs a Maven dependency. For reference, version 3.10 from Maven Central is actually working, and if XText can live with that version, I am also fine with it for now. It's just that it is a bit old, and I would prefer to be closer to the latest release.
Certainly, maintaining a local set of libraries with the latest release is also possible, but it is more difficult to put together given that the 4_6 tag of jdt.core does not contain the jars:
https://github.com/eclipse/eclipse.jdt.core/releases/tag/R4_6
What is the preferred way to get the jdt.core libraries and all needed dependencies?
[Updated on: Fri, 05 August 2016 09:02] by Moderator
|
|
|
Re: maven dependency for jdt.core coming with 4.6 [message #1739895 is a reply to message #1739890] |
Fri, 05 August 2016 09:35  |
Eclipse User |
|
|
|
Hi
I would use the required version of Eclipse.
Write a trivial Java class in a trivial plugin to provoke the Manifest
to compute the dependencies.
Copy all the computed dependencies from the Eclipse plugins folder to
your private area.
Regards
Ed Willink
On 05/08/2016 14:01, Tudor Girba wrote:
> Thanks for the quick answer.
> I did not mean to imply that you have to provide the answer for my
> question :). Sorry if it came out like that.
> Thanks for the suggestion of looking at other downstream projects. I
> took a look at XText. Interestingly, they also seem to depend on version
> 3.10:
> https://github.com/eclipse/xtext-core/blob/master/org.eclipse.xtext.xtext.generator/build.gradle
>
>
> So, at least it seems that I am not the only one that needs a Maven
> dependency :). For reference, version 3.10 from Maven Central is
> actually working, and if XText can live with that version, I am also
> fine with it for now. It's just that it is a bit old, and I would prefer
> to be closer to the latest release.
>
> Certainly, maintaining a local set of libraries with the latest release
> is also possible, but it is more difficult to put together given that
> the 4_6 tag of jdt.core does not contain the jars:
> https://github.com/eclipse/eclipse.jdt.core/releases/tag/R4_6
>
> What is the preferred way to get the jdt.core libraries and all needed
> dependencies?
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
|
|
Powered by
FUDForum. Page generated in 0.03611 seconds