<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      
    <modelVersion>4.0.0</modelVersion>
      
    <parent>
            
        <groupId>io.vertx</groupId>
            
        <artifactId>vertx-parent</artifactId>
            
        <version>19</version>
          
    </parent>
      
    <artifactId>vertx-io_uring-incubator</artifactId>
      
    <version>4.5.10</version>
      
    <name>Vert.x io_uring incubator</name>
      
    <properties>
            
        <stack.version>4.5.10</stack.version>
            
        <netty.iouring.version>0.0.25.Final</netty.iouring.version>
            
        <junit.version>4.13.1</junit.version>
            
        <assertj.version>3.4.1</assertj.version>
            
        <apacheds-protocol-dns.version>1.5.7</apacheds-protocol-dns.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-core</artifactId>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.netty.incubator</groupId>
                  
            <artifactId>netty-incubator-transport-native-io_uring</artifactId>
                  
            <version>${netty.iouring.version}</version>
                
        </dependency>
            
        <!-- Generators -->
            
        <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>
            
        <!-- Test dependencies -->
            
        <dependency>
                  
            <groupId>junit</groupId>
                  
            <artifactId>junit</artifactId>
                  
            <version>${junit.version}</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.assertj</groupId>
                  
            <artifactId>assertj-core</artifactId>
                  
            <version>${assertj.version}</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.netty</groupId>
                  
            <artifactId>netty-handler-proxy</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.netty</groupId>
                  
            <artifactId>netty-codec-haproxy</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.netty.incubator</groupId>
                  
            <artifactId>netty-incubator-transport-native-io_uring</artifactId>
                  
            <version>${netty.iouring.version}</version>
                  
            <classifier>linux-x86_64</classifier>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.netty</groupId>
                  
            <artifactId>netty-tcnative-boringssl-static</artifactId>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>com.aayushatharva.brotli4j</groupId>
                  
            <artifactId>brotli4j</artifactId>
                  
            <version>1.8.0</version>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>io.vertx</groupId>
                  
            <artifactId>vertx-core</artifactId>
                  
            <type>test-jar</type>
                  
            <scope>test</scope>
                
        </dependency>
            
        <dependency>
                  
            <groupId>org.apache.directory.server</groupId>
                  
            <artifactId>apacheds-protocol-dns</artifactId>
                  
            <version>${apacheds-protocol-dns.version}</version>
                  
            <scope>test</scope>
                
        </dependency>
          
    </dependencies>
      
    <build>
            
        <plugins>
                  
            <plugin>
                        
                <groupId>org.apache.maven.plugins</groupId>
                        
                <artifactId>maven-surefire-plugin</artifactId>
                        
                <configuration>
                              
                    <dependenciesToScan>
                                    
                        <dependency>io.vertx:vertx-core</dependency>
                                  
                    </dependenciesToScan>
                              
                    <systemPropertyVariables>
                                    
                        <vertx.useNativeTransport>true</vertx.useNativeTransport>
                                  
                    </systemPropertyVariables>
                              
                    <includes>
                                    
                        <include>**/Http1xTest.java</include>
                                    
                        <include>**/Http2Test.java</include>
                                    
                        <include>**/Http1xTLSTest.java</include>
                                    
                        <include>**/Http2TLSTest.java</include>
                                    
                        <include>**/NetTest.java</include>
                                    
                        <include>**/DatagramTest.java</include>
                                  
                    </includes>
                            
                </configuration>
                      
            </plugin>
                  
            <plugin>
                        
                <groupId>org.bsc.maven</groupId>
                        
                <artifactId>maven-processor-plugin</artifactId>
                        
                <version>3.1.0</version>
                        
                <configuration>
                              
                    <systemProperties>
                                    
                        <java.util.logging.SimpleFormatter.format>%4$s: %3$s - %5$s %6$s%n</java.util.logging.SimpleFormatter.format>
                                  
                    </systemProperties>
                            
                </configuration>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>generate-sources</id>
                                    
                        <goals>
                                          
                            <goal>process</goal>
                                        
                        </goals>
                                    
                        <phase>generate-sources</phase>
                                    
                        <configuration>
                                          
                            <processors>
                                                
                                <processor>io.vertx.codegen.CodeGenProcessor</processor>
                                                
                                <processor>io.vertx.docgen.JavaDocGenProcessor</processor>
                                              
                            </processors>
                                          
                            <optionMap>
                                                
                                <codegen.output>${project.basedir}/src/main</codegen.output>
                                                
                                <codegen.output.data_object_converters>generated</codegen.output.data_object_converters>
                                                
                                <docgen.source>${asciidoc.dir}</docgen.source>
                                                
                                <docgen.output>${project.build.directory}/asciidoc/java</docgen.output>
                                                
                                <maven.groupId>${project.groupId}</maven.groupId>
                                                
                                <maven.artifactId>${project.artifactId}</maven.artifactId>
                                                
                                <maven.version>${project.version}</maven.version>
                                              
                            </optionMap>
                                        
                        </configuration>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                  
            <plugin>
                        
                <artifactId>maven-assembly-plugin</artifactId>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>assemble-docs</id>
                                    
                        <phase>package</phase>
                                    
                        <goals>
                                          
                            <goal>single</goal>
                                        
                        </goals>
                                    
                        <configuration>
                                          
                            <attach>true</attach>
                                          
                            <descriptors>
                                                
                                <descriptor>src/main/assembly/docs.xml</descriptor>
                                              
                            </descriptors>
                                        
                        </configuration>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                
        </plugins>
          
    </build>
    
</project>
