Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: install:install
    • Labels:
      None

      Description

      by default the maven install plugin is inconsistent in its use of the uniqueVersion flag,
      which can be set manually in the explicit install-file goal but isn't present in the implicit install goal.

      another thing we'd like to do is disabling the installment of deliverable attached artifacts,
      or allowing to select only specific artifacts, classifiers, or assemblies. for installment.

      new configuration parameters include:

      parameter type default description
      uniqueVersion boolean true use uniqueVersion buildnumbers ($ {artifactId}

      -YYYYmmdd-HHmmss-nn)

      includeAttachedArtifacts boolean true also install attached artifacts

        Activity

        FKorning created issue -
        FKorning made changes -
        Field Original Value New Value
        Attachment MINSTALL-51-patch.zip [ 33513 ]
        Dennis Lundberg made changes -
        Component/s install:install [ 13801 ]
        Hide
        Robert Scholte added a comment -

        By includeAttachedArtifacts you're introducing some sort of anti-pattern. This should be fixed at the cause, meaning there where the artifacts are attached. Suppose there are other plugins which check the attached artifacts as well, they are based on different information. For instance, I'd like to report all attached artifacts. If I set the includeAttachedArtifacts to false, the report will still these artifacts as attached.
        I'm not going to implement a detach artifacts either, because I can't assure there's no plugin between the attaching and detaching.

        For the uniqueVersion I have to investigate the cons and pros.
        Having unique versions is interesting if you want to lock a version of a dependency. This means that dependencies with a lock on a unique version of an installed version makes it useless for your co-workers. For that same reason I use most of the time either verify or deploy. I'd really like to avoid install, because that makes my local repository different from my co-workers. Instead I prefer to pull all SNAPSHOTs from a remote repository.

        Show
        Robert Scholte added a comment - By includeAttachedArtifacts you're introducing some sort of anti-pattern. This should be fixed at the cause, meaning there where the artifacts are attached. Suppose there are other plugins which check the attached artifacts as well, they are based on different information. For instance, I'd like to report all attached artifacts. If I set the includeAttachedArtifacts to false, the report will still these artifacts as attached. I'm not going to implement a detach artifacts either, because I can't assure there's no plugin between the attaching and detaching. For the uniqueVersion I have to investigate the cons and pros. Having unique versions is interesting if you want to lock a version of a dependency. This means that dependencies with a lock on a unique version of an installed version makes it useless for your co-workers. For that same reason I use most of the time either verify or deploy . I'd really like to avoid install , because that makes my local repository different from my co-workers. Instead I prefer to pull all SNAPSHOTs from a remote repository.
        Mark Thomas made changes -
        Project Import Sun Apr 05 10:26:11 UTC 2015 [ 1428229571122 ]
        Mark Thomas made changes -
        Workflow jira [ 12721653 ] Default workflow, editable Closed status [ 12751121 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 00:00:18 UTC 2015 [ 1428278418685 ]
        Mark Thomas made changes -
        Workflow jira [ 12959180 ] Default workflow, editable Closed status [ 12996075 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            FKorning
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development