You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mohamed Raiyan (JIRA)" <ji...@apache.org> on 2017/11/28 13:28:00 UTC
[jira] [Created] (MSHARED-666) Custom pom properties file for maven
archiver has no effect
Mohamed Raiyan created MSHARED-666:
--------------------------------------
Summary: 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
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
(v6.4.14#64029)