Questions tagged [maven-remote-resources]

9 questions
4
votes
2 answers

Using the maven-remote-resources-plugin and specifying the resourcesDirectory

I'm trying to override the default resources directory (src/main/resources) when using the maven-remote-resources-plugin. However the specified value in the sample below doesn't seem to be taken into account. Would appreciate if someone could give…
3
votes
0 answers

Activate filtering in maven-remote-resources-plugin

To share a resource (a properties file) between multiple projects I want to use the maven-remote-resources-plugin. The shared properties file should be filtered by Maven such that the actual program can retrieve some build-information. Because the…
gillesB
  • 1,061
  • 1
  • 14
  • 30
3
votes
1 answer

Maven - maven-remote-resources-plugin - resources end up in final build

I am using maven-remote-resources-plugin to import resources from another JAR: org.apache.maven.plugins maven-remote-resources-plugin
3
votes
1 answer

Maven - maven-remote-resources-plugin not including all resource directories

I have a project with multiple resource directories: src/main/resources src/main/generator src/main/generator2 I declare these resource directories as following:
3
votes
2 answers

Publishing artifact to remote maven repository on s3 using Gradle

I've been researching and trying to find examples for the above and found the following: For Android Projects: Hosting a Private Maven Repo on Amazon S3 gradle maven push project These plugin however expects certain Android properties specified and…
Navneet
  • 9,590
  • 11
  • 34
  • 51
2
votes
1 answer

maven-remote-resources-plugin vs maven-resources-plugin

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…
jayant
  • 366
  • 4
  • 14
0
votes
0 answers

How to stop maven-remote-resources-plugin from overwritting resources

in my application i have many modules with resources. project | └───moduleA | | │ └───resources │ │ │ └───fileA | └───moduleB | | │ └───resources │ └───moduleC | | | └───resources | │ | |───fileA | …
Czachodym
  • 245
  • 2
  • 13
0
votes
1 answer

Sharing resource under /src/test/resources with maven remote resource

I want to share my log4j property file with other modules within a project. I found out that maven-remote-resource plugin is one of the solution, but I have some problems using it. The log4j property file is intended to be used only on test, so the…
Eko Susilo
  • 137
  • 2
  • 9
0
votes
0 answers

SonarQube on Jenkins appears to automatically clean target

I'm taking over supporting a jenkins build server, so still trying to work out it's configuration and all projects and qwerks setup. One project has just started failing after a refactor and I'm trying to work out how the build and sonarqube…