Setup Properties

M.E.T.A. uses two sets of plugin properties to configure your Turbine application. The first set is called the "Setup Properties", because they're only read by the turbine:setup goal which is run when creating the skeleton of your application. These parameters are used in various places and transformed into your turbine specific configuration files. Once you've set up your application, these parameter are no longer used. If you change these, you must rerun the turbine:setup goal (which might result in losing other changes to your configuration files, so be careful!).

M.E.T.A. Plugin

PropertyOptional?Default valueDescription
turbine.app.nameNono default valueName of the new application. Must be set for turbine:setup, else the goal fails!
turbine.app.flavorYesturbine-2.3.2Defines the dependencies and the release version of Turbine that the new application should use. Currently supported versions are:

  • turbine-2.3
  • turbine-2.3.1
  • turbine-2.3.2
See the Flavors page for more information.
turbine.app.om.layerYestorqueDefines the OM layer which is configured and used with Turbine to access database information. Currently supported settings are:

  • none - don't configure an OM layer
  • torque - configure Torque
See the OM Layer Configuration for more information.
turbine.app.subdirYestrue
  • true: Create the skeleton for the new application in a subdirectory. Name of the subdirectory is ${turbine.app.name}.
  • false: Create the skeleton in the current directory.
turbine.app.setup.demoYestrueIf true, copy the demo images, a default start page and a redirection page into the newly created application. If set to false, no content files are copied into the new application tree. See also the Demo Pages section.
turbine.app.torque.use.idtableYestrueIf true, the all torque related goals will also build SQL code for the ID table which is used by the Torque ID Broker to generate unique IDs. If you use a different ID generation scheme (e.g. sequences), you can set this property to false and remove all id-table related files from the schema directory.
turbine.plugin.modeYesnormalSelects the development mode for your application.
turbine.plugin.inplace.dirYes.Selects the location of the web application tree relative to to the root of your application when using inplace development.
turbine.setup.propertiesYessetup.propertiesSelects the properties file which is loaded to configure the turbine:setup goal.

Other plugins

PluginPropertyOptional?Default valueDescription
appservermaven.appserver.nameYestomcatType of the application server used for testing and/or deploying of the application
torquetorque.databaseYespostgresqlSets the database type that this application will use
torquetorque.database.driverYesnot setSet the database driver class
torquetorque.database.userYesnot setSet the database user for connecting
torquetorque.database.passwordYesnot setSet the database password for connecting
torquetorque.database.buildUrlYesnot setJDBC-URI which can be used for creating tables and inserting data into the database
torquetorque.database.createUrlYesnot setJDBC-URI which can be used by the Torque plugin to connect to the database engine to create the requested database.

Properties

These properties are used at setup time and get copied into the M.E.T.A. generated project.properties file. They're used by various M.E.T.A. goals and can be changed to modify the behaviour of the plugin goals.

M.E.T.A. Plugin

PropertyOptional?Default valueDescription
turbine.app.packageYesorg.apache.turbine.app.${turbine.app.name}The Java package of the new application.
turbine.app.om.nameYes${turbine.app.name}Name of the Torque datasource for application data.
turbine.app.om.packageYes${turbine.app.package}.omPackage for the OM classes to be used for application data.
turbine.app.om.security.nameYes${turbine.app.om.name}Name of the Torque datasource which contains the Turbine security tables (users, groups, roles, permissions)
turbine.app.om.security.packageYes${turbine.app.om.package}Package for the OM classes to be used for security information.
turbine.plugin.base.dirYes.Relative location of the web application tree to the application root when using inplace development.
turbine.plugin.src.imagesYesdepends on development mode, see Directory tree referenceDirectory where image files are kept.
turbine.plugin.src.pagesYesdepends on development mode, see Directory tree referenceDirectory where files that should go into the root of the web application are kept.
turbine.plugin.src.propsYesdepends on development mode, see Directory tree referenceDirectory where files that should go into the WEB-INF/classes directory of the web application are kept.
turbine.plugin.src.resourcesYesdepends on development mode, see Directory tree referenceDirectory where misc. Turbine resources are kept.
turbine.plugin.src.schemaYesdepends on development mode, see Directory tree referenceDirectory where Torque schema files are kept.
turbine.plugin.src.scriptsYesdepends on development mode, see Directory tree referenceDirectory where Javascript files are kept.
turbine.plugin.src.styleYesdepends on development mode, see Directory tree referenceDirectory where cascading style sheets are kept.
turbine.plugin.src.templatesYesdepends on development mode, see Directory tree referenceDirectory where Velocity template files are kept.
turbine.plugin.src.confYesdepends on development mode, see Directory tree referenceDirectory where application and Turbine configuration files are kept.
turbine.plugin.src.javaYesdepends on development mode, see Directory tree referenceDirectory where the Java source tree is located.
turbine.plugin.src.testYesdepends on development mode, see Directory tree referenceDirectory where Java source code for test classes is kept.
turbine.plugin.target.libYesdepends on development mode, see Directory tree referenceTarget directory for application libraries when using inplace development.
turbine.plugin.config.skipYesfalseIf set to true, the configuration files from the turbine.plugin.src.conf location will be neither deployed nor added to the WAR file.
turbine.plugin.images.skipYesfalseIf set to true, the files from the turbine.plugin.src.images location will be neither deployed nor added to the WAR file.
turbine.plugin.pages.skipYesfalseIf set to true, the files from the turbine.plugin.src.pages location will be neither deployed nor added to the WAR file.
turbine.plugin.resources.skipYesfalseIf set to true, the files from the turbine.plugin.src.resources location will be neither deployed nor added to the WAR file.
turbine.plugin.scripts.skipYesfalseIf set to true, the files from the turbine.plugin.src.scripts location will be neither deployed nor added to the WAR file.
turbine.plugin.style.skipYesfalseIf set to true, the files from the turbine.plugin.src.style location will be neither deployed nor added to the WAR file.
turbine.plugin.templates.skipYesfalseIf set to true, the files from the turbine.plugin.src.templates location will be neither deployed nor added to the WAR file.

From other plugins

PluginPropertyOptional?Default valueDescription
appservermaven.appserver.homeYesnot setDefines the root directory of your application server used for testing and/or deploying of the application if you use a development mode that needs container deployment.

Special Properties

PropertyValueDescription
turbine.target.dirDeployment directory of your applicationAvailable only in turbine:deploy postGoals to allow custom scripts to copy additional files to the deployment target.