<?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>io.vertx</groupId>
            
        <artifactId>vertx-ext-parent</artifactId>
            
        <version>38</version>
          
    </parent>
      
    <artifactId>vertx-ignite</artifactId>
      
    <version>4.1.5</version>
      
    <name>Vert.x Ignite Cluster Manager</name>
      
    <properties>
            
        <stack.version>4.1.5</stack.version>
            
        <ignite.version>2.10.0</ignite.version>
            
        <asciidoc.dir>${project.basedir}/src/main/asciidoc</asciidoc.dir>
            
        <jar.manifest>${project.basedir}/src/main/resources/META-INF/MANIFEST.MF</jar.manifest>
          
    </properties>
      
    <dependencyManagement>
            
        <dependencies>
                  
            <dependency>
                        
                <groupId>io.vertx</groupId>
                        
                <artifactId>vertx-dependencies</artifactId>
                        
                <version>${stack.version}</version>
                        
                <type>pom</type>
                        
                <scope>import</scope>
                      
            </dependency>
                
        </dependencies>
          
    </dependencyManagement>
      
    <dependencies>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-core</artifactId>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.ignite</groupId>
                  
            <artifactId>ignite-core</artifactId>
                  
            <version>${ignite.version}</version>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-docgen</artifactId>
                  
            <scope>provided</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-codegen</artifactId>
                  
            <optional>true</optional>
                
        </dependency>
            
        <dependency>
                  
            <groupId>junit</groupId>
                  
            <artifactId>junit</artifactId>
                  
            <version>4.13.1</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.ignite</groupId>
                  
            <artifactId>ignite-spring</artifactId>
                  
            <version>${ignite.version}</version>
                  
            <scope>test</scope>
                  
            <exclusions>
                        
                <exclusion>
                              
                    <groupId>org.apache.ignite</groupId>
                              
                    <artifactId>ignite-indexing</artifactId>
                            
                </exclusion>
                        
                <exclusion>
                              
                    <groupId>org.springframework</groupId>
                              
                    <artifactId>spring-aop</artifactId>
                            
                </exclusion>
                        
                <exclusion>
                              
                    <groupId>org.springframework</groupId>
                              
                    <artifactId>spring-tx</artifactId>
                            
                </exclusion>
                        
                <exclusion>
                              
                    <groupId>org.springframework</groupId>
                              
                    <artifactId>spring-jdbc</artifactId>
                            
                </exclusion>
                      
            </exclusions>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-core</artifactId>
                  
            <type>test-jar</type>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-web</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-web</artifactId>
                  
            <type>test-jar</type>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>ch.qos.logback</groupId>
                  
            <artifactId>logback-classic</artifactId>
                  
            <version>1.2.0</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-service-discovery</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-service-proxy</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-service-discovery</artifactId>
                  
            <type>test-jar</type>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.assertj</groupId>
                  
            <artifactId>assertj-core</artifactId>
                  
            <version>3.3.0</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>com.jayway.awaitility</groupId>
                  
            <artifactId>awaitility</artifactId>
                  
            <version>1.7.0</version>
                  
            <scope>test</scope>
                
        </dependency>
          
    </dependencies>
      
    <build>
            
        <pluginManagement>
                  
            <plugins>
                        
                <plugin>
                              
                    <groupId>org.apache.maven.plugins</groupId>
                              
                    <artifactId>maven-surefire-plugin</artifactId>
                              
                    <configuration>
                                    
                        <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
                                    
                        <systemPropertyVariables>
                                          
                            <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
                                          
                            <IGNITE_PERFORMANCE_SUGGESTIONS_DISABLED>true</IGNITE_PERFORMANCE_SUGGESTIONS_DISABLED>
                                          
                            <IGNITE_NO_ASCII>true</IGNITE_NO_ASCII>
                                          
                            <IGNITE_UPDATE_NOTIFIER>false</IGNITE_UPDATE_NOTIFIER>
                                          
                            <IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE>1000</IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE>
                                          
                            <vertx.logger-delegate-factory-class-name>io.vertx.core.logging.SLF4JLogDelegateFactory</vertx.logger-delegate-factory-class-name>
                                          
                            <io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
                                          
                            <buildDirectory>${project.build.directory}</buildDirectory>
                                          
                            <vertxVersion>${project.version}</vertxVersion>
                                        
                        </systemPropertyVariables>
                                    
                        <!-- Needs to be small enough to run in a EC2 1.7GB small instance -->
                                    
                        <argLine>-Xms512M -Xmx1200M</argLine>
                                    
                        <forkCount>1</forkCount>
                                    
                        <reuseForks>true</reuseForks>
                                    
                        <excludes>
                                          
                            <exclude>**/it/**/*Test.java</exclude>
                                        
                        </excludes>
                                  
                    </configuration>
                            
                </plugin>
                      
            </plugins>
                
        </pluginManagement>
            
        <plugins>
                  
            <plugin>
                        
                <artifactId>maven-failsafe-plugin</artifactId>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>core</id>
                                    
                        <goals>
                                          
                            <goal>integration-test</goal>
                                          
                            <goal>verify</goal>
                                        
                        </goals>
                                    
                        <phase>integration-test</phase>
                                    
                        <configuration>
                                          
                            <includes>
                                                
                                <include>**/it/core/*Test.java</include>
                                              
                            </includes>
                                          
                            <classpathDependencyExcludes>
                                                
                                <classpathDependencyExclude>io.vertx:vertx-core:test-jar</classpathDependencyExclude>
                                              
                            </classpathDependencyExcludes>
                                        
                        </configuration>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                
        </plugins>
          
    </build>
    
</project>
