Package aQute.maven.dto
Class ResourceDTO
java.lang.Object
aQute.bnd.util.dto.DTO
aQute.maven.dto.ResourceDTO
public class ResourceDTO
extends aQute.bnd.util.dto.DTO
This element describes all of the classpath resources associated with a
project or unit tests.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDescribe the directory where the resources are stored.String[]A list of patterns to exclude, e.g.booleanWhether resources are filtered to replace tokens with parameterised values or not.String[]A list of patterns to include, e.g.Describe the resource target path. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class aQute.bnd.util.dto.DTO
toString
-
Field Details
-
targetPatg
Describe the resource target path. The path is relative to the target/classes directory (i.e.${project.build.outputDirectory}). For example, if you want that resource to appear in a specific package (org.apache.maven.messages), you must specify this element with this value:org/apache/maven/messages. This is not required if you simply put the resources in that directory structure at the source, however. -
filtering
public boolean filteringWhether resources are filtered to replace tokens with parameterised values or not. The values are taken from thepropertieselement and from the properties in the files listed in thefilterselement. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse. -
directory
Describe the directory where the resources are stored. The path is relative to the POM. -
includes
A list of patterns to include, e.g.**/*.xml. -
excludes
A list of patterns to exclude, e.g.**/*.xml
-
-
Constructor Details
-
ResourceDTO
public ResourceDTO()
-