Skip to content

Good way to create repository with non-OSGi source jars #4052

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

You must be logged in to vote

In general there is no need for any special "building":

  1. create a target platform
  2. add all dependencies as maven locations (and enable to include sources!)
  3. create a category.xml and add all bundles (without sources!)
  4. enable includeAllSources

If that don't work, please explain why and we might find a solution :-)

After that, think about if you really want such a site, there are usually better alternatives today (e.g. simply include them in your repository for the product using repository filtering) or just not mirror the item in the first place, e.g. PDE + m2e can already gather sources on demand.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@merks
Comment options

@ptziegler
Comment options

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