<?xml version="1.0"?>
<!--
  ~ Copyright (c) 2011-2014 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">
      
    <modelVersion>4.0.0</modelVersion>
      
    <parent>
            
        <groupId>io.vertx</groupId>
            
        <artifactId>vertx-ext-parent</artifactId>
            
        <version>38</version>
          
    </parent>
      
    <artifactId>vertx-http-service-factory</artifactId>
      
    <version>4.1.6</version>
      
    <name>Vert.x Http Service Factory</name>
      
    <properties>
            
        <asciidoc.dir>${project.basedir}/src/main/asciidoc</asciidoc.dir>
            
        <stack.version>4.1.6</stack.version>
          
    </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-codegen</artifactId>
                  
            <optional>true</optional>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-core</artifactId>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-service-factory</artifactId>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.bouncycastle</groupId>
                  
            <artifactId>bcpg-jdk15on</artifactId>
                  
            <version>1.54</version>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-docgen</artifactId>
                  
            <optional>true</optional>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-unit</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>junit</groupId>
                  
            <artifactId>junit</artifactId>
                  
            <version>4.13.1</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-lang-groovy</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.eclipse.jetty</groupId>
                  
            <artifactId>jetty-server</artifactId>
                  
            <version>9.3.7.v20160115</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.eclipse.jetty</groupId>
                  
            <artifactId>jetty-servlet</artifactId>
                  
            <version>9.3.7.v20160115</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.eclipse.jetty</groupId>
                  
            <artifactId>jetty-proxy</artifactId>
                  
            <version>9.3.7.v20160115</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>com.google.guava</groupId>
                  
            <artifactId>guava</artifactId>
                  
            <version>19.0</version>
                  
            <scope>test</scope>
                
        </dependency>
          
    </dependencies>
      
    <build>
            
        <pluginManagement>
                  
            <plugins>
                        
                <plugin>
                              
                    <artifactId>maven-surefire-plugin</artifactId>
                              
                    <configuration>
                                    
                        <classpathDependencyExcludes>
                                          
                            <exclude>com.google.guava:guava</exclude>
                                        
                        </classpathDependencyExcludes>
                                  
                    </configuration>
                            
                </plugin>
                      
            </plugins>
                
        </pluginManagement>
            
        <plugins>
                  
            <plugin>
                        
                <artifactId>maven-assembly-plugin</artifactId>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>test-verticle</id>
                                    
                        <goals>
                                          
                            <goal>single</goal>
                                        
                        </goals>
                                    
                        <phase>process-test-classes</phase>
                                    
                        <configuration>
                                          
                            <descriptors>
                                                
                                <descriptor>src/test/assembly/verticle.xml</descriptor>
                                                
                                <descriptor>src/test/assembly/verticle-with-main.xml</descriptor>
                                              
                            </descriptors>
                                          
                            <finalName>test</finalName>
                                        
                        </configuration>
                                  
                    </execution>
                              
                    <execution>
                                    
                        <id>test-fatjar</id>
                                    
                        <goals>
                                          
                            <goal>single</goal>
                                        
                        </goals>
                                    
                        <phase>process-test-classes</phase>
                                    
                        <configuration>
                                          
                            <descriptors>
                                                
                                <descriptor>src/test/assembly/fatjar.xml</descriptor>
                                              
                            </descriptors>
                                          
                            <finalName>test</finalName>
                                          
                            <archive>
                                                
                                <manifestEntries>
                                                      
                                    <Main-Verticle>main</Main-Verticle>
                                                    
                                </manifestEntries>
                                              
                            </archive>
                                        
                        </configuration>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                
        </plugins>
          
    </build>
    
</project>
