<?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-sql-common</artifactId>
      
    <version>3.9.9</version>
      
    <properties>
            
        <stack.version>3.9.9</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-core</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>junit</groupId>
                  
            <artifactId>junit</artifactId>
                  
            <version>4.13.1</version>
                  
            <scope>test</scope>
                
        </dependency>
          
    </dependencies>
      
    <build>
            
        <plugins>
                  
            <plugin>
                        
                <artifactId>maven-jar-plugin</artifactId>
                        
                <configuration>
                              
                    <archive>
                                    
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                                  
                    </archive>
                            
                </configuration>
                      
            </plugin>
                  
            <plugin>
                        
                <groupId>org.apache.felix</groupId>
                        
                <artifactId>maven-bundle-plugin</artifactId>
                        
                <version>3.0.1</version>
                        
                <extensions>true</extensions>
                        
                <inherited>true</inherited>
                        
                <configuration>
                              
                    <instructions>
                                    
                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                                    
                        <Export-Package>io.vertx.ext.sql;version=${project.version}</Export-Package>
                                    
                        <Import-Package>
              javax.sql,
              io.vertx.core*,
              *;resolution:=optional</Import-Package>
                                    
                        <Include-Resource>{maven-resources}</Include-Resource>
                                  
                    </instructions>
                            
                </configuration>
                        
                <executions>
                              
                    <execution>
                                    
                        <id>bundle-manifest</id>
                                    
                        <phase>process-classes</phase>
                                    
                        <goals>
                                          
                            <goal>manifest</goal>
                                        
                        </goals>
                                  
                    </execution>
                            
                </executions>
                      
            </plugin>
                
        </plugins>
          
    </build>
    
</project>
