Uses of Class
org.apache.maven.api.model.Resource
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.-
Uses of Resource in org.apache.maven.api.model
Modifier and TypeMethodDescriptionResource.Builder.build()
static Resource
Resource.newInstance()
Creates a newResource
instance.static Resource
Resource.newInstance
(boolean withDefaults) Creates a newResource
instance using default values or not.Resource.withDirectory
(String directory) Creates a newResource
instance using the specified directory.Resource.withExcludes
(Collection<String> excludes) Creates a newResource
instance using the specified excludes.Resource.withFiltering
(String filtering) Creates a newResource
instance using the specified filtering.Resource.withIncludes
(Collection<String> includes) Creates a newResource
instance using the specified includes.Resource.withMergeId
(String mergeId) Creates a newResource
instance using the specified mergeId.Resource.withTargetPath
(String targetPath) Creates a newResource
instance using the specified targetPath.Modifier and TypeMethodDescriptionBuildBase.getResources()
This element describes all the classpath resources such as properties files associated with a project.BuildBase.getTestResources()
This element describes all the classpath resources such as properties files associated with a project's unit tests.Modifier and TypeMethodDescriptionstatic Resource.Builder
Resource.newBuilder
(Resource from) Creates a newResource
builder instance using the specified object as a basis.static Resource.Builder
Resource.newBuilder
(Resource from, boolean forceCopy) Creates a newResource
builder instance using the specified object as a basis.Modifier and TypeMethodDescriptionBuild.Builder.resources
(Collection<Resource> resources) BuildBase.Builder.resources
(Collection<Resource> resources) Build.Builder.testResources
(Collection<Resource> testResources) BuildBase.Builder.testResources
(Collection<Resource> testResources) Build.withResources
(Collection<Resource> resources) Creates a newBuild
instance using the specified resources.BuildBase.withResources
(Collection<Resource> resources) Creates a newBuildBase
instance using the specified resources.Build.withTestResources
(Collection<Resource> testResources) Creates a newBuild
instance using the specified testResources.BuildBase.withTestResources
(Collection<Resource> testResources) Creates a newBuildBase
instance using the specified testResources. -
Uses of Resource in org.apache.maven.api.services
Modifier and TypeMethodDescriptionProjectManager.getResources
(Project project, ProjectScope scope) Get the list of resources for the given project and scopeModifier and TypeMethodDescriptionvoid
ProjectManager.addResource
(Project project, ProjectScope scope, Resource resource) Add a resource set to the given project for the given scope. -
Uses of Resource in org.apache.maven.internal.impl
Modifier and TypeMethodDescriptionDefaultProjectManager.getResources
(Project project, ProjectScope scope) Modifier and TypeMethodDescriptionvoid
DefaultProjectManager.addResource
(Project project, ProjectScope scope, Resource resource) -
Uses of Resource in org.apache.maven.model
-
Uses of Resource in org.apache.maven.model.v4
Modifier and TypeMethodDescriptionprotected Resource
MavenMerger.mergeResource
(Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected Resource
MavenTransformer.transformResource
(Resource target) Modifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer<Resource>
MavenMerger.getResourceKey()
Modifier and TypeMethodDescriptionprotected void
MavenMerger.mergeResource
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected Resource
MavenMerger.mergeResource
(Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Directory
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Excludes
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Filtering
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Includes
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_MergeId
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_TargetPath
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected Resource
MavenTransformer.transformResource
(Resource target) protected Resource.Builder
MavenTransformer.transformResource_Directory
(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.Builder
MavenTransformer.transformResource_Excludes
(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.Builder
MavenTransformer.transformResource_Filtering
(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.Builder
MavenTransformer.transformResource_Includes
(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.Builder
MavenTransformer.transformResource_TargetPath
(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target)