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)