Hi i created a assembly to zip images of the project, and i hooked it to package phase in my pom file, the problem here is when i execute "clean compile package " it is creating my required zip file along with a file -jar-with-dependencies.jar which i dont want to create. how can i supress generating this jar file
here is my pom
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<descriptors>
<descriptor>
src/main/assembly/cat_image_resources_assembly.xml
</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>cat_image_resources</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<!-- appendAssemblyId>false</appendAssemblyId>
<Change the name to standard name >
<finalName>renameImages</finalName-->
</configuration>
</execution>
</executions>
</plugin>
assembly file cat_image_resources_assembly.xml
<assembly>
<id>cat_image_resources</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<baseDirectory>${artifactId}</baseDirectory>
<fileSets>
<fileSet>
<directory>exportedImages</directory>
<outputDirectory/>
<fileMode>644</fileMode>
</fileSet>
</fileSets>
</assembly>
it is generating following files
CATImageExport2-1.0-SNAPSHOT-cat_image_resources.zip (5mb which is required), CATImageExport2-1.0-SNAPSHOT-jar-with-dependencies.jar(58mb this is with dependencies which i want to exclude generating)