<?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>
  <artifactId>org.gvsig.ui</artifactId>
  <packaging>jar</packaging>
  <name>${project.artifactId}</name>
  <description>Swing components collection</description>
  <parent>
    <groupId>org.gvsig</groupId>
    <artifactId>org.gvsig.desktop.library</artifactId>
    <version>3.0.2</version>
  </parent>

  <dependencies>
    <dependency>
      <groupId>org.gvsig</groupId>
      <artifactId>org.gvsig.i18n</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.gvsig</groupId>
      <artifactId>org.gvsig.tools.lib</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.gvsig</groupId>
      <artifactId>org.gvsig.tools.swing.api</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.jfree</groupId>
      <artifactId>jfreechart</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>net.sf</groupId>
      <artifactId>flib-jcalendar</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>jwizardcomponent</groupId>
      <artifactId>jwizardcomponent</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.jeta</groupId>
      <artifactId>formsrt</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.jgoodies</groupId>
      <artifactId>jgoodies-forms</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.jgoodies</groupId>
      <artifactId>jgoodies-common</artifactId>
    </dependency>
    <dependency>
      <groupId>com.jgoodies</groupId>
      <artifactId>jgoodies-looks</artifactId>
    </dependency>
    <dependency>
      <groupId>org.gvsig</groupId>
      <artifactId>org.gvsig.tools.util.api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.openjfx</groupId>
      <artifactId>javafx-swing</artifactId>
      <version>21.0.7</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.openjfx</groupId>
      <artifactId>javafx-web</artifactId>
      <version>21.0.7</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>

  <build>

    <!-- <sourceDirectory>src</sourceDirectory> <testSourceDirectory>src-test-ui</testSourceDirectory> -->
    <resources>
    <!--
      <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.gif</include>
          <include>**/*.png</include>
          <include>**/*.PNG</include>
          <include> **/*.bmp</include>
          <include> **/*.jpg</include>
          <include> **/*.jpeg</include>
          <include> **/*.properties</include>
        </includes>
      </resource>
      <resource>
        <targetPath>org/gvsig/gui/beans/resources/translations</targetPath>
        <filtering>false</filtering>
        <directory>src/main/resources</directory>
        <includes>
          <include>*.properties</include>
        </includes>
      </resource>
        -->
    </resources>


    <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skipTests>true</skipTests>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
<!--          <source>1.7</source>
          <target>1.7</target>-->
          <testExcludes>
            <exclude>**</exclude>
          </testExcludes>
        </configuration>
      </plugin>

    </plugins>
  </build>

</project>
