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

Custom pom properties file for maven archiver has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • maven-archiver-3.2.0
    • None
    • maven-archiver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: