Hi, In my continuous integration solution, I need to have a maven repository which is calculated based on the git branch name. For example, I have a naming convention which is used to calculate the maven repo URL, something similar to this:
Branch name -> Git Repo URL: ------------------- --------------------- develop -> http://archiva/repositories/snapshot feature/xxx -> http://archiva/repositories/feature-xxx staging/xxx -> http://archiva/repositories/staging-xxx I wrote a maven plugin that adds dynamically a repository in my project but unfortunately, my plugin is not invoked before maven performs the dependency resolution. I googled it and tried some workaround proposed (like putting my plugin in the pre-clean phase), but it still executes after the dependency resolution. You guys ever tried this? Thanks, Nicolas
