Update to resolve issue with integration-test from snapshot #187
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
artifacts. Updated the path logic to be consistent with
AbstractDependencyMojo.
I had an issue with a JNI nar artifact that depended on a shared library nar artifact. When I ran with the locally installed version, the integration-test phase worked fine. When I deployed the shared library artifact and downloaded the dependency, the integration-test failed with the dependencies not being added.
I tracked the issue down to the version being used to add the dependency. This PR updates the NarIntegrationTestMojo dependency to be consistent with the version used in the AbstractDependencyMojo.
An example is below.
POM dependency.
AbstractDependencyMojo unpacks it here:
NarIntegrationTestMojo tries to find it here:
because it uses the Maven super class method version. That file doesn't exist and the library path is not modified. This update uses the getBaseVersion method instead.