Maven build-helper-maven-plugin regex unable to use property as dependency.version

I’m trying to use the build-helper-maven-plugin regex to convert a default property before it is used in the dependency section.

My pom.xml file property sections looks like this…

  • Best way to integrate Git with Ant?
  • ant build - unzip doesnt support the nested “cutdirsmapper” element
  • How to do git pull through build.xml (ant task)
  • How to run a Nant task with Ant?
  • Managing releases on github
  • Jenkins - Using the results of one job, in another job
  • <properties>

    My pom.xml file build plugin section looks like…


    My pom.xml dependency version looks like…


    The idea being that if Jenkins is used and passes a dependency override it will be stripped of its pre-fix and used instead of the default value.
    However it appears that this plugin does not run before the dependencies are validated – is it possible to get this working or is there a better way?

  • How to make git feature branches work with jenkins-workflow?
  • Always build library before application in Jenkins?
  • Disable Jenkins Job from Another Job
  • How reboot Jenkins with running build queue?
  • How to keep only red builds in jenkins
  • how to switch to the other git account in Intellij Idea
  • Git Baby is a git and github fan, let's start git clone.