You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/12/08 13:29:10 UTC
[jira] [Commented] (MSHARED-419) Allow custom properties to be
added to pom.properties
[ https://issues.apache.org/jira/browse/MSHARED-419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046807#comment-15046807 ]
Michael Osipov commented on MSHARED-419:
----------------------------------------
Have you considered using {{<pomPropertiesFile/>}}?
> Allow custom properties to be added to pom.properties
> -----------------------------------------------------
>
> Key: MSHARED-419
> URL: https://issues.apache.org/jira/browse/MSHARED-419
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-archiver
> Affects Versions: maven-archiver-2.6
> Reporter: Konstantin Shaposhnikov
>
> `pom.properties` is useful for storing things like build number, git hash, etc. Unfortunately currently its content is hard coded.
> It would be good to allow specifying additional properties to be written to pom properties via archiver configuration. Something like:
> {code}
> <archive>
> <additionalPomProperties>
> <buildNumber>10</buildNumber>
> </additionalPomProperties>
> </archive>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)