Uploaded image for project: 'Maven Install Plugin'
  1. Maven Install Plugin
  2. MINSTALL-41

Install with classifier does not install pom

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None
    • None

    Description

      I have a project wich I need to build only specifying a classifier (in detail: a war project which I need to build with different profiles to include different
      configurations. So I set up different filters and the package produces different classified wars).
      When I install the artifact, I've got the attached artifact installed but the pom is NOT installed.
      The log says "No primary artifact to install, installing attached artifacts instead".
      It's maybe related to MINSTALL-18 as it seems the mojo does not recognize the presence of a primary artifact and goes to install the attached artifacts (without installing the POM).
      Don't know if this is really a bug or if I am trying a strange/not valid project configuration (a project without a primary artifact).

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bentmann Benjamin Bentmann
            mork mork
            Votes:
            9 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment