Description
Currently, CXF D-OSGi 1.2 does not integrate nicely into existing advanced OSGi environments like e.g. GlassFish 3.x, where we have e.g. Servlet API 3.0, which in turn requires a newer Apache CXF (CXF 2.2.9 does not resolve to javax.servlet >= 3.0 - 2.2.10+ does).
In addition a lot of cleanup as to be done and dependencies have to be realigned.
I've done this:
- upgrade CXF version from 2.2.9 to 2.4.1
- upgrade all relevant artifact versions and dependencies to match the newer CXF
- upgrade OPS4J Pax Web from 0.5.1 to 1.0.3
- upgrade maven plugin versions
- maven project cleanups
After this the build runs successfully including all tests (however, the disabled RoundTrip test in multi-bundle is still not working correctly):
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Distributed OSGI Reference Implementation ............. SUCCESS [1.437s] [INFO] Distributed OSGI Reference Implementation Parent ...... SUCCESS [0.972s] [INFO] Distributed OSGi Temporary Private Apache Felix Shell TUI Build SUCCESS [2.012s] [INFO] Distributed OSGi Felix Profiles ....................... SUCCESS [1.837s] [INFO] Distributed OSGi Temporary Private Felix Framework Build SUCCESS [0.040s] [INFO] Distributed OSGi Remote Service Admin interfaces ...... SUCCESS [1.464s] [INFO] Distributed OSGi Distribution Software Bundle ......... SUCCESS [10.264s] [INFO] Distributed OSGi Topology Manager implementation ...... SUCCESS [1.992s] [INFO] Distributed OSGI Distributed Software Modules ......... SUCCESS [0.023s] [INFO] Distributed OSGI Local Discovery Service Bundle ....... SUCCESS [2.470s] [INFO] Distributed OSGI Distributed Discovery Zookeeper Library Wrapper Bundle SUCCESS [1.507s] [INFO] Distributed OSGI Distributed Discovery Zookeeper Server Control Bundle SUCCESS [2.325s] [INFO] Distributed OSGI Distributed Discovery Zookeeper Server Control Configuration Bundle SUCCESS [0.721s] [INFO] Distributed OSGI Distributed Discovery Service Bundle . SUCCESS [3.212s] [INFO] Distributed OSGI Distributed Discovery Parent ......... SUCCESS [0.024s] [INFO] Distributed OSGI Discovery Service Modules ............ SUCCESS [0.035s] [INFO] Distributed OSGI Greeter Interface Bundle ............. SUCCESS [0.845s] [INFO] Distributed OSGI Greeter Implementation Bundle ........ SUCCESS [2.294s] [INFO] Distributed OSGI Greeter Bundle Client ................ SUCCESS [0.984s] [INFO] Distributed OSGI Greeter Bundles ...................... SUCCESS [0.018s] [INFO] Distributed OSGI Greeter Rest Interface Bundle ........ SUCCESS [0.683s] [INFO] Distributed OSGI Greeter Implementation Bundle ........ SUCCESS [2.042s] [INFO] Distributed OSGI Greeter Bundle Client ................ SUCCESS [0.745s] [INFO] Distributed OSGI Greeter Rest Bundles ................. SUCCESS [0.019s] [INFO] Distributed OSGI Spring-DM Sample ..................... SUCCESS [0.018s] [INFO] Distributed OSGI Spring-DM Sample Interface Bundle .... SUCCESS [0.600s] [INFO] Distributed OSGI Spring-DM Sample Implementation Bundle SUCCESS [1.577s] [INFO] Distributed OSGI Spring-DM Sample Client Bundle ....... SUCCESS [2.022s] [INFO] Distributed OSGI Declarative Services Sample .......... SUCCESS [0.017s] [INFO] Distributed OSGI Declarative Services Sample Interface Bundle SUCCESS [0.891s] [INFO] Distributed OSGI Declarative Services Sample Implementation Bundle SUCCESS [1.875s] [INFO] Distributed OSGI Declarative Services Sample Client Bundle SUCCESS [0.688s] [INFO] Distributed OSGI Discovery Sample ..................... SUCCESS [0.019s] [INFO] Distributed OSGI Discovery Sample Interface Bundle .... SUCCESS [0.543s] [INFO] Distributed OSGI Discovery Sample Implementation Bundle SUCCESS [1.716s] [INFO] Distributed OSGI Discovery Sample Client Bundle ....... SUCCESS [0.638s] [INFO] Distributed OSGI Security Sample Bundle ............... SUCCESS [0.723s] [INFO] Distributed OSGI RI Sample Bundles .................... SUCCESS [0.019s] [INFO] Distributed OSGI Distribution Parent .................. SUCCESS [0.018s] [INFO] Distributed OSGI Multi-Bundle Distribution ............ SUCCESS [17.298s] [INFO] Distributed OSGI Single-Bundle Distribution ........... SUCCESS [5.600s] [INFO] Distributed OSGI Source Distribution .................. SUCCESS [5.976s] [INFO] Distributed OSGi System Tests Common Classes .......... SUCCESS [4.272s] [INFO] Distributed OSGi System Tests Single-Bundle ........... SUCCESS [25.005s] [INFO] Distributed OSGi System Tests Multi-Bundle ............ SUCCESS [43.887s] [INFO] Distributed OSGi System Tests ......................... SUCCESS [0.032s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 33 seconds [INFO] Finished at: Tue Jun 21 08:29:08 CEST 2011 [INFO] Final Memory: 144M/761M [INFO] ------------------------------------------------------------------------