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…

  • typedef error in opening zip file
  • How to setup Jenkins with Junit
  • Running jenkins gives “package org.junit does not exist”
  • ant - not recognized as an internal
  • Checkout svn using gradle
  • Get git branch name in build process
  • <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?

  • Validating Jenkins plugin forms with Ruby
  • List all keep-forever builds in Jenkins?
  • Finding IP of a Jenkins node
  • Is there anything like branch/jump table in Java?
  • How to disable command output in jenkins pipeline build logs
  • Jenkins kills JBoss server when job finishes
  • Git Baby is a git and github fan, let's start git clone.