<?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>
  <name>Rice KRAD Web</name>
  <parent>
    <groupId>org.kuali.rice</groupId>
    <artifactId>rice-framework</artifactId>
   <version>2603.0003</version>
  </parent>

  <artifactId>rice-krad-web</artifactId>
  <packaging>war</packaging>

  <properties>
    <webapp.source.dir>${basedir}/src/main/webapp</webapp.source.dir>
    <theme.builder.output.dir>${project.build.directory}/generated-web-sources</theme.builder.output.dir>
    <theme.builder.excludes />
    <theme.builder.theme.adddirs />
    <theme.builder.plugin.adddirs />
    <theme.skip.theme.processing>false</theme.skip.theme.processing>
  </properties>

  <build>
    <plugins>
      <plugin>
        <groupId>org.kuali.maven.plugins</groupId>
        <artifactId>spring-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>buildthemes</id>
            <phase>process-resources</phase>
            <goals>
              <goal>loadxml</goal>
            </goals>
            <configuration>
              <location>classpath:org/kuali/rice/krad/theme/themebuilder-context.xml</location>
            </configuration>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>rice-krad-theme-builder</artifactId>
            <version>${project.version}</version>
          </dependency>
        </dependencies>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <webResources>
            <resource>
              <directory>${theme.builder.output.dir}</directory>
            </resource>
          </webResources>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>rice-krad-web-framework</artifactId>
      <version>${project.version}</version>
    </dependency>
  </dependencies>

</project>
