<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~  Copyright (c) 2011-2015 The original author or authors
  ~
  ~  All rights reserved. This program and the accompanying materials
  ~  are made available under the terms of the Eclipse Public License v1.0
  ~  and Apache License v2.0 which accompanies this distribution.
  ~
  ~       The Eclipse Public License is available at
  ~       http://www.eclipse.org/legal/epl-v10.html
  ~
  ~       The Apache License v2.0 is available at
  ~       http://www.opensource.org/licenses/apache2.0.php
  ~
  ~  You may elect to redistribute this code under either of these licenses.
  --><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">
      
    <parent>
            
        <artifactId>vertx-ext-parent</artifactId>
            
        <groupId>io.vertx</groupId>
            
        <version>38</version>
          
    </parent>
      
    <modelVersion>4.0.0</modelVersion>
      
    <artifactId>vertx-mail-client</artifactId>
      
    <version>4.5.10</version>
      
    <properties>
            
        <stack.version>4.5.10</stack.version>
            
        <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>io.vertx</groupId>
                  
            <artifactId>vertx-auth-common</artifactId>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-codegen</artifactId>
                  
            <scope>provided</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-docgen</artifactId>
                  
            <scope>provided</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.subethamail</groupId>
                  
            <artifactId>subethasmtp</artifactId>
                  
            <version>3.1.7</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.hamcrest</groupId>
                  
            <artifactId>hamcrest-core</artifactId>
                  
            <version>2.2</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.hamcrest</groupId>
                  
            <artifactId>hamcrest-library</artifactId>
                  
            <version>2.2</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-core</artifactId>
                  
            <type>test-jar</type>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>junit</groupId>
                  
            <artifactId>junit</artifactId>
                  
            <scope>test</scope>
                  
            <version>4.13.2</version>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-unit</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.logging.log4j</groupId>
                  
            <artifactId>log4j-api</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.logging.log4j</groupId>
                  
            <artifactId>log4j-core</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.logging.log4j</groupId>
                  
            <artifactId>log4j-slf4j-impl</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.james.jdkim</groupId>
                  
            <artifactId>apache-jdkim-library</artifactId>
                  
            <version>0.2</version>
                  
            <scope>test</scope>
                  
            <exclusions>
                        
                <exclusion>
                              
                    <groupId>log4j</groupId>
                              
                    <artifactId>log4j</artifactId>
                            
                </exclusion>
                      
            </exclusions>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.james.jdkim</groupId>
                  
            <artifactId>apache-jdkim-library</artifactId>
                  
            <version>0.2</version>
                  
            <classifier>tests</classifier>
                  
            <scope>test</scope>
                  
            <exclusions>
                        
                <exclusion>
                              
                    <groupId>log4j</groupId>
                              
                    <artifactId>log4j</artifactId>
                            
                </exclusion>
                      
            </exclusions>
                
        </dependency>
          
    </dependencies>
      
    <build>
            
        <pluginManagement>
                  
            <plugins>
                        
                <plugin>
                              
                    <groupId>org.apache.maven.plugins</groupId>
                              
                    <artifactId>maven-surefire-plugin</artifactId>
                              
                    <configuration>
                                    
                        <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
                                    
                        <systemPropertyVariables>
                                          
                            <buildDirectory>${project.build.directory}</buildDirectory>
                                          
                            <vertxVersion>${project.version}</vertxVersion>
                                          
                            <vertx.logger-delegate-factory-class-name>io.vertx.core.logging.Log4j2LogDelegateFactory</vertx.logger-delegate-factory-class-name>
                                          
                            <log4j.configurationFile>log4j2-test.xml</log4j.configurationFile>
                                        
                        </systemPropertyVariables>
                                    
                        <!-- Needs to be small enough to run in a EC2 1.7GB small instance -->
                                    
                        <!-- IMPORTANT: when modifying this line, don't forge to modify
              the same line in the`coverage` profile -->
                                    
                        <argLine>-Xmx1200M</argLine>
                                    
                        <forkCount>1</forkCount>
                                    
                        <reuseForks>true</reuseForks>
                                    
                        <excludes>
                                          
                            <exclude>io/vertx/ext/mail/MailLocal2Test.java</exclude>
                                        
                        </excludes>
                                  
                    </configuration>
                            
                </plugin>
                      
            </plugins>
                
        </pluginManagement>
            
        <plugins>
                  
            <!-- Tests that require to run with different JVM settings -->
                  
            <plugin>
                        
                <groupId>org.apache.maven.plugins</groupId>
                        
                <artifactId>maven-failsafe-plugin</artifactId>
                        
                <version>2.22.2</version>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>test</id>
                                    
                        <goals>
                                          
                            <goal>integration-test</goal>
                                        
                        </goals>
                                    
                        <phase>integration-test</phase>
                                    
                        <configuration>
                                          
                            <includes>
                                                
                                <include>io/vertx/ext/mail/MailLocal2Test.java</include>
                                              
                            </includes>
                                        
                        </configuration>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                
        </plugins>
          
    </build>
    
</project>
