aQute.maven.dto.ResourceDTO Maven / Gradle / Ivy
package aQute.maven.dto;
import aQute.bnd.util.dto.DTO;
/**
* This element describes all of the classpath resources associated with a
* project or unit tests.
*/
public class ResourceDTO extends DTO {
/**
* 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.
*/
public String targetPatg;
/**
* Whether resources are filtered to replace tokens with parameterised
* values or not. The values are taken from the properties
* element and from the properties in the files listed in the
* filters
element. Note: While the type of this field is
* String
for technical reasons, the semantic type is actually
* Boolean
. Default value is false
.
*/
public boolean filtering = false;
/**
* Describe the directory where the resources are stored. The path is
* relative to the POM.
*/
public String directory;
/**
* A list of patterns to include, e.g. **/*.xml
.
*/
public String[] includes;
/**
* A list of patterns to exclude, e.g. **/*.xml
*/
public String[] excludes;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy