Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will always bind the plugin with this version. If a version is specified in both the main plugins section and one or more profiles, the versions must match or an error occurs.

Profiles for Repositories

When switching between repositories for profiles, its possible that the snapshot and release version information is quite different.

Rather than having to maintain multiple local repositories for the segments where an alternate repository is used, just the snapshot metadata needs to be in a different location when looking to a repository from a different profile.

The resulting metadata path in the local repository is:

No Format

/groupId/artifactId/version/profileId/artifactId-version.version.txt

Another option is to write the information into one snapshot file, but that makes it different to the remote version which is undesirable and would affect timestamped checks.

The above information could possibly be duplicated in the remote repository to allow different profiles to operate on the same repository. At this point, this is not being implemented.

All elements allowed in a profile

...