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

change default included scopes and add some documentation about scopes #42

Open
wants to merge 1 commit into
base: master
from

Conversation

@pettermahlen
Copy link
Member

pettermahlen commented Sep 17, 2015

No description provided.

@spkrka
Copy link
Member

spkrka commented Sep 18, 2015

👍

NOTE: this feature is not available in the released version, only in the latest snapshot.

In general, it only makes sense to run missinglink for an executable artifact as opposed to a
library. The reason is that the exact set of dependencies that are included can change every time

This comment has been minimized.

@mattnworb

mattnworb Sep 18, 2015

Member

I am not sure if I follow this totally or agree with the idea using missinglink on a library doesn't make sense.

A library might depend on two other libraries which have a shared dependency (let's say Guava) which had a breaking change between the version A was compiled against and the version B was compiled against. The library could depend on something in A or B which would break at runtime depending on which version of Guava was actually resolved.

Of course the "final" project using this library might introduce some new variation in the dependency tree that changes which version of Guava is resolved, perhaps in a way that causes the library to not have issues, or causes new issues. So I would say if a "final" project uses this library then it isn't enough, from the perspective of the final project, for the library to be checked with missinglink - ideally both should be scanning for issues like this.

*/
@Parameter(property = "missinglink.includeScopes", defaultValue = "compile,test")
@Parameter(property = "missinglink.includeScopes", defaultValue = "compile")

This comment has been minimized.

@mattnworb mattnworb force-pushed the spotify:master branch 3 times, most recently from e16657a to 3e16833 Oct 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.