Selective finalNames in Maven?
Currently, my pom's finalName is
ProjectName-${project.version}-${git.branch.caps}-${git.commit.id.abbrev}
I want to make it so that the -${git.commit.id.abbrev}
is dropped from the end on every branch other than nightly
.
Does anyone know of a sane way to do that?3 Replies
⌛
This post has been reserved for your question.
Hey @Pheotis! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
It might be possible with the Git Maven ID Plugin, but if it is, I don't know where I would even start
Currently using this:
Post Closed
This post has been closed by <@928755449665298432>.