I have applied a patch from John Conlon to create a new, single pom.xml
file that separates the Felix subprojects into profiles according to
their packaging type. This was necessary to avoid a bug in Maven which
appears when a project has more than one type of packaging plugins
(Felix has three such plugins currently).
To build the trunk with the new plugin, you should do the following:
* "mvn -Dpackaging=osgi-bundle clean install" - this builds all
subprojects that use the old bundle plugin.
* "mvn -Dpackaging=osgi-bundle-mosgi clean install" - this builds
the mosgi subprojects that use the old bundle plugin, but are also
dependent upon JDK 1.5.
* "mvn -Dpackaging=bundle clean install" - this builds all
subprojects that use the new bundle plugin.
* "mvn -Dpackaging=ipojo-bundle clean install" - this builds all
subprojects that use the ipojo plugin.
To simplify building all subprojects, I modified the Ant build.xml file
to use these new profiles. The build.xml file will "clean install"
everything when you type "ant" or you can specify "ant clean" or "ant
install" to only clear or install everything, respectively.
Hopefully this is only a temporary situation that will be returned to
normal once the Maven bug is resolved.
-> richard