I am creating a multi module maven project and want to keep resources (property files, json) in a separate module. Now to import this resource module in other modules, I have two option - either to use maven-resources-plugin or to use maven-remote-resources-plugin. I already have working code wrt maven-resources-plugin but while searching in internet I found post only on maven-remote-resources-plugin which made me question if I am following maven standards on resources use. And is it worth to move from maven-resources-plugin to maven-remote-resources-plugin? Any pointers with respect to this is appreciated.
maven-remote-resources-plugin vs maven-resources-plugin
923 views Asked by jayant At
1
There are 1 answers
Related Questions in MAVEN
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- JavaFX build generating a blank gui with primary view and secondary view buttons
- Maven (Java) does not build dependencies into a compiled file
- java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.TagLibraryValidator in Spring-boot jsp application
- I am trying to use h2 in-memory db from my spring boot application, my spring boot version is 3.1.10, but its not connecting to h2 properly
- BeanCreationException when deploying Spring Boot app
- How to run Parallel tests by groups using Maven and TestNG?
- Get control flow information with JaCoCo
- Failed to instantiate [com.docusign.esign.client.ApiClient]
- Gradle - Groovy vs Gradle - Kotlin vs Maven for Java Spring Boot web application project on IntelliJ
- Intelij ultimate and spring boot giving me errors
- Using Eclipse Maven project, import new version of a class from a jar file created from another Maven project
- Messing up with conflict between spring jcl and commons-logging.jar
- Run java program
- How to add a Maven project to an Ubuntu image in Docker
Related Questions in MAVEN-RESOURCES-PLUGIN
- maven-resource-plugin overwrite=true ignored - newer file is kept
- How to execute or update files stored in resources folder (intelliJ plugin)
- Maven replaces the properties dynamically during the build
- Maven resource plugin do not resolve project.parent.basedir
- maven does not copy property file to specified destination in tomcat
- getResourceAsStream returns null under Thread.currentThread.getContextClassLoader().getClass()
- SpringBoot : possible to have dynmamic values/variables from application.properties into resources
- File does not exist in target/classes folder of JAR, meant to be read from resources project folder
- Copy resources into sepparate folders in the jar with maven
- How to best copy files within a maven build?
- Non-java resources disappear from class package after maven packaging
- How to modify the contents or replace a file which resides in webapp directory of a Maven webapp project
- Maven Resources plugin ignoring exclusion list
- Having troubles building a maven project
- CodenameOne - accessing images from nested folder hierarchy in app bundled resources
Related Questions in MAVEN-REMOTE-RESOURCES
- How to stop maven-remote-resources-plugin from overwritting resources
- Sharing resource under /src/test/resources with maven remote resource
- Activate filtering in maven-remote-resources-plugin
- Maven - maven-remote-resources-plugin - resources end up in final build
- Maven - maven-remote-resources-plugin not including all resource directories
- maven-remote-resources-plugin vs maven-resources-plugin
- SonarQube on Jenkins appears to automatically clean target
- Publishing artifact to remote maven repository on s3 using Gradle
- Using the maven-remote-resources-plugin and specifying the resourcesDirectory
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can use Maven Remote Resources Plugin Of course to bundle your resources in a single JAR that can be used across.
Maven Resource Plugin has its own usage of copying resources within modules when you don't have them located in the default maven path and want to use them explicitly.