Daniel Burrell
2018-03-01 12:28:07 UTC
Something Iâm not clear on, for an eclipse rcp, documentation recommends
you should define a target file which can contain references to p2 repos
where dependencies can be found. This sounds like the equivalent of a maven
bill of materials, or a way to define cohesive dependencies for a given
platform target. Fine.
Yet the pom file normally has a repository reference in it.
So why would do both?
For example by category of artefacts:
Thereâs my projectâs code which I own
Thereâs the eclipse platform code (rcp etc) which is required to develop an
rcp app.
Then thereâs third party stuff like avro and jackson.
How should third party bundle artefacts be referenced and where should they
be located and why?
- should it be in the thirdparty <repository> referenced directly from the
pom file?
- should it be made available by adding a reference to the p2 repository
containing the artefact to the target platform?
Same questions for the âeclipseâ artefacts.
Is there some sort of lookup precedence when trying to discover
dependencies?
I just seems like a choice between 6 of one vs half a dozen of the other..
Kind regards
Dan
you should define a target file which can contain references to p2 repos
where dependencies can be found. This sounds like the equivalent of a maven
bill of materials, or a way to define cohesive dependencies for a given
platform target. Fine.
Yet the pom file normally has a repository reference in it.
So why would do both?
For example by category of artefacts:
Thereâs my projectâs code which I own
Thereâs the eclipse platform code (rcp etc) which is required to develop an
rcp app.
Then thereâs third party stuff like avro and jackson.
How should third party bundle artefacts be referenced and where should they
be located and why?
- should it be in the thirdparty <repository> referenced directly from the
pom file?
- should it be made available by adding a reference to the p2 repository
containing the artefact to the target platform?
Same questions for the âeclipseâ artefacts.
Is there some sort of lookup precedence when trying to discover
dependencies?
I just seems like a choice between 6 of one vs half a dozen of the other..
Kind regards
Dan