maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Seieroe (JIRA)" <>
Subject [jira] [Created] (MINSTALL-120) Using pom.xml file in jar without setting pomFile
Date Wed, 23 Mar 2016 08:45:25 GMT
Chris Seieroe created MINSTALL-120:

             Summary: Using pom.xml file in jar without setting pomFile
                 Key: MINSTALL-120
             Project: Maven Install Plugin
          Issue Type: Improvement
          Components: install:install-file
    Affects Versions: 2.5
            Reporter: Chris Seieroe

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.

This message was sent by Atlassian JIRA

View raw message