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

Use pom.xml file in jar without setting pomFile

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: install:install-file
    • Labels:
      None

      Description

      I like the functionality that MINSTALL-52 offers. Now I can just specify the file name and it can read groupId, artifactId, and version from the pom.xml file inside that jar file. But if I want to use that real pom.xml file instead of the install plugin generating one, I still have to supply the pom.xml file separately. Why can't it just use the pom.xml file in the zip file like it did to find those properties?

      For example:
      mvn install:install-file -Dfile=my-maven-built-thing-1.0.jar -DgeneratePom=false

      would use the properties in the pom.xml file in that jar as well as the pom file itself instead of generating one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gboue Guillaume Boué
                Reporter:
                fifalover Chris Seieroe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: