<?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">
      
    <parent>
            
        <groupId>io.vertx</groupId>
            
        <artifactId>vertx-ext-parent</artifactId>
            
        <version>38</version>
          
    </parent>
      
    <modelVersion>4.0.0</modelVersion>
      
    <artifactId>vertx-consul-client</artifactId>
      
    <version>3.9.16</version>
      
    <properties>
            
        <stack.version>3.9.16</stack.version>
            
        <embedded.consul.version>2.1.4</embedded.consul.version>
            
        <slf4j.version>1.7.21</slf4j.version>
            
        <junit.version>4.13.1</junit.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-web-client</artifactId>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-codegen</artifactId>
                  
            <optional>true</optional>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-docgen</artifactId>
                  
            <optional>true</optional>
                
        </dependency>
            
        <dependency>
                  
            <groupId>com.pszymczyk.consul</groupId>
                  
            <artifactId>embedded-consul</artifactId>
                  
            <version>${embedded.consul.version}</version>
                  
            <scope>test</scope>
                
        </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-unit</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-grpc</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>junit</groupId>
                  
            <artifactId>junit</artifactId>
                  
            <scope>test</scope>
                  
            <version>${junit.version}</version>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.slf4j</groupId>
                  
            <artifactId>slf4j-api</artifactId>
                  
            <scope>test</scope>
                  
            <version>${slf4j.version}</version>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.slf4j</groupId>
                  
            <artifactId>slf4j-jdk14</artifactId>
                  
            <scope>test</scope>
                  
            <version>${slf4j.version}</version>
                
        </dependency>
          
    </dependencies>
      
    <build>
            
        <extensions>
                  
            <extension>
                        
                <groupId>kr.motd.maven</groupId>
                        
                <artifactId>os-maven-plugin</artifactId>
                        
                <version>1.4.1.Final</version>
                      
            </extension>
                
        </extensions>
            
        <plugins>
                  
            <plugin>
                        
                <groupId>org.xolstice.maven.plugins</groupId>
                        
                <artifactId>protobuf-maven-plugin</artifactId>
                        
                <version>0.5.0</version>
                        
                <configuration>
                              
                    <protocArtifact>com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier}</protocArtifact>
                              
                    <pluginId>grpc-java</pluginId>
                              
                    <pluginArtifact>io.vertx:protoc-gen-grpc-java:1.9.0:exe:${os.detected.classifier}</pluginArtifact>
                            
                </configuration>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>test-compile</id>
                                    
                        <configuration>
                                          
                            <outputDirectory>${project.basedir}/src/test/java</outputDirectory>
                                          
                            <clearOutputDirectory>false</clearOutputDirectory>
                                        
                        </configuration>
                                    
                        <goals>
                                          
                            <goal>test-compile</goal>
                                          
                            <goal>test-compile-custom</goal>
                                        
                        </goals>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                  
            <plugin>
                        
                <groupId>org.apache.maven.plugins</groupId>
                        
                <artifactId>maven-jar-plugin</artifactId>
                        
                <configuration>
                              
                    <archive>
                                    
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                                  
                    </archive>
                            
                </configuration>
                      
            </plugin>
                  
            <!--<plugin>-->
                    
            <!--<groupId>org.apache.maven.plugins</groupId>-->
                    
            <!--<artifactId>maven-compiler-plugin</artifactId>-->
                    
            <!--<configuration>-->
                      
            <!--<showDeprecation>true</showDeprecation>-->
                      
            <!--<showWarnings>true</showWarnings>-->
                      
            <!--<compilerArgs>-->
                        
            <!--<arg>-Werror</arg>-->
                        
            <!--<arg>-Xlint:all</arg>-->
                        
            <!--&lt;!&ndash; Workaround for JDK bug https://bugs.openjdk.java.net/browse/JDK-6999068 &ndash;&gt;-->
                        
            <!--<arg>-Xlint:-processing</arg>-->
                        
            <!--&lt;!&ndash; Enable Java 9 compilation with 1.8 compatibility &ndash;&gt;-->
                        
            <!--<arg>-Xlint:-options</arg>-->
                      
            <!--</compilerArgs>-->
                    
            <!--</configuration>-->
                  
            <!--</plugin>-->
                  
            <plugin>
                        
                <groupId>biz.aQute.bnd</groupId>
                        
                <artifactId>bnd-maven-plugin</artifactId>
                        
                <version>3.2.0</version>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>default-bnd-process</id>
                                    
                        <goals>
                                          
                            <goal>bnd-process</goal>
                                        
                        </goals>
                                  
                    </execution>
                            
                </executions>
                        
                <configuration>
                              
                    <bnd><![CDATA[
          Import-Package: *
          -exportcontents: !*impl, !examples, *
          ]]></bnd>
                            
                </configuration>
                      
            </plugin>
                
        </plugins>
          
    </build>
    
</project>
