Uses of Class
org.apache.maven.api.model.Resource
Packages that use Resource
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo model.-
Uses of Resource in org.apache.maven.api.model
Fields in org.apache.maven.api.model declared as ResourceFields in org.apache.maven.api.model with type parameters of type ResourceModifier and TypeFieldDescription(package private) Collection<Resource> BuildBase.Builder.resourcesBuildBase.resourcesThis element describes all the classpath resources such as properties files associated with a project.(package private) Collection<Resource> BuildBase.Builder.testResourcesBuildBase.testResourcesThis element describes all the classpath resources such as properties files associated with a project's unit tests.Methods in org.apache.maven.api.model that return ResourceModifier and TypeMethodDescriptionResource.Builder.build()static ResourceResource.newInstance()Creates a newResourceinstance.static ResourceResource.newInstance(boolean withDefaults) Creates a newResourceinstance using default values or not.Resource.withDirectory(String directory) Creates a newResourceinstance using the specified directory.Resource.withExcludes(Collection<String> excludes) Creates a newResourceinstance using the specified excludes.Resource.withFiltering(String filtering) Creates a newResourceinstance using the specified filtering.Resource.withIncludes(Collection<String> includes) Creates a newResourceinstance using the specified includes.Resource.withMergeId(String mergeId) Creates a newResourceinstance using the specified mergeId.Resource.withTargetPath(String targetPath) Creates a newResourceinstance using the specified targetPath.Methods in org.apache.maven.api.model that return types with arguments of type ResourceModifier 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.Methods in org.apache.maven.api.model with parameters of type ResourceModifier and TypeMethodDescriptionstatic Resource.BuilderResource.newBuilder(Resource from) Creates a newResourcebuilder instance using the specified object as a basis.static Resource.BuilderResource.newBuilder(Resource from, boolean forceCopy) Creates a newResourcebuilder instance using the specified object as a basis.Method parameters in org.apache.maven.api.model with type arguments of type ResourceModifier 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 newBuildinstance using the specified resources.BuildBase.withResources(Collection<Resource> resources) Creates a newBuildBaseinstance using the specified resources.Build.withTestResources(Collection<Resource> testResources) Creates a newBuildinstance using the specified testResources.BuildBase.withTestResources(Collection<Resource> testResources) Creates a newBuildBaseinstance using the specified testResources.Constructors in org.apache.maven.api.model with parameters of type Resource -
Uses of Resource in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return types with arguments of type ResourceModifier and TypeMethodDescriptionProjectManager.getResources(Project project, ProjectScope scope) Get the list of resources for the given project and scopeMethods in org.apache.maven.api.services with parameters of type ResourceModifier and TypeMethodDescriptionvoidProjectManager.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
Methods in org.apache.maven.internal.impl that return types with arguments of type ResourceModifier and TypeMethodDescriptionDefaultProjectManager.getResources(Project project, ProjectScope scope) Methods in org.apache.maven.internal.impl with parameters of type ResourceModifier and TypeMethodDescriptionvoidDefaultProjectManager.addResource(Project project, ProjectScope scope, Resource resource) -
Uses of Resource in org.apache.maven.internal.impl.model
Methods in org.apache.maven.internal.impl.model that return ResourceModifier and TypeMethodDescriptionprivate ResourceDefaultModelPathTranslator.alignToBaseDirectory(Resource resource, Path basedir) Returns a resource with all properties identical to the given resource, except the paths which are resolved according the givenbasedir.Methods in org.apache.maven.internal.impl.model with parameters of type ResourceModifier and TypeMethodDescriptionprivate ResourceDefaultModelPathTranslator.alignToBaseDirectory(Resource resource, Path basedir) Returns a resource with all properties identical to the given resource, except the paths which are resolved according the givenbasedir.Method parameters in org.apache.maven.internal.impl.model with type arguments of type ResourceModifier and TypeMethodDescriptionprivate voidDefaultModelValidator.validate20RawResources(ModelProblemCollector problems, List<Resource> resources, String prefix, int validationLevel) -
Uses of Resource in org.apache.maven.model
Methods in org.apache.maven.model that return ResourceMethods in org.apache.maven.model that return types with arguments of type ResourceMethod parameters in org.apache.maven.model with type arguments of type ResourceConstructors in org.apache.maven.model with parameters of type Resource -
Uses of Resource in org.apache.maven.model.path
Methods in org.apache.maven.model.path that return ResourceModifier and TypeMethodDescriptionprivate ResourceDefaultModelPathTranslator.alignToBaseDirectory(Resource resource, Path basedir) Deprecated.Methods in org.apache.maven.model.path with parameters of type ResourceModifier and TypeMethodDescriptionprivate ResourceDefaultModelPathTranslator.alignToBaseDirectory(Resource resource, Path basedir) Deprecated. -
Uses of Resource in org.apache.maven.model.v4
Methods in org.apache.maven.model.v4 that return ResourceModifier and TypeMethodDescriptionprotected ResourceMavenMerger.mergeResource(Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) private ResourceMavenStaxReader.parseResource(XMLStreamReader parser, boolean strict, InputSource source) protected ResourceMavenTransformer.transformResource(Resource target) Methods in org.apache.maven.model.v4 that return types with arguments of type ResourceModifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer<Resource> MavenMerger.getResourceKey()Methods in org.apache.maven.model.v4 with parameters of type ResourceModifier and TypeMethodDescriptionprotected voidMavenMerger.mergeResource(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected ResourceMavenMerger.mergeResource(Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected voidMavenMerger.mergeResource_Directory(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected voidMavenMerger.mergeResource_Excludes(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected voidMavenMerger.mergeResource_Filtering(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected voidMavenMerger.mergeResource_Includes(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected voidMavenMerger.mergeResource_MergeId(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected voidMavenMerger.mergeResource_TargetPath(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected ResourceMavenTransformer.transformResource(Resource target) protected Resource.BuilderMavenTransformer.transformResource_Directory(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.BuilderMavenTransformer.transformResource_Excludes(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.BuilderMavenTransformer.transformResource_Filtering(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.BuilderMavenTransformer.transformResource_Includes(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) protected Resource.BuilderMavenTransformer.transformResource_TargetPath(Supplier<? extends Resource.Builder> creator, Resource.Builder builder, Resource target) private voidMavenStaxWriter.writeResource(String tagName, Resource resource, XMLStreamWriter serializer) -
Uses of Resource in org.apache.maven.model.validation
Method parameters in org.apache.maven.model.validation with type arguments of type ResourceModifier and TypeMethodDescriptionprivate voidDefaultModelValidator.validate20RawResources(ModelProblemCollector problems, List<Resource> resources, String prefix, ModelBuildingRequest request) Deprecated.