I have a zip which i have defined in my dependencies as shown below

```
<dependency>
    <groupId>com.project.mine</groupId>
    <artifactId>${projectname}</artifactId>
    <version>${projectversion}</version>
    <classifier>bin</classifier>
    <type>zip</type>
</dependency>

```

This zip contains two folders namely

1. Folder 1
2. Folder 2

I am trying to copy the content of this zip as shown below

```
<plugin>
    <artifactId>maven-dependency-plugin</artifactId>
    <executions>
        <execution>
            <id>unpack-one</id>
            <phase>generate-resources</phase>
            <goals>
                <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
                <includeGroupIds>com.project.mine</includeGroupIds>
                <includeArtifactIds>projectone</includeArtifactIds>
                <type>zip</type>
                <outputDirectory>${target.assets}/www</outputDirectory>
            </configuration>
        </execution>
        <execution>
            <id>unpack-two</id>
            <phase>generate-resources</phase>
            <goals>
                <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
                <includeGroupIds>com.project.mine</includeGroupIds>
                <includeArtifactIds>${projectname}</includeArtifactIds>
                <type>zip</type>
                <outputDirectory>${target.assets}/www/ProjectOneContent</outputDirectory>
            </configuration>
        </execution>
    </executions>
</plugin>

```

The problem that i face is that it copies both the folders.   

I want to just copy the contents of 'Folder2' (which can be subfolders, images, js, css etc) inside 'ProjectOneContent' folder.

Note: ProjectOneContent is created after first execution is completed