Recursively adds files to the provided zip output stream
Recursively adds files to the provided zip output stream
set to true to add the current entry to the returned set of entries to skip.
entry names that should not be added to the zip file
file that will be copied to the stream if it is not a directory. if it is a directory, it's children will be listed and this method will be called on each as appropriate
name of current entry should it be successfully added to the zip stream
zip output stream
set of zip entries to skip during subsequent calls to this method
Creates a package from a standard vlt working copy, such that the vltRoot directory has two children, jcr_root and META-INF.
Creates a package from a standard vlt working copy, such that the vltRoot directory has two children, jcr_root and META-INF.
parent of both jcr_root and META-INF
zip file to write to
function that prepares the stream by, say, injecting generated versions of entries and returning a Set of those entry names that should be skipped during normal package generation, thus allowing one to merge multiple source trees
directory containing resolved bundles
directory containing resolved bundles
directory containing resolved packages
directory containing resolved packages
Specify the JCR path that the jcr_root folder maps to.
Specify the JCR path that the jcr_root folder maps to. For instance, if the content was checked out using the vlt command, a jcrPath parameter may have been explicitly specified as something other than '/'. In this case, the same explicit value must be set for this mojo to properly create Jar entries so that the package contents wind up at the correct path when installed
target directory
target directory
Specify the server timezone if different from the local timezone.
Specify the server timezone if different from the local timezone. When CRX installs the package, it will check the lastmodified timestamps on the Jar entries and compare them to the jcr:lastModified properties in the repository to determine if each file should be installed or not. Because the Jar entry timestamp does not account for timezone, it is possible for packages created in different timezones to be installed inconsistently on the same server. By setting this parameter, the Jar entry timestamps will be adjusted to reflect the local time of the server timezone instead of the local timezone
The value of this property will be passed to TimeZone.getTimeZone(String id)
, which will be
compared against the build machine's default time zone, TimeZone.getDefault()
, for computing
the desired timestamp offset.
As described in the TimeZone javadocs, if the value of this property is not empty and is not a valid TimeZone id, the GMT timezone will be used for adjustment of timestamps.
target vltpack file
target vltpack file
vault-inf-generated META-INF/vault/...
vault-inf-generated META-INF/vault/... resources
Content root directory containing jcr_root and META-INF folders
directory containing vltpack-generated files
directory containing vltpack-generated files
Creates a vault package based on the generated metadata and configured content root
0.6.0