Pax Construct provides a Swiss Army®
knife for OSGi that helps you rapidly create, build, manage and deploy many types of OSGi bundles. The core functionality is provided by a flexible Maven2 plugin that enhances and streamlines the Maven build process for OSGi, along with intelligent archetypes that adapt according to your needs.
Unix and Windows scripts are available to further reduce the need to remember (and type) long command strings. These scripts come with basic help text and can bootstrap themselves from an empty system.
You can use Pax Construct to create a simple first bundle in less than a minute, all the way up to managing a Spring Dynamic Modules for OSGiTM
system.
 |
Pax Construct is now documented using Maven, however this Wiki will be used to capture frequently asked questions and other associated material.
The previous wiki-based documentation for 0.1.x can be found here. |
Report bugs and request new features on JIRA
Have questions or need help with OSGi bundles? - please comment below or post to general@lists.ops4j.org
 |
This FAQ is driven by you - if your question isn't answered here please register and add a comment, or post to the mailing list! |
0.6.x FAQ
Scripts
Plugins
Maven
- When I try to create a new project using "pax-create-project -g examples -a test" command, I get NoClassDefFoundError on org.codehaus.plexus.util.xml XmlStreamWriter.
 |
this is a known problem when using Maven 2.0.5 due to a classloading issue wrt. some of the internal Maven code:
http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-45 for more details
The current workaround is to use Maven 2.0.6 or above, where this classloading issue doesn't occur. This will be fixed in the 0.6.0 release which will also add a new command (pax-update) that provides an easy way to update scripts and projects. |
OSGi
General
Screencasts
coming soon...