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)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux