Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » How can I add maven libraries to an e(fx)clipse project?(Orbit P2 repositories are outdated)
How can I add maven libraries to an e(fx)clipse project? [message #1770767] Thu, 17 August 2017 00:20 Go to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Hi,

I would like to know how to add external libraries to an e(fx)clipse project. I managed to add a P2 repository to the target definition, but the libraries are it is impossible to meet their dependencies...

I read online about the reficio project and it looked very promising. I thought the dependency problem was going to be solved, but it does not work and the project seems abandoned.

Thanks!
Re: How can I add maven libraries to an e(fx)clipse project? [message #1770872 is a reply to message #1770767] Fri, 18 August 2017 06:44 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6365
Registered: July 2009
Senior Member
You need to repackage the maven projects to contain the OSGi-Meta-Data in the manifest and then generate a p2 repository from them - https://github.com/sparsick/generate-p2-repository-from-maven-artifacts/blob/master/pom.xml
Re: How can I add maven libraries to an e(fx)clipse project? [message #1770934 is a reply to message #1770872] Fri, 18 August 2017 22:25 Go to previous message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 44
Registered: April 2017
Member
Thank you Tom. That's what I thought. I will take a look at the link you sent.

For people interested in this topic, after some research I found a very cool project: https://packagedrone.org

The Eclipse Foundation has a video in their YouTube channel: https://www.youtube.com/watch?v=CTPYBqOxXz4

Previous Topic:What bundle should I depend on for javafx.embed.swt.FXCanvas?
Next Topic:Does anyone test e(fx)clipse applications?
Goto Forum:
  


Current Time: Sat Dec 16 16:52:47 GMT 2017

Powered by FUDForum. Page generated in 0.01999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software