<?xml version='1.0' encoding='UTF-8'?>
<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">
   <modelVersion>4.0.0</modelVersion>

   <parent>
      <groupId>org.infinispan.server</groupId>
      <artifactId>infinispan-server-versions</artifactId>
      <version>8.2.1.Final</version>
      <relativePath>../versions/pom.xml</relativePath>
   </parent>

   <artifactId>infinispan-server-endpoints</artifactId>
   <name>Infinispan Server - Endpoints Subsystem</name>
   <description>Infinispan Server - Endpoints Subsystem</description>

   <build>
      <plugins>
         
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
            <executions>
               <execution>
                  <id>ban-bad-dependencies</id>
                  <goals>
                     <goal>enforce</goal>
                  </goals>
                  <configuration>
                     <rules>
                        <bannedDependencies>
                           <searchTransitive>true</searchTransitive>
                           <excludes>
                              <exclude>args4j:args4j</exclude>
                              <exclude>biz.aQute:bnd</exclude>
                              <exclude>com.fasterxml:classmate</exclude>
                              <exclude>com.google.gwt.inject:gin</exclude>
                              <exclude>com.google.inject:guice</exclude>
                              <exclude>com.gwtplatform:gwtp-all</exclude>
                              <exclude>concurrent:concurrent</exclude>
                              <exclude>javax.xml.soap:saaj-api</exclude>
                              <exclude>javax.xml.stream:stax-api</exclude>
                              <exclude>jboss:jboss-logging-spi</exclude>
                              <exclude>jboss:jboss-serialization</exclude>
                              <exclude>jboss.web:el-api</exclude>
                              <exclude>jboss.web:jsp-api</exclude>
                              <exclude>jboss.web:servlet-api</exclude>
                              <exclude>net.sf.kxml:kxml2</exclude>
                              <exclude>org.apache.aries.jmx:org.apache.aries.jmx.api</exclude>
                              <exclude>org.apache.xalan:serializer</exclude>
                              <exclude>org.apache.xalan:xalan</exclude>
                              <exclude>org.hibernate:ejb3-persistence</exclude>
                              <exclude>org.hibernate.java-persistence:jpa-api</exclude>
                              <exclude>org.wildfly:wildfly-clustering-infinispan</exclude>
                              <exclude>org.wildfly:wildfly-clustering-jgroups</exclude>
                              <exclude>org.jboss.integration:jboss-jca-spi</exclude>
                              <exclude>org.jboss.interceptor:jboss-interceptor-api</exclude>
                              <exclude>org.jboss.javaee:jboss-javaee</exclude>
                              <exclude>org.jboss.javaee:jboss-ejb-api</exclude>
                              <exclude>org.jboss.javaee:jboss-ejb-api_3.1</exclude>
                              <exclude>org.jboss.javaee:jboss-jacc-api</exclude>
                              <exclude>org.jboss.javaee:jboss-jad-api</exclude>
                              <exclude>org.jboss.javaee:jboss-jaspi-api</exclude>
                              <exclude>org.jboss.javaee:jboss-jca-api</exclude>
                              <exclude>org.jboss.javaee:jboss-jms-api</exclude>
                              <exclude>org.jboss.javaee:servlet-api</exclude>
                              <exclude>org.jboss.javaee:jsp-api</exclude>
                              <exclude>org.jboss.logging:jboss-logging-spi</exclude>
                              <exclude>org.jboss.logging:jboss-logging-log4j</exclude>
                              <exclude>org.jboss.logging:jboss-logging-jdk</exclude>
                              <exclude>org.jboss.logging:jboss-logging-logmanager</exclude>
                              <exclude>org.jboss.slf4j:slf4j-jboss-logging</exclude>
                              <exclude>org.jboss.spec.javax.resource:jboss-connector-api_1.5_spec</exclude>
                              <exclude>org.opensaml:opensaml</exclude>
                              <exclude>org.ops4j.base</exclude>
                              <exclude>org.ops4j.pax.swissbox</exclude>
                              <exclude>org.ops4j.pax.web</exclude>
                              <exclude>org.rhq.helpers:rhq-pluginAnnotations</exclude>
                              <exclude>org.slf4j:slf4j-nop</exclude>
                              <exclude>org.slf4j:slf4j-jdk14</exclude>
                              <exclude>org.slf4j:slf4j-log4j12</exclude>
                              <exclude>org.slf4j:slf4j-log4j13</exclude>
                              <exclude>oro:oro</exclude>
                              <exclude>sun-jaxb:jaxb-api</exclude>
                              <exclude>trove:trove</exclude>
                              <exclude>xml-apis:xml-apis</exclude>
                              <exclude>xml-resolver:xml-resolver</exclude>
                           </excludes>
                        </bannedDependencies>
                     </rules>
                  </configuration>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>

   <dependencies>

      <dependency>
         <groupId>org.jboss.msc</groupId>
         <artifactId>jboss-msc</artifactId>
      </dependency>

      <dependency>
         <groupId>org.wildfly.core</groupId>
         <artifactId>wildfly-server</artifactId>
      </dependency>
      
      <dependency>
         <groupId>org.infinispan.server</groupId>
         <artifactId>infinispan-server-infinispan</artifactId>
         <exclusions>
             <exclusion>
                 <artifactId>wildfly-ee</artifactId>
                 <groupId>org.wildfly</groupId>
             </exclusion>
         </exclusions>
      </dependency>

      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-server-hotrod</artifactId>
      </dependency>

      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-server-memcached</artifactId>
      </dependency>

      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-server-rest</artifactId>
         <classifier>classes</classifier>
      </dependency>
      
      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-server-websocket</artifactId>
      </dependency>

      <dependency>
         <groupId>org.wildfly</groupId>
         <artifactId>wildfly-security</artifactId>
         <exclusions>
            <exclusion>
               <groupId>org.wildfly</groupId>
               <artifactId>wildfly-clustering-infinispan</artifactId>
            </exclusion>
         </exclusions>
      </dependency>

      <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <scope>test</scope>
      </dependency>

      <dependency>
         <groupId>org.wildfly.core</groupId>
         <artifactId>wildfly-subsystem-test</artifactId>
         <type>pom</type>
         <scope>test</scope>
      </dependency>

      <dependency>
         <groupId>org.infinispan.server</groupId>
         <artifactId>infinispan-server-commons</artifactId>
         <scope>test</scope>
         <type>test-jar</type>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-server-infinispan</artifactId>
         <type>test-jar</type>
         <scope>test</scope>
      </dependency>

      <dependency>
         <groupId>org.jboss.logging</groupId>
         <artifactId>jboss-logging-processor</artifactId>
         <scope>provided</scope>
         <optional>true</optional>
      </dependency>

      <dependency>
         <groupId>org.kohsuke.metainf-services</groupId>
         <artifactId>metainf-services</artifactId>
         <optional>true</optional>
      </dependency>

   </dependencies>
</project>