Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-666

Custom pom properties file for maven archiver has no effect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: maven-archiver-3.2.0
    • Fix Version/s: None
    • Component/s: maven-archiver
    • Labels:
      None

      Description

      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.

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

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              ra1yan94 Mohamed Raiyan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: