TeamCity Plugin Maven Archetype 1.0 published
Hi plugin developers,
I created a Maven Archetype for new TeamCity plugins. If you want to create a new plugin and use Maven you can create a template with this command:
mvn archetype:generate -DarchetypeCatalog=http://timomeinen.de/repository/ -DarchetypeGroupId=de.timomeinen -DarchetypeArtifactId=teamcity-plugin-archetype
Within your new project you can build and deploy your plugin to the local Buildserver with
mvn deploy
This first version of the archetype provides the following features:
- Create a new TeamCity plugin with Maven format
- Get all TeamCity developer libraries as Maven dependencies
- deploy your plugin to the BuildServer (call 'mvn deploy')
- Build a server plugin
At the moment the agent plugin is not supported, but this is planned for 2.0.
If you have any trouble or feature requests, please raise issues at github:
https://github.com/timomeinen/teamcity-plugin-archetype
Please sign in to leave a comment.
Looks promising, I would definitely use this when it supports agent-side stuff -- as most of my plugins tend to need that :)
Hi Mark,
thank you for your answer. I never wrote an agent side plugin. I will try to create a demo plugin to test the archetype and publish it. Or do you have a small demo agent plugin, which you could provide to me?
Since TeamCity 8 JetBrains provides an own archetype for plugin development: http://confluence.jetbrains.com/display/TCD8/Developing+Plugins+Using+Maven