maven dependencies in profiles during release build -
 I have Maven modules, which contain several dependencies that are included in the profile. When preparing a release build using the Reliance Plugin (i.e.  mvn release: prepare ), the versions of those dependencies are not replaced, instead they create SNAPSHOT dependencies, though the profile is active (We run  MVN Release: Ready -Psprofile ). I have tried to add  -Darguments = "- Psomeprofile"  for the MVN call, but this has not helped either. 
How can I also release versions of the release plugin in the dependencies that are contained in the profile?
It looks like, "profiles not defined in profile are updated" .
  & lt; Version & gt; $ {Project.version} & lt; / Version & gt; If solution to use   For dependencies defined in profiles.
Comments
Post a Comment