close

Filter

loading table of contents...

Blueprint Developer Manual / Version 2107

Table Of Contents
4.1.6.1.7 Maven Archetype

As a starting point for the development of a new plugin CoreMedia recommends to use the CoreMedia plugin-archetype. The created Maven project contains a descriptor and an example configuration class and manages necessary dependencies. On building, a plugin ZIP file will be created and attached which is ready to be deployed with the given application.

The archetype has the following additional parameters:

application

The targeted application (for example, studio-server). The value is the artifact ID of the root POM of the workspace. It is also possible to set this to common or middle to create a plugin that could be used in different applications.

cms-version

The version of the CoreMedia platform that you compile and test your plugin against (for example, 2101.1).

Example: Creating a Studio Server plugin

mvn archetype:generate \
  -DarchetypeGroupId=com.coremedia.maven \
  -DarchetypeArtifactId=plugin-archetype \
  -DarchetypeVersion=1.0.0 \
  -DgroupId=com.acme.plugins \
  -DartifactId=myplugin-studio-server \
  -Dversion=0.1.0-SNAPSHOT \
  -Dpackage=com.acme.plugins.myplugin.studio_server \
  -Dapplication=studio-server \
  -Dcms-version=2101.1

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.