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 Details

    • targetPatg

      public String 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 filtering
      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.
    • directory

      public String directory
      Describe the directory where the resources are stored. The path is relative to the POM.
    • includes

      public String[] includes
      A list of patterns to include, e.g. **/*.xml.
    • excludes

      public String[] excludes
      A list of patterns to exclude, e.g. **/*.xml
  • Constructor Details

    • ResourceDTO

      public ResourceDTO()