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

Install with classifier does not install pom

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: None
    • Labels:
      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

        1. maven-install-plugin-2.2.patch
          5 kB
          Libor Kramolis
        2. pom.xml
          2 kB
          Frédéric Chuong

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: