You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The issue we are aiming to resolve here is primarily how to releae multi-module products.

This includes:

  • management of parent version references
  • inheritence of the version from a parent

Management of Parent Version References

The current thinking on this is that in general the parent version will not be specified in the POM and that it will be located using the current search algorithm:

  • found inside reactor
  • found using USD
  • found using the RELEASE version mechanism (as for plugins)

This prevents the need to make changes consistently to that when the parent increments its version. At the point of release, the version will be populated with what was found at the time to make the build reproducible.

Inheritence of the Version from a Parent

While this was originally planned and executed on continuum and m2, among others, it proves problematic for making a release, and prevents making interim releases of individual components for patches or use in other applications (unless snapshots are used which is not particularly desirable as they haven't been properly promoted).

The planned approach is to:

  • version each component
  • set the product version on the project producing the actual assembly
  • release individually (ceonceptually, the tool can actually do them at the same time as a series of individual releases)
  • assist in syncing name using the release tool if that is the desired approach of the product (eg some products like geronimo want to keep the product version in all the JARs to be able to recognise where they belong)
  • No labels