Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Different way exist to create maven project. For the basic project like DBdb, we have choosen used the archetype 'simple' with the command : or maven OSGI project using archetypes : mvn archetype:create -DartifactId=simple ...

Remark :

  • don't forget to run the command mvn eclipse:eclipse inside the folder created

For the OSGI bundles different approaches are available instead of for the OSGI bundles we can use one of the two following approaches :

  • Spring archetype : mvn archetype:create -DarchetypeGroupId=org.springframework.osgi -DarchetypeArtifactId=spring-osgi-bundle-archetype ...
  • PAX archetype : mvn org.ops4j:maven-pax-plugin:create-bundle ...

But but for the purpose of this tutorial, the spring archetype has been used because it allows to create :

...