Daily use of the plugin

In the following is the normal use of the plug described. However if you still have questions, send a mail to the author of this document.

Is is essential that the user has normal understanding of Maven in order to operate this plugin ccorrectly.

Using the template

Simply run the command: maven sapep:template.

The plugin will ask you some questions and and then setup the project template based on the questions.

A folder based on the project ID provided with the new project layout is created in your working directory.

After running the template engine it's a good idea to also run ether sapep:eclipse or sapep:devstudio to create the IDE project files for your project.

To add the project to the ide, follow these steps:

  • If you have not done so allready, open your IDE (real eclipse or developer studio).
  • Choose menu: File --> New --> Project.
  • In the dialog expand 'Simple' and choose 'project', click next.
  • Type in the project ID as the project name, uncheck the 'Use default' checkbox and do one of the folloving:

    If you use real eclipse browse to ${project root}/src/<ID-you-just-entered> and if you use SNDS browse to ${project root}/src/<ID-you-just-entered>/src as the project Directory.
  • Click finish.
You can also use the Eclipse import feature for importing existing projects into the workspace, but it's not always it works.

Adding a dependency

The correct way of doing so is to add the dependecy to the pom (project.xml) and re-call sapep:eclipse or sapep:devstudio and the refresh the project in your eclipse / developer studio.

By following this process we will ensure that no obsolete components will come in use and you'll utilize the configuration management of Maven to the fullest.


Didn't find what you were looking for? - ask the author of this document