|  | 
|  | 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | 
|  | 2 | +         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 
|  | 3 | +         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
|  | 4 | +    <modelVersion>4.0.0</modelVersion> | 
|  | 5 | + | 
|  | 6 | +    <groupId>com.victoriametrics</groupId> | 
|  | 7 | +    <artifactId>logsql-jdbc</artifactId> | 
|  | 8 | +    <version>0.0.0-SNAPSHOT</version> | 
|  | 9 | +    <packaging>jar</packaging> | 
|  | 10 | +    <name>LogsQL JDBC Driver</name> | 
|  | 11 | +    <description>JDBC driver for VictoriaLogs (via sql-to-logsql service)</description> | 
|  | 12 | +    <url>https://github.com/VictoriaMetrics/sql-to-logsql/tree/main/logsql-jdbc</url> | 
|  | 13 | + | 
|  | 14 | +    <organization> | 
|  | 15 | +        <name>VictoriaMetrics Inc.</name> | 
|  | 16 | +        <url>https://victoriametrics.com/</url> | 
|  | 17 | +    </organization> | 
|  | 18 | + | 
|  | 19 | +    <licenses> | 
|  | 20 | +        <license> | 
|  | 21 | +            <name>Apache License 2.0</name> | 
|  | 22 | +            <url>https://www.apache.org/licenses/LICENSE-2.0</url> | 
|  | 23 | +        </license> | 
|  | 24 | +    </licenses> | 
|  | 25 | + | 
|  | 26 | +    <developers> | 
|  | 27 | +        <developer> | 
|  | 28 | +            <name>VictoriaMetrics</name> | 
|  | 29 | +            <url>https://victoriametrics.com</url> | 
|  | 30 | +        </developer> | 
|  | 31 | +    </developers> | 
|  | 32 | + | 
|  | 33 | +    <issueManagement> | 
|  | 34 | +        <system>Github</system> | 
|  | 35 | +        <url>https://github.com/VictoriaMetrics/sql-to-logsql/issues</url> | 
|  | 36 | +    </issueManagement> | 
|  | 37 | + | 
|  | 38 | +    <ciManagement> | 
|  | 39 | +        <system>Github</system> | 
|  | 40 | +        <url>https://github.com/VictoriaMetrics/sql-to-logsql/actions</url> | 
|  | 41 | +    </ciManagement> | 
|  | 42 | + | 
|  | 43 | +    <distributionManagement> | 
|  | 44 | +        <repository> | 
|  | 45 | +            <id>github</id> | 
|  | 46 | +            <name>GitHub VictoriaMetrics Apache Maven Packages</name> | 
|  | 47 | +            <url>https://maven.pkg.github.com/VictoriaMetrics/sql-to-logsql</url> | 
|  | 48 | +        </repository> | 
|  | 49 | +    </distributionManagement> | 
|  | 50 | + | 
|  | 51 | +    <properties> | 
|  | 52 | +        <spec.title>JDBC</spec.title> | 
|  | 53 | +        <spec.version>4.2</spec.version> | 
|  | 54 | +        <maven.compiler.source>11</maven.compiler.source> | 
|  | 55 | +        <maven.compiler.target>11</maven.compiler.target> | 
|  | 56 | +        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | 
|  | 57 | +        <jackson.version>2.17.2</jackson.version> | 
|  | 58 | +        <junit.jupiter.version>5.10.2</junit.jupiter.version> | 
|  | 59 | +    </properties> | 
|  | 60 | + | 
|  | 61 | +    <dependencies> | 
|  | 62 | +        <dependency> | 
|  | 63 | +            <groupId>com.fasterxml.jackson.core</groupId> | 
|  | 64 | +            <artifactId>jackson-databind</artifactId> | 
|  | 65 | +            <version>${jackson.version}</version> | 
|  | 66 | +        </dependency> | 
|  | 67 | +        <dependency> | 
|  | 68 | +            <groupId>org.junit.jupiter</groupId> | 
|  | 69 | +            <artifactId>junit-jupiter-api</artifactId> | 
|  | 70 | +            <version>${junit.jupiter.version}</version> | 
|  | 71 | +            <scope>test</scope> | 
|  | 72 | +        </dependency> | 
|  | 73 | +        <dependency> | 
|  | 74 | +            <groupId>org.junit.jupiter</groupId> | 
|  | 75 | +            <artifactId>junit-jupiter-engine</artifactId> | 
|  | 76 | +            <version>${junit.jupiter.version}</version> | 
|  | 77 | +            <scope>test</scope> | 
|  | 78 | +        </dependency> | 
|  | 79 | +    </dependencies> | 
|  | 80 | + | 
|  | 81 | +    <build> | 
|  | 82 | +        <plugins> | 
|  | 83 | +            <plugin> | 
|  | 84 | +                <groupId>org.apache.maven.plugins</groupId> | 
|  | 85 | +                <artifactId>maven-compiler-plugin</artifactId> | 
|  | 86 | +                <version>3.11.0</version> | 
|  | 87 | +                <configuration> | 
|  | 88 | +                    <source>${maven.compiler.source}</source> | 
|  | 89 | +                    <target>${maven.compiler.target}</target> | 
|  | 90 | +                </configuration> | 
|  | 91 | +            </plugin> | 
|  | 92 | +            <plugin> | 
|  | 93 | +                <groupId>org.apache.maven.plugins</groupId> | 
|  | 94 | +                <artifactId>maven-jar-plugin</artifactId> | 
|  | 95 | +                <version>3.3.0</version> | 
|  | 96 | +                <configuration> | 
|  | 97 | +                    <archive> | 
|  | 98 | +                        <manifestEntries> | 
|  | 99 | +                            <Automatic-Module-Name>com.victoriametrics.logsql.jdbc</Automatic-Module-Name> | 
|  | 100 | +                        </manifestEntries> | 
|  | 101 | +                    </archive> | 
|  | 102 | +                </configuration> | 
|  | 103 | +            </plugin> | 
|  | 104 | +            <plugin> | 
|  | 105 | +                <groupId>org.apache.maven.plugins</groupId> | 
|  | 106 | +                <artifactId>maven-shade-plugin</artifactId> | 
|  | 107 | +                <version>3.5.3</version> | 
|  | 108 | +                <executions> | 
|  | 109 | +                    <execution> | 
|  | 110 | +                        <phase>package</phase> | 
|  | 111 | +                        <goals> | 
|  | 112 | +                            <goal>shade</goal> | 
|  | 113 | +                        </goals> | 
|  | 114 | +                        <configuration> | 
|  | 115 | +                            <createDependencyReducedPom>false</createDependencyReducedPom> | 
|  | 116 | +                            <shadedArtifactAttached>true</shadedArtifactAttached> | 
|  | 117 | +                            <shadedClassifierName>all</shadedClassifierName> | 
|  | 118 | +                            <filters> | 
|  | 119 | +                                <filter> | 
|  | 120 | +                                    <artifact>*:*</artifact> | 
|  | 121 | +                                    <excludes> | 
|  | 122 | +                                        <exclude>META-INF/*.SF</exclude> | 
|  | 123 | +                                        <exclude>META-INF/*.DSA</exclude> | 
|  | 124 | +                                        <exclude>META-INF/*.RSA</exclude> | 
|  | 125 | +                                    </excludes> | 
|  | 126 | +                                </filter> | 
|  | 127 | +                            </filters> | 
|  | 128 | +                            <transformers> | 
|  | 129 | +                                <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | 
|  | 130 | +                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | 
|  | 131 | +                                    <manifestEntries> | 
|  | 132 | +                                        <Automatic-Module-Name>com.victoriametrics.logsql.jdbc</Automatic-Module-Name> | 
|  | 133 | +                                    </manifestEntries> | 
|  | 134 | +                                </transformer> | 
|  | 135 | +                            </transformers> | 
|  | 136 | +                        </configuration> | 
|  | 137 | +                    </execution> | 
|  | 138 | +                </executions> | 
|  | 139 | +            </plugin> | 
|  | 140 | +            <plugin> | 
|  | 141 | +                <groupId>org.apache.maven.plugins</groupId> | 
|  | 142 | +                <artifactId>maven-surefire-plugin</artifactId> | 
|  | 143 | +                <version>3.2.5</version> | 
|  | 144 | +                <configuration> | 
|  | 145 | +                    <useModulePath>false</useModulePath> | 
|  | 146 | +                </configuration> | 
|  | 147 | +            </plugin> | 
|  | 148 | +        </plugins> | 
|  | 149 | +    </build> | 
|  | 150 | +</project> | 
0 commit comments