Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#531: session.getProjectDependencyGraph() might be null when running the plugin from eclipse #532

Merged
merged 2 commits into from
Nov 28, 2020

Conversation

TheSnoozer
Copy link
Collaborator

Context

Contributor Checklist

  • Added relevant integration or unit tests to verify the changes
  • Update the Readme or any other documentation (including relevant Javadoc)
  • Ensured that tests pass locally: mvn clean package
  • Ensured that the code meets the current checkstyle coding style definition: mvn clean verify -Pcheckstyle -Dmaven.test.skip=true -B

@TheSnoozer TheSnoozer linked an issue Nov 28, 2020 that may be closed by this pull request
TheSnoozer added 2 commits November 28, 2020 21:54
… a difference if we use @parameter(property = 'session', ...) VS a @parameter(defaultValue = '')
….getProjectDependencyGraph() might be null. Although the plugin is executed with maven's plugin prefix resolution ('pl.project13.maven:git-commit-id-plugin:4.0.1:revision:basepom.default:initialize') this seems to make it impossible to find out if this plugin was executed before. As a result it this patch might defeat the point of 'runOnlyOnce'.
@TheSnoozer TheSnoozer added this to the 4.0.4 milestone Nov 28, 2020
@TheSnoozer TheSnoozer merged commit 4b81159 into git-commit-id:master Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maybe a bug working with Eclipse 2020-06
1 participant