You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maven plugin should be able to automatically determine and resolve the new and old version.
The new version can be retrieved from MavenProject.getArtifact() while the old version can be computed using a VersionRange query.
This circumvents problems with the ${project.packaging} variable when declaring the maven plugin in the top level pom.xml. For the packaging type maven-plugin the artifact's file type is jar and not maven-plugin as the value of ${project.packaging} would suggest.
The text was updated successfully, but these errors were encountered:
The maven plugin should be able to automatically determine and resolve the new and old version.
The new version can be retrieved from
MavenProject.getArtifact()
while the old version can be computed using aVersionRange
query.This circumvents problems with the
${project.packaging}
variable when declaring the maven plugin in the top level pom.xml. For the packaging typemaven-plugin
the artifact's file type isjar
and notmaven-plugin
as the value of${project.packaging}
would suggest.The text was updated successfully, but these errors were encountered: