<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <parent>
    <groupId>org.opennms.features</groupId>
    <artifactId>org.opennms.features.ncs</artifactId>
    <version>14.0.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.opennms.features.ncs</groupId>
  <artifactId>ncs-alarm-gui</artifactId>
  <packaging>war</packaging>
  <name>OpenNMS Features NCS Alarm GUI</name>
  <url>http://maven.apache.org</url>
  <build>
    <plugins>
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>jetty-jspc-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>jspc</id>
            <goals>
              <goal>jspc</goal>
            </goals>
            <configuration>
              <webXmlFragment>${basedir}/target/web.xml.jspc-insert</webXmlFragment>
              <generatedClasses>${basedir}/target/jsp-classes</generatedClasses>
              <useProvidedScope>true</useProvidedScope>
              <tldJarNamePatterns>.*\.jar$</tldJarNamePatterns>
            </configuration>
          </execution>
        </executions>
        <!-- add some jars to the plugin classpath so they can be searched for .tld files -->
        <dependencies>
          <dependency>
            <groupId>org.opennms.dependencies</groupId>
            <artifactId>spring-web-dependencies</artifactId>
            <type>pom</type>
            <version>${project.version}</version>
          </dependency>
          <dependency>
            <groupId>org.opennms.dependencies</groupId>
            <artifactId>spring-security-dependencies</artifactId>
            <type>pom</type>
            <version>${project.version}</version>
          </dependency>
          <dependency>
            <groupId>org.extremecomponents</groupId>
            <artifactId>extremecomponents</artifactId>
            <version>1.0.1</version>
            <exclusions>
              <exclusion>
                <groupId>taglibs</groupId>
                <artifactId>standard</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.opennms.features.ncs</groupId>
      <artifactId>ncs-model</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms.features.ncs</groupId>
      <artifactId>ncs-persistence</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-webapp</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms.features</groupId>
      <artifactId>org.opennms.features.springframework-security</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms</groupId>
      <artifactId>opennms-web-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.opennms.dependencies</groupId>
      <artifactId>spring-web-dependencies</artifactId>
      <type>pom</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
