This git repository contains a maven plugin project that is aimed to generate an archive containing one or two OSGi indexed repositories and the the bundles artifacts selected based on project's dependencies.
The generated archive can contain both OSGi R5 and Eclipse P2 metadata files.
Also the plugin can generate an Eclipse IDE Target Platform file which can be used to setup an OSGi development environment in Eclipse PDE.
Full usage details, FAQs, examples and more are available on the project documentation website.
To build and run the tests, you need Java 8 or later and Maven 3.5.4 or later.
Simply clone this repository and run mvn clean install
In order to run the with test coverage support then run mvn clean install -Dc8tech.build.test.coverage
You can use the Eclipse IDE justing importing the project into a workspace. It will automatically ask you to install the m2e related plugins. Also, in order to facilitate to build, some m2e launcher files are provided in the .m2e-launchers directory.
Note that the tests run the plugin against a number of sample test projects, located in the test-projects
folder.
If adding new functionality, or fixing a bug, it is recommended that a sample project be set up so that the scenario
can be tested end-to-end.
See also CONTRIBUTING.md for information on deploying to Nexus and releasing the plugin.