I have more than one zip file in my folder. I want to unzip all of these files and put into destination folder. I want to avoid specifying each zip file in my pom.xml file. Please check the plugin I wrote. Isn't there any better solution which accepts *.zip files? Thanks a lot.
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-antrun-plugin</artifactId>
    <version>1.7</version>
    <executions>
        <execution>
            <id>prepare</id>
            <phase>validate</phase>
            <configuration>
                <tasks>
                    <unzip src="${user.home}/${dasmo.storage}/calendar-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/controls-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/devices-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/events-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/logs-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/places-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/provisioning-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/recordings-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/scripts-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/smartcontrols-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/storage-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/system-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/webrtc-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <!--  
                    <unzip src="${user.home}/${dasmo.storage}/calendar-persistence.zip" dest="${user.home}/${dasmo.storage}/" />
                    <copy file="${basedir}/../gwr-devices-module/${config.location}" todir="${project.build.directory}/${dasmo.storage}/devices/" />
                    <copy file="${basedir}/../gwr-logs-module/${config.location}" todir="${project.build.directory}/${dasmo.storage}/logs/" />
                    <copy file="${basedir}/../gwr-logs-module/src/main/resources/*.zip" todir="${user.home}/${dasmo.storage}/" />
                    <unzip src="${user.home}/${dasmo.storage}/*.zip" dest="${user.home}/${dasmo.storage}/" />
                    -->
                </tasks>
            </configuration>
            <goals>
                <goal>run</goal>
            </goals>
        </execution>
    </executions>
</plugin>
 
     
    