Skip to content

Building a Maven p2 repo with features #931

Answered by laeubi
reckart asked this question in Q&A
Discussion options

You must be logged in to vote
  1. it only picks up the OSGi bundles from the reactor, not the feature modules (that are built using Tycho)

I think features are not supported right now neverless.

  1. it only works if building the entire reactor, not when only building the update site module.

That is intentional as the goal for jetty is to include everything currently build without any further configuration, if you only build the site, then there is nothing to include (how should the mojo know?)

So I tried adjusting to adding the features as dependencies and including dependencies in the build

That is the correct approach, but will only work for bundles right now, so instead of a feature you need to add a dependency t…

Replies: 2 comments 25 replies

Comment options

You must be logged in to vote
24 replies
@reckart
Comment options

@laeubi
Comment options

@laeubi
Comment options

@reckart
Comment options

@laeubi
Comment options

Answer selected by reckart
Comment options

You must be logged in to vote
1 reply
@reckart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants