teamcity-plugin- an empty plugin, includes both the server and the agent plugin parts
teamcity-server-plugin- an empty plugin, includes the server plugin part only
teamcity-sample-plugin- the plugin with the sample code (adds a "Click me" button to the bottom of the TeamCity project Overview page)
Different released versions of the TeamCity server API are listed here.
Here is the Maven command that will generate a project for a server-side-only plugin depending on 10.0 TeamCity version:
mmvnmvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeRepository=http://download.jetbrains.com/teamcity-repository -DarchetypeArtifactId=teamcity-server-plugin -DarchetypeGroupId=org.jetbrains.teamcity.archetypes -DarchetypeVersion=RELEASE -DteamcityVersion=10.0
You will be asked to enter the usual Maven
version for your plugin. Please note, that artifactId will be used as your plugin (internal) name.
After the project is generated, you may want to update
teamcity-plugin.xml in the root directory: enter display name, description, author e-mail and other information.