Guest User

Untitled

a guest
Jul 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. Jason van Zyl wrote:
  2.  
  3. > I'm sure we could find a clean place to inject an override for the
  4. > default version of the compiler plugin in 3.x and then use that version
  5. > of Maven to build as many on the grid as we can.
  6.  
  7. How about this: We implement some lifecycle participant, let's call it the PluginVersionEnforcer, that would listen for afterProjectsRead() and iterates over all projects in the session in order to mutate plugin versions in their models.
  8.  
  9. This lifecycle participant could be reused for all kinds of plugins if it gets configured via execution properties, that it can read from the session, e.g.
  10.  
  11. -Dorg.apache.maven.plugins:maven-compiler-plugin=2.1-SNAPSHOT
  12.  
  13. which could be added to the configuration of grid builds.
  14.  
  15. This participant would be some little JAR that we could drop into a regular Maven 3.x distro on the grid.
  16.  
  17.  
  18. Benjamin
Add Comment
Please, Sign In to add comment