This git repository contains a maven plugin project that is aimed to generate a compressed archive containing an OSGi container structure plus the necessary OSGi bundles necessary to be distributed and ready to be used.
We have have borrowed some code from the spotify's dockerfile maven plugin
and integrated into the plugin's lifecycle in order to produce an docker image from the produced archive and ready to be deployed.
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.