How to set final jar name with maven-assembly-plugin version 3

The finalName parameter is set in the project build section and not in the plugin configuration.

so essentially:

<build>
   <finalName>xyz</finalName>
   <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        ....
      </plugin>
   </plugins>
</build>

The assembly plugin gets the final name from reading the property ${project.build.finalName} and is a readonly parameter.

At least that´s what the code says: http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-3.0.0/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java?view=markup