...
Code Block |
---|
|
mvn archetype:generate -DarchetypeRepository=http://download.jetbrains.com/teamcity-repository -DarchetypeArtifactId=teamcity-server-plugin -DarchetypeGroupId=org.jetbrains.teamcity.archetypes -DarchetypeVersion=9.0RELEASE
|
Here is the Maven command that will generate a project that contains both, the server and agent parts of a plugin and depends on 9.0 TeamCity version:
Code Block |
---|
|
mvn archetype:generate -DarchetypeRepository=http://download.jetbrains.com/teamcity-repository -DarchetypeArtifactId=teamcity-plugin -DarchetypeGroupId=org.jetbrains.teamcity.archetypes -DarchetypeVersion=9.0RELEASE
|
Here is the Maven command that will generate a sample project on 9.0 TeamCity version:
Code Block |
---|
|
mvn archetype:generate -DarchetypeRepository=http://download.jetbrains.com/teamcity-repository -DarchetypeArtifactId=teamcity-sample-plugin -DarchetypeGroupId=org.jetbrains.teamcity.archetypes -DarchetypeVersion=9.0RELEASE
|
You will be asked to enter the usual Maven groudId
, artifactId
and 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.
...