Having "Assembly is incorrectly configured: null" when trying to use the maven assembly plugin

Viewed 2356

I am using maven-assembly-plugin verions 3.2.0, initially I thought adding "appendAssemblyId" would solve it but it does not.

 <configuration>
    <descriptors>
       <descriptor>src/main/resources/assembly/assembly.xml</descriptor>
    </descriptors>
    <appendAssemblyId>false</appendAssemblyId>
 </configuration>
2 Answers

I tried adding id tag inside assembly and surprisingly it worked

<id>assembly-id</id>

In my case, i was having a conflict between two versions of maven assembly plugin. After resolving the conflict, issue got fixed.

Related