<?xml version="1.0" encoding="UTF-8"?>

<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/xsd/maven-4.0.0.xsd">
    
    <modelVersion>4.0.0</modelVersion>
    <packaging>jar</packaging>
    <artifactId>org.gvsig.jvmpreferences.native.mainplugin.windows</artifactId>
    <name>${project.artifactId}</name>
    
    <parent>
        <groupId>org.gvsig</groupId>
        <artifactId>org.gvsig.jvmpreferences.native.mainplugin</artifactId>
        <version>1.0.240</version>
    </parent>
    <properties>
        <gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem>
    </properties> 

  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
                <id>unpack</id>
                <phase>process-sources</phase>
                <goals>
                  <goal>unpack</goal>
                </goals>
                <configuration>
                  <artifactItems>
                    <artifactItem>
                            <groupId>org.gvsig</groupId>
                            <artifactId>org.gvsig.jvmpreferences.native.mainplugin.common</artifactId>
                            <type>zip</type>
                            <overWrite>true</overWrite>
                            <outputDirectory>target</outputDirectory>
                    </artifactItem>
                  </artifactItems>
                </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>


    <dependencies>
        <dependency>
          <groupId>org.gvsig</groupId>
          <artifactId>org.gvsig.jvmpreferences.native.mainplugin.common</artifactId>
          <version>1.0.240</version>
        </dependency>
        <dependency>
          <groupId>org.gvsig</groupId>
          <artifactId>org.gvsig.jvmpreferences.native.mainplugin.common</artifactId>
          <version>1.0.240</version>
          <type>zip</type>
        </dependency>
        <dependency>
          <groupId>org.gvsig</groupId>
          <artifactId>org.gvsig.jvmpreferences.native.lib.impl.windows</artifactId>
          <version>1.0.240</version>
        </dependency>
        <dependency>
          <groupId>org.gvsig</groupId>
          <artifactId>org.gvsig.jvmpreferences.native.lib.impl.common</artifactId>
          <version>1.0.240</version>
        </dependency>
        <dependency>
          <groupId>org.gvsig</groupId>
          <artifactId>org.gvsig.jvmpreferences.native.lib.impl.linux</artifactId>
          <version>1.0.240</version>
        </dependency>
        <dependency>
          <groupId>org.gvsig</groupId>
          <artifactId>org.gvsig.jvmpreferences.native.lib.api</artifactId>
          <version>1.0.240</version>
        </dependency>
    </dependencies>

  <profiles>
    <profile>
      <id>gvsig-plugin-install-nativepreferences-windows</id>
      <activation>
         <os>
             <family>windows</family>
         </os>
      </activation>
            <properties>
              <gvsig.install.plugin>true</gvsig.install.plugin>
            </properties>
    </profile>
  </profiles>

</project>

