<?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>
   <parent>
      <groupId>org.infinispan</groupId>
      <artifactId>infinispan-parent</artifactId>
      <version>9.4.25.Final-redhat-00001</version>
      <relativePath>../pom.xml</relativePath>
   </parent>
   <artifactId>infinispan-javadoc</artifactId>
   <name>Infinispan JavaDoc</name>
   <packaging>jar</packaging>

   <properties>
      <analytics.code>
---&gt;
-&lt;!--
-&lt;script type='text/javascript'&gt;
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-&lt;/script&gt;
-&lt;script type='text/javascript'&gt;
-try {
-var pageTracker = _gat._getTracker("UA-8601422-4");
-pageTracker._trackPageview();
-} catch(err) {}&lt;/script&gt;
            </analytics.code>
   </properties>

   <dependencies>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-client-hotrod</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-commons</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-core</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-query</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-query-dsl</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-remote-query-client</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-remote-query-server</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-objectfilter</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-cachestore-jdbc</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-cachestore-jpa</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-cachestore-remote</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-cachestore-rest</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-cachestore-leveldb</artifactId>
      </dependency>

      <dependency>
         <groupId>org.infinispan</groupId>
         <artifactId>infinispan-lucene-directory</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-clustered-counter</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-clustered-lock</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-server-core</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-server-hotrod</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-server-memcached</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-server-rest</artifactId>
      </dependency>

      <!--<dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-server-websocket</artifactId>
      </dependency>-->

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-spring4-common</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-spring4-embedded</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-spring4-remote</artifactId>
      </dependency>

      <!-- <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-tree</artifactId>
      </dependency> -->

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-extended-statistics</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-scripting</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-tasks</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-tasks-api</artifactId>
      </dependency>

      <dependency>
         <groupId>${project.groupId}</groupId>
         <artifactId>infinispan-multimap</artifactId>
      </dependency>

      <!-- transitives -->
      <dependency>
         <groupId>org.hibernate.javax.persistence</groupId>
         <artifactId>hibernate-jpa-2.1-api</artifactId>
      </dependency>

      <dependency>
         <groupId>org.hibernate</groupId>
         <artifactId>hibernate-core</artifactId>
      </dependency>

      <dependency>
         <groupId>org.osgi</groupId>
         <artifactId>org.osgi.core</artifactId>
      </dependency>

      <dependency>
         <groupId>org.osgi</groupId>
         <artifactId>org.osgi.compendium</artifactId>
      </dependency>

      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-beans</artifactId>
         <version>${versionx.org.springframework.spring-beans}</version>
      </dependency>

      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-context</artifactId>
         <version>${versionx.org.springframework.spring-context}</version>
      </dependency>

      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-core</artifactId>
         <version>${versionx.org.springframework.spring-core}</version>
      </dependency>

      <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-expression</artifactId>
         <version>${versionx.org.springframework.spring-expression}</version>
      </dependency>

      <dependency>
         <groupId>org.springframework.session</groupId>
         <artifactId>spring-session-core</artifactId>
         <version>${version.spring5.session}</version>
      </dependency>

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

      <dependency>
         <groupId>org.antlr</groupId>
         <artifactId>antlr-runtime</artifactId>
      </dependency>

      <dependency>
         <groupId>com.google.code.gson</groupId>
         <artifactId>gson</artifactId>
      </dependency>

      <dependency>
         <groupId>org.jboss</groupId>
         <artifactId>jdk-misc</artifactId>
         <version>2.Final</version>
      </dependency>
   </dependencies>

   <build>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
               <execution>
                  <id>javadoc</id>
                  <phase>package</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
                  <configuration>
                     <doctitle>Red Hat Data Grid ${infinispan.brand.version} API</doctitle>
                     <windowtitle>Red Hat Data Grid ${infinispan.brand.version} API</windowtitle>
                     <packagesheader>Red Hat Data Grid ${infinispan.brand.version} API</packagesheader>

                     <docfilessubdirs>true</docfilessubdirs>
                     <detectLinks>false</detectLinks>
                     <footer>${analytics.code}</footer>
                     <groups>
                        <group>
                           <title>Core API</title>
                           <packages>org.infinispan*</packages>
                        </group>
                        <group>
                           <title>Persistence API</title>
                           <packages>org.infinispan.persistence*</packages>
                        </group>
                        <group>
                           <title>Query API</title>
                           <packages>org.infinispan.query*:org.infinispan.objectfilter*</packages>
                        </group>
                        <group>
                           <title>Distributed Executors and Map/Reduce API</title>
                           <packages>org.infinispan.distexec*</packages>
                        </group>
                        <group>
                           <title>Clustered Counter API</title>
                           <packages>org.infinispan.counter*</packages>
                        </group>
                        <group>
                           <title>Clustered Lock API</title>
                           <packages>org.infinispan.lock*</packages>
                        </group>
                        <group>
                           <title>Server Connectors API</title>
                           <packages>org.infinispan.server*</packages>
                        </group>
                        <group>
                           <title>Scripting API</title>
                           <packages>org.infinispan.scripting*</packages>
                        </group>
                        <group>
                           <title>Task Execution API</title>
                           <packages>org.infinispan.tasks*</packages>
                        </group>
                        <group>
                           <title>Server Connectors API</title>
                           <packages>org.infinispan.server*:org.infinispan.rest*</packages>
                        </group>
                        <group>
                           <title>Multimap API</title>
                           <packages>org.infinispan.multimap*</packages>
                        </group>
                     </groups>
                     <includeDependencySources>true</includeDependencySources>
                     <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
                     <dependencySourceIncludes>
                        <include>org.infinispan:*</include>
                     </dependencySourceIncludes>
                     <dependencySourceExcludes>
                        <exclude>org.infinispan:infinispan-client-hotrod</exclude>
                     </dependencySourceExcludes>
                     <javadocDirectory>${basedir}/src/main/javadoc</javadocDirectory>
                     <stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
                     <excludePackageNames>org.infinispan.commons.jdkspecific*:*.impl.*:*.backend.*:io.netty*:*.logging.*:org.infinispan.commands*:org.infinispan.client.hotrod*</excludePackageNames>
                     <excludedocfilessubdir>org/infinispan/commons/jdkspecific</excludedocfilessubdir>
                     <doclint>none</doclint>
                     <useStandardDocletOptions>true</useStandardDocletOptions>
                     <additionalOptions>--allow-script-in-comments</additionalOptions>
                     <source>8</source>

                     <additionalDependencies>
                        <additionalDependency>
                           <groupId>javax.enterprise</groupId>
                           <artifactId>cdi-api</artifactId>
                           <version>${version.cdi}</version>
                        </additionalDependency>
                        <additionalDependency>
                           <groupId>javax.cache</groupId>
                           <artifactId>cache-api</artifactId>
                           <version>${version.javax.cache}</version>
                        </additionalDependency>
                        <additionalDependency>
                           <groupId>javax.servlet</groupId>
                           <artifactId>servlet-api</artifactId>
                           <version>${version.javax.servlet}</version>
                        </additionalDependency>
                        <additionalDependency>
                           <groupId>com.zaxxer</groupId>
                           <artifactId>HikariCP</artifactId>
                           <version>${version.hikaricp}</version>
                        </additionalDependency>
                        <additionalDependency>
                           <groupId>com.mchange</groupId>
                           <artifactId>c3p0</artifactId>
                           <version>${version.c3p0}</version>
                        </additionalDependency>
                     </additionalDependencies>
                  </configuration>
               </execution>

               <execution>
                  <id>javadoc-hotrod</id>
                  <phase>package</phase>
                  <goals>
                     <goal>jar</goal>
                  </goals>
                  <configuration>
                    <classifier>javadoc-hotrod</classifier>
                     <doctitle>Red Hat Data Grid ${infinispan.brand.version} API</doctitle>
                     <windowtitle>Red Hat Data Grid ${infinispan.brand.version} API</windowtitle>
                     <packagesheader>Red Hat Data Grid ${infinispan.brand.version} API</packagesheader>

                     <docfilessubdirs>true</docfilessubdirs>
                     <detectLinks>false</detectLinks>
                     <footer>${analytics.code}</footer>
                     <groups>
                        <group>
                           <title>Hot Rod Client API</title>
                           <packages>org.infinispan.client.hotrod*</packages>
                        </group>
                        <group>
                           <title>Commons</title>
                           <packages>org.infinispan.commons*</packages>
                        </group>
                        <group>
                           <title>Counter API</title>
                           <packages>org.infinispan.counter*</packages>
                        </group>
                     </groups>
                     <includeDependencySources>true</includeDependencySources>
                     <includeTransitiveDependencySources>false</includeTransitiveDependencySources>
                     <dependencySourceIncludes>
                        <dependencySourceInclude>org.infinispan:*</dependencySourceInclude>
                     </dependencySourceIncludes>
                     <javadocDirectory>${basedir}/src/main/javadoc</javadocDirectory>
                     <stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
                     <excludePackageNames>org.infinispan.commons.jdkspecific*:*.impl.*</excludePackageNames>
                     <excludedocfilessubdir>org/infinispan/commons/jdkspecific</excludedocfilessubdir>
                     <doclint>none</doclint>
                     <useStandardDocletOptions>true</useStandardDocletOptions>
                     <additionalOptions>--allow-script-in-comments</additionalOptions>
                     <source>8</source>
                     <additionalDependencies>
                        <additionalDependency>
                           <groupId>org.infinispan.protostream</groupId>
                           <artifactId>protostream</artifactId>
                           <version>${version.protostream}</version>
                        </additionalDependency>
                        <additionalDependency>
                           <groupId>com.mchange</groupId>
                           <artifactId>c3p0</artifactId>
                           <version>${version.c3p0}</version>
                        </additionalDependency>
                     </additionalDependencies>
                  </configuration>
               </execution>
            </executions>
            <dependencies>
               <dependency>
                  <groupId>org.infinispan</groupId>
                  <artifactId>infinispan-tools</artifactId>
                  <version>${project.version}</version>
               </dependency>
            </dependencies>
         </plugin>
      </plugins>
   </build>
</project>
