Promotes a closed Nexus staging repository into a Nexus Build Promotion Profile.
@Mojo(name = "promote", requiresOnline = true)
Specifies the staging build promotion profile ID on remote Nexus where to promotion happens. If not specified,
goal will fail.
@Parameter(property = "buildPromotionProfileId", required = true)
"The staging staging build promotion profile ID to promote to is not defined! (use \"-DbuildPromotionProfileId=foo\" on CLI)");
final String promotionGroupId =
getLog().info("Promoted, but created promotion group ID unknown (needs Nexus Pro version 2.4+).");
getLog().info("Promoted, created promotion group with ID " + promotionGroupId);