<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
        <parent>
          <groupId>it.saga.pubblici</groupId>
          <artifactId>PAG-client</artifactId>
          <version>5.29.6.0000</version>
       </parent>
        <groupId>it.saga.pubblici</groupId>
        <artifactId>pagamenti-client</artifactId>
        <packaging>jar</packaging>
    <name>pagamenti-client</name>
     <build>
        <plugins>

  <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.5</version>
      </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
                <execution>
                    <id>copy</id>
                    <phase>install</phase>
                    <goals>
                        <goal>copy</goal>
                    </goals>
                    <configuration>
                        <artifactItems>
                            <artifactItem>
                                <groupId>${project.groupId}</groupId>
                                <artifactId>${project.artifactId}</artifactId>
                                <version>${project.version}</version>
                                <type>${project.packaging}</type>
                                <overWrite>true</overWrite>
                                <outputDirectory>${sicraweb.home}/client</outputDirectory>
                                <destFileName>it.saga.pubblici.pagamenti.client.jar</destFileName>
                            </artifactItem>
                        </artifactItems>
                        <outputDirectory>${sicraweb.home}/client</outputDirectory>
                        <overWriteReleases>true</overWriteReleases>
                        <overWriteSnapshots>true</overWriteSnapshots>
                    </configuration>
                </execution>
            </executions>
        </plugin>
        </plugins>
    </build>
</project>