[jira] [Commented] (MSHARED-666) Custom pom properties file for maven archiver has no effect
[ https://issues.apache.org/jira/browse/MSHARED-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16741601#comment-16741601 ] Michael Osipov commented on MSHARED-666: Waiting for feedback. Justification for the current behavior has been provided. > Custom pom properties file for maven archiver has no effect > --- > > Key: MSHARED-666 > URL: https://issues.apache.org/jira/browse/MSHARED-666 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-archiver >Affects Versions: maven-archiver-3.2.0 >Reporter: Mohamed Raiyan >Assignee: Michael Osipov >Priority: Major > Fix For: waiting-for-feedback > > > Giving a custom pom properties file does not have any effect on the archive. > It always takes the project artifact id, group id and version. > I used maven assembly plugin, whch in turn uses maven archiver. This is the > plugin configuration. > {code:xml} > > maven-assembly-plugin > 3.1.0 > > > > src/main/resources/pom.properties > > > jar-with-dependencies > > > > > make-assembly > package > > single > > > > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MSHARED-666) Custom pom properties file for maven archiver has no effect
[ https://issues.apache.org/jira/browse/MSHARED-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16728834#comment-16728834 ] Michael Osipov commented on MSHARED-666: [Here|https://maven.apache.org/shared/maven-archiver/xref/org/apache/maven/archiver/PomPropertiesUtil.html#L161] is why this happens. Why do you want to override the coordinates? Those values are protected to maintain a sane {{pom.properties}} otherwise it cannot reasonably processed automatically. I must admin that the documentation comes short here. > Custom pom properties file for maven archiver has no effect > --- > > Key: MSHARED-666 > URL: https://issues.apache.org/jira/browse/MSHARED-666 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-archiver >Affects Versions: maven-archiver-3.2.0 >Reporter: Mohamed Raiyan >Priority: Major > > Giving a custom pom properties file does not have any effect on the archive. > It always takes the project artifact id, group id and version. > I used maven assembly plugin, whch in turn uses maven archiver. This is the > plugin configuration. > {code:xml} > > maven-assembly-plugin > 3.1.0 > > > > src/main/resources/pom.properties > > > jar-with-dependencies > > > > > make-assembly > package > > single > > > > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MSHARED-666) Custom pom properties file for maven archiver has no effect
[ https://issues.apache.org/jira/browse/MSHARED-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16728780#comment-16728780 ] Michael Osipov commented on MSHARED-666: Please provide a sample project. > Custom pom properties file for maven archiver has no effect > --- > > Key: MSHARED-666 > URL: https://issues.apache.org/jira/browse/MSHARED-666 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-archiver >Affects Versions: maven-archiver-3.2.0 >Reporter: Mohamed Raiyan >Priority: Major > > Giving a custom pom properties file does not have any effect on the archive. > It always takes the project artifact id, group id and version. > I used maven assembly plugin, whch in turn uses maven archiver. This is the > plugin configuration. > {code:xml} > > maven-assembly-plugin > 3.1.0 > > > > src/main/resources/pom.properties > > > jar-with-dependencies > > > > > make-assembly > package > > single > > > > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)