public abstract class AbstractSourceAndMetadataPackageMojo extends AbstractMetadataPackageMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addDefaultExcludes
By default files like
.gitignore, .cvsignore etc. |
protected Set<String> |
excludes
The file name patterns to exclude (in addition to the default ones if
addDefaultExcludes. |
classifier, outputTimestamp, project| Constructor and Description |
|---|
AbstractSourceAndMetadataPackageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getJcrSourceDirectory() |
protected static File |
getJcrSourceDirectory(File[] jcrRootSourceDirectory,
File builtContentDirectory,
org.apache.maven.plugin.logging.Log log) |
getFirstExistingDirectory, getMetaInfVaultSourceDirectory, getMetaInfVaultSourceDirectory, getProjectRelativeFilePath, getRelativePath, setPrefixgetLog, getPluginContext, setLog, setPluginContext@Parameter(property="vault.excludes",
defaultValue="**/.vlt,**/.vltignore",
required=true)
protected Set<String> excludes
addDefaultExcludes. The format of each pattern is described in DirectoryScanner.
The comparison is against the path relative to the according filter root.
Since this is hardly predictable it is recommended to use only filename/directory name patterns here
but not take into account file system hierarchies!
Each value is either a regex pattern if enclosed within %regex[ and ], otherwise an
Ant pattern.
@Parameter(defaultValue="true") protected boolean addDefaultExcludes
.gitignore, .cvsignore etc. are excluded which means they will not being
copied. If you need them for a particular reason you can do that by settings this to false. This means
all files like the following will be copied.
Copyright © 2021 The Apache Software Foundation. All rights reserved.