Apache Maven Resources Plugin

org.apache.maven.plugins : maven-resources-plugin

The Resources Plugin handles the copying of project resources to the output directory. There are two different kinds of resources: main resources and test resources. The difference is that the main resources are the resources associated with the main source code while the test resources are associated with the test source code. Thus, this allows the separation of resources for the main source code and its unit tests.

Aug 05, 2020
40 usages

Add dependency in Maven / Gradle

<!-- https://jmaven.com/dependency/org.apache.maven.plugins/maven-resources-plugin --> 
<dependency>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <version>3.2.0</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.apache.maven.plugins:maven-resources-plugin library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-resources-plugin</artifactId>
  <version>3.2.0</version>
</dependency>
</dependencies>

To install org.apache.maven.plugins:maven-resources-plugin library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.apache.maven.plugins:maven-resources-plugin library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.apache.maven.plugins:maven-resources-plugin:3.2.0'
}

Gradle Kotlin DSL: Add the org.apache.maven.plugins:maven-resources-plugin library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.apache.maven.plugins:maven-resources-plugin:3.2.0")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.apache.maven.plugins:maven-resources-plugin library to your build.sbt file:

libraryDependencies += "org.apache.maven.plugins" % "maven-resources-plugin" % "3.2.0"

4. Add dependency to a Grape project

Grape: Add an annotation org.apache.maven.plugins:maven-resources-plugin library to your groovy script file:

@Grapes(
    @Grab('org.apache.maven.plugins:maven-resources-plugin:3.2.0')
)

Compile Dependencies (2)

Group / Artifact Usage
commons-io » commons-io 13k
org.apache.commons » commons-lang3 14k

Provided Dependencies (1)

Test Dependencies (5)

Recommended for You

Square’s meticulous HTTP client for Java and Kotlin.

An HTTP wrapper around the Maui Topic Indexer

1 stars

WebJar for grapesjs-plugin-ckeditor

Drools Workbench - XLS Decision Table - Client

4 usages

More from Group

Signs the project artifacts with GnuPG.

139 usages

The Apache Maven Javadoc Plugin is a plugin that uses the javadoc tool for generating javadocs for the specified project.

82 usages
43 stars

Provides utility goals to work with dependencies like copying, unpacking, analyzing, resolving and many more.

78 usages

The Compiler Plugin is used to compile the sources of your project.

71 usages
101 stars

The Maven Source Plugin creates a JAR archive of the source files of the current project.

67 usages
© 2022 JMaven.com