| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <groupId>com.lancedb</groupId> |
| 8 | <artifactId>lancedb-parent</artifactId> |
| 9 | <version>0.11.1-beta.1</version> |
| 10 | <packaging>pom</packaging> |
| 11 | |
| 12 | <name>LanceDB Parent</name> |
| 13 | <description>LanceDB vector database Java API</description> |
| 14 | <url>http://lancedb.com/</url> |
| 15 | |
| 16 | <developers> |
| 17 | <developer> |
| 18 | <name>Lance DB Dev Group</name> |
| 19 | <email>dev@lancedb.com</email> |
| 20 | </developer> |
| 21 | </developers> |
| 22 | <licenses> |
| 23 | <license> |
| 24 | <name>The Apache Software License, Version 2.0</name> |
| 25 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 26 | </license> |
| 27 | </licenses> |
| 28 | |
| 29 | <properties> |
| 30 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 31 | <arrow.version>15.0.0</arrow.version> |
| 32 | </properties> |
| 33 | |
| 34 | <modules> |
| 35 | <module>core</module> |
| 36 | </modules> |
| 37 | |
| 38 | <scm> |
| 39 | <connection>scm:git:https://github.com/lancedb/lancedb.git</connection> |
| 40 | <developerConnection>scm:git:ssh://git@github.com/lancedb/lancedb.git</developerConnection> |
| 41 | <url>https://github.com/lancedb/lancedb</url> |
| 42 | </scm> |
| 43 | |
| 44 | <dependencyManagement> |
| 45 | <dependencies> |
| 46 | <dependency> |
| 47 | <groupId>org.apache.arrow</groupId> |
| 48 | <artifactId>arrow-vector</artifactId> |
| 49 | <version>${arrow.version}</version> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.arrow</groupId> |
| 53 | <artifactId>arrow-memory-netty</artifactId> |
| 54 | <version>${arrow.version}</version> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.apache.arrow</groupId> |
| 58 | <artifactId>arrow-c-data</artifactId> |
| 59 | <version>${arrow.version}</version> |
| 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>org.apache.arrow</groupId> |
| 63 | <artifactId>arrow-dataset</artifactId> |
| 64 | <version>${arrow.version}</version> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.questdb</groupId> |
| 68 | <artifactId>jar-jni</artifactId> |
| 69 | <version>1.1.1</version> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.junit.jupiter</groupId> |
| 73 | <artifactId>junit-jupiter</artifactId> |
| 74 | <version>5.10.1</version> |
| 75 | </dependency> |
| 76 | <dependency> |
| 77 | <groupId>org.json</groupId> |
| 78 | <artifactId>json</artifactId> |
| 79 | <version>20210307</version> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | </dependencyManagement> |
| 83 | |
| 84 | <distributionManagement> |
| 85 | <snapshotRepository> |
| 86 | <id>ossrh</id> |
| 87 | <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 88 | </snapshotRepository> |
| 89 | <repository> |
| 90 | <id>ossrh</id> |
| 91 | <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 92 | </repository> |
| 93 | </distributionManagement> |
| 94 | |
| 95 | <build> |
| 96 | <plugins> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-source-plugin</artifactId> |
| 100 | <version>2.2.1</version> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>attach-sources</id> |
| 104 | <goals> |
| 105 | <goal>jar-no-fork</goal> |
| 106 | </goals> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-javadoc-plugin</artifactId> |
| 113 | <version>2.9.1</version> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <id>attach-javadocs</id> |
| 117 | <goals> |
| 118 | <goal>jar</goal> |
| 119 | </goals> |
| 120 | </execution> |
| 121 | </executions> |
| 122 | </plugin> |
| 123 | <plugin> |
| 124 | <groupId>org.apache.maven.plugins</groupId> |
| 125 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 126 | <version>3.3.1</version> |
| 127 | <configuration> |
| 128 | <configLocation>google_checks.xml</configLocation> |
| 129 | <consoleOutput>true</consoleOutput> |
| 130 | <failsOnError>true</failsOnError> |
| 131 | <violationSeverity>warning</violationSeverity> |
| 132 | <linkXRef>false</linkXRef> |
| 133 | </configuration> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>validate</id> |
| 137 | <phase>validate</phase> |
| 138 | <goals> |
| 139 | <goal>check</goal> |
| 140 | </goals> |
| 141 | </execution> |
| 142 | </executions> |
| 143 | </plugin> |
| 144 | </plugins> |
| 145 | <pluginManagement> |
| 146 | <plugins> |
| 147 | <plugin> |
| 148 | <artifactId>maven-clean-plugin</artifactId> |
| 149 | <version>3.1.0</version> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <artifactId>maven-resources-plugin</artifactId> |
| 153 | <version>3.0.2</version> |
| 154 | </plugin> |
| 155 | <plugin> |
| 156 | <artifactId>maven-compiler-plugin</artifactId> |
| 157 | <version>3.8.1</version> |
| 158 | <configuration> |
| 159 | <compilerArgs> |
| 160 | <arg>-h</arg> |
| 161 | <arg>target/headers</arg> |
| 162 | </compilerArgs> |
| 163 | </configuration> |
| 164 | </plugin> |
| 165 | <plugin> |
| 166 | <artifactId>maven-surefire-plugin</artifactId> |
| 167 | <version>3.2.5</version> |
| 168 | <configuration> |
| 169 | <argLine>--add-opens=java.base/java.nio=ALL-UNNAMED</argLine> |
| 170 | <forkNode |
| 171 | implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" /> |
| 172 | <useSystemClassLoader>false</useSystemClassLoader> |
| 173 | </configuration> |
| 174 | </plugin> |
| 175 | <plugin> |
| 176 | <artifactId>maven-jar-plugin</artifactId> |
| 177 | <version>3.0.2</version> |
| 178 | </plugin> |
| 179 | <plugin> |
| 180 | <artifactId>maven-install-plugin</artifactId> |
| 181 | <version>2.5.2</version> |
| 182 | </plugin> |
| 183 | </plugins> |
| 184 | </pluginManagement> |
| 185 | </build> |
| 186 | |
| 187 | <profiles> |
| 188 | <profile> |
| 189 | <id>jdk8</id> |
| 190 | <activation> |
| 191 | <jdk>[1.8,1.8.999]</jdk> |
| 192 | </activation> |
| 193 | <properties> |
| 194 | <maven.compiler.source>1.8</maven.compiler.source> |
| 195 | <maven.compiler.target>1.8</maven.compiler.target> |
| 196 | </properties> |
| 197 | </profile> |
| 198 | <profile> |
| 199 | <id>jdk11+</id> |
| 200 | <activation> |
| 201 | <jdk>[11,)</jdk> |
| 202 | </activation> |
| 203 | <properties> |
| 204 | <maven.compiler.source>11</maven.compiler.source> |
| 205 | <maven.compiler.target>11</maven.compiler.target> |
| 206 | </properties> |
| 207 | <build> |
| 208 | <plugins> |
| 209 | <plugin> |
| 210 | <artifactId>maven-surefire-plugin</artifactId> |
| 211 | <version>3.2.5</version> |
| 212 | <configuration> |
| 213 | <argLine>--add-opens=java.base/java.nio=ALL-UNNAMED</argLine> |
| 214 | <forkNode |
| 215 | implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" /> |
| 216 | <useSystemClassLoader>false</useSystemClassLoader> |
| 217 | </configuration> |
| 218 | </plugin> |
| 219 | </plugins> |
| 220 | </build> |
| 221 | </profile> |
| 222 | <profile> |
| 223 | <id>deploy-to-ossrh</id> |
| 224 | <build> |
| 225 | <plugins> |
| 226 | <plugin> |
| 227 | <groupId>org.sonatype.central</groupId> |
| 228 | <artifactId>central-publishing-maven-plugin</artifactId> |
| 229 | <version>0.4.0</version> |
| 230 | <extensions>true</extensions> |
| 231 | <configuration> |
| 232 | <publishingServerId>ossrh</publishingServerId> |
| 233 | <tokenAuth>true</tokenAuth> |
| 234 | </configuration> |
| 235 | </plugin> |
| 236 | <plugin> |
| 237 | <groupId>org.sonatype.plugins</groupId> |
| 238 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 239 | <version>1.6.13</version> |
| 240 | <extensions>true</extensions> |
| 241 | <configuration> |
| 242 | <serverId>ossrh</serverId> |
| 243 | <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 244 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 245 | </configuration> |
| 246 | </plugin> |
| 247 | <plugin> |
| 248 | <groupId>org.apache.maven.plugins</groupId> |
| 249 | <artifactId>maven-gpg-plugin</artifactId> |
| 250 | <version>1.5</version> |
| 251 | <executions> |
| 252 | <execution> |
| 253 | <id>sign-artifacts</id> |
| 254 | <phase>verify</phase> |
| 255 | <goals> |
| 256 | <goal>sign</goal> |
| 257 | </goals> |
| 258 | </execution> |
| 259 | </executions> |
| 260 | </plugin> |
| 261 | </plugins> |
| 262 | </build> |
| 263 | </profile> |
| 264 | </profiles> |
| 265 | </project> |