The best way to start with plugins is to download an already created plugin from the dotCMS website or take a look at the hello.world plugin located in the dotCMS Github repository.
To deploy the hello.world plugin copy it to the plugins directory. See Building and Deploying Plugins If using svn for your checkout make sure to do an `svn export` to copy so you don't get the .svn files. The hello.world plugin is located under the docs/examples/plugins directory
A few things about plugins to be aware of
- All plugins live under the ./plugin directory from the root of dotcms
- A plugin's ID is the folder name of that plugin under the plugins directory
- You must have Apache ANT installed currently to use plugins.
- To deploy a plugin you must stop,deploy,and start your system