Maven Eclipse Integration Memo

Assume basic Eclipse plugins and maven are installed.

Create Spring OSGi Maven2 Archetype

Creating Spring-OSGi Project with PAX Construct

Tools

Implement a Simple Service

  1. Create project

pax-create-project -g org.cytoscape -a id-mapping-plugin
  1. Add Spring-DM repository

pax-add-repository -i spring-milestones -u http://s3.amazonaws.com/maven.springframework.org/milestone
pax-add-repository -i spring-snapshots -u http://static.springframework.org/maven2-snapshots -- -Dsnapshots -Dreleases=false
  1. Add dependency

pax-import-bundle -g org.springframework.osgi -a spring-osgi-extender -v 1.1.0-m2 -- -DwidenScope -DimportTransitive

MavenEclipseIntegration (last edited 2009-02-12 01:03:44 by localhost)

MoinMoin Appliance - Powered by TurnKey Linux