Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Generate -SNAPSHOT dependencies for maven source #13

Closed

Conversation

AndyCoveo
Copy link
Collaborator

This is required for maven source that are relying on -SNAPSHOT version. When running versions:display-dependency-updates, if the plugin cannot resolve the dependencie it fails. If the dependency are -SNAPSHOT version, they normally won't be available on the remote server (they normally are sitting in your local m2 cache). As a solution we will now force the generation of the local -SNAPSHOT dependency version before running the plugin.

This pullrequest also adds some error logging.

@AndyCoveo AndyCoveo requested a review from fredboutin May 28, 2018 16:12
@dreisch-coveo
Copy link
Contributor

test

@fredboutin
Copy link
Contributor

I understand the issue, but relying on SNAPSHOT should be a last resort. Lure should support it, but you should change your process if something relies consistently on snapshots.

@@ -17,14 +17,22 @@ import (
)

func mvnOutdated(path string) []moduleVersion {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why so much space?

@AndyCoveo
Copy link
Collaborator Author

After discussion with @fredboutin, I'll remove the mvn install. It should not be done by Lure

@AndyCoveo AndyCoveo closed this May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants