aem-plugin / com.cognifide.gradle.aem.common.pkg / PackageOptions

PackageOptions

class PackageOptions : Serializable

Constructors

<init>

PackageOptions(aem: AemExtension)

Properties

contentDir

Package root directory containing 'jcr_root' and 'META-INF' directories.

var contentDir: File

errors

Define patterns for known exceptions which could be thrown during package installation making it impossible to succeed.

var errors: List<String>

installPath

Content path for OSGi bundle jars being placed in CRX package.

var installPath: String

installRepository

Configures a local repository from which unreleased JARs could be added as 'compileOnly' dependency and be deployed within CRX package deployment.

var installRepository: Boolean

jcrRootDir

JCR root directory.

val jcrRootDir: File

metaCommonDir

Custom path to Vault files that will be used to build CRX package. Useful to share same files for all packages, like package thumbnail.

var metaCommonDir: File

nodeTypesSync

Controls automatic node types exporting from available instance to be later used in package validation.

var nodeTypesSync: NodeTypesSync

nodeTypesSyncFile

Determines location on which synchronized node types will be saved.

var nodeTypesSyncFile: File

responseBuffer

Determines number of lines to process at once during reading Package Manager HTML responses.

var responseBuffer: Int

snapshots

CRX package name conventions (with wildcard) indicating that package can change over time while having same version specified. Affects CRX packages composed and satisfied.

var snapshots: List<String>

storageDir

Calculate directory under storage path for each CRX package.

var storageDir: PackageFile.() -> String

storagePath

Content path at which CRX Package Manager is storing uploaded packages.

var storagePath: String

vltDir

Vault metadata files directory (package definition).

val vltDir: File

Functions

nodeTypesSync

fun nodeTypesSync(name: String): Unit

validator

Customize default validation options.

fun validator(options: PackageValidator.() -> Unit): Unit