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/04/03 20:07:00 UTC

[jira] [Closed] (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:all-tabpanel ]

Michael Osipov closed MSHARED-666.
----------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: waiting-for-feedback)

No feedback received.

> 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
>
> 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)