<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         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>kadai-web</artifactId>

  <name>${project.groupId}:${project.artifactId}</name>
  <description>kadai web</description>

  <parent>
    <groupId>io.kadai</groupId>
    <artifactId>kadai-rest-parent</artifactId>
    <version>11.4.1</version>
    <relativePath>../rest/pom.xml</relativePath>
  </parent>

  <properties>
    <sonar.sources>src</sonar.sources>
    <sonar.tests>src</sonar.tests>
    <sonar.inclusions>**/*.ts,**/*.js,**/*.html,**/*.scss</sonar.inclusions>
    <sonar.test.inclusions>**/*.spec.ts,**/*.spec.js</sonar.test.inclusions>
    <sonar.exclusions>node_modules</sonar.exclusions>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <version>${version.maven.resources}</version>
        <executions>
          <execution>
            <id>copy-static</id>
            <phase>validate</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory>
                ${project.build.outputDirectory}/static
              </outputDirectory>
              <resources>
                <resource>
                  <directory>dist/browser</directory>
                </resource>
              </resources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>aspectj-maven-plugin</artifactId>
        <version>${version.aspectj-maven-plugin}</version>
        <configuration>
          <aspectLibraries combine.self="override"/>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
