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 2019/01/13 16:11:00 UTC
[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&focusedCommentId=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}
> <plugin>
> <artifactId>maven-assembly-plugin</artifactId>
> <version>3.1.0</version>
> <configuration>
> <archive>
> <pomPropertiesFile>src/main/resources/pom.properties</pomPropertiesFile>
> </archive>
> <descriptorRefs>
> <descriptorRef>jar-with-dependencies</descriptorRef>
> </descriptorRefs>
> </configuration>
> <executions>
> <execution>
> <id>make-assembly</id>
> <phase>package</phase>
> <goals>
> <goal>single</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)