Skip to content

When choosing between dependency versions, use SemVer #14

Description

@dscho

MiniMaven can only handle one dependency version at a time. For example, if two pom-scijava versions are specified in the dependency tree, only one is used.

We should assume that SemVer is in effect, and use the newer of both dependency versions if the major version agrees.

When the major version disagrees, we should go with the newer one but complain really loudly.

Activity

  1. self-assigned this
    on May 22, 2014
  2. ctrueden commented on May 22, 2014

    @ctrueden
    Member

    Do you mean "two scijava-common versions"? Because as things stand, nothing would ever declare a dependency on pom-scijava. (We might some day use the <scope>import</scope> with it, but right now we are not doing that.)

  3. dscho commented on May 22, 2014

    @dscho
    ContributorAuthor

    I used the term "dependency" very sloppily. What I really meant was: when encountering different .pom versions of the same groupId/artifactId combination, MiniMaven retains only one version:

    String key = dependency.getKey();

  4. ctrueden commented on May 22, 2014

    @ctrueden
    Member

    Ah OK, understood then.

  5. removed their assignment
    on Nov 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions