| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | <modelVersion>4.0.0</modelVersion> |
| 7 | |
| 8 | <parent> |
| 9 | <groupId>com.lancedb</groupId> |
| 10 | <artifactId>lancedb-parent</artifactId> |
| 11 | <version>0.11.1-beta.1</version> |
| 12 | <relativePath>../pom.xml</relativePath> |
| 13 | </parent> |
| 14 | |
| 15 | <artifactId>lancedb-core</artifactId> |
| 16 | <name>LanceDB Core</name> |
| 17 | <packaging>jar</packaging> |
| 18 | |
| 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>org.apache.arrow</groupId> |
| 22 | <artifactId>arrow-vector</artifactId> |
| 23 | </dependency> |
| 24 | <dependency> |
| 25 | <groupId>org.apache.arrow</groupId> |
| 26 | <artifactId>arrow-memory-netty</artifactId> |
| 27 | </dependency> |
| 28 | <dependency> |
| 29 | <groupId>org.apache.arrow</groupId> |
| 30 | <artifactId>arrow-c-data</artifactId> |
| 31 | </dependency> |
| 32 | <dependency> |
| 33 | <groupId>org.apache.arrow</groupId> |
| 34 | <artifactId>arrow-dataset</artifactId> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.json</groupId> |
| 38 | <artifactId>json</artifactId> |
| 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>org.questdb</groupId> |
| 42 | <artifactId>jar-jni</artifactId> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.junit.jupiter</groupId> |
| 46 | <artifactId>junit-jupiter</artifactId> |
| 47 | <scope>test</scope> |
| 48 | </dependency> |
| 49 | </dependencies> |
| 50 | |
| 51 | <profiles> |
| 52 | <profile> |
| 53 | <id>build-jni</id> |
| 54 | <activation> |
| 55 | <activeByDefault>true</activeByDefault> |
| 56 | </activation> |
| 57 | <build> |
| 58 | <plugins> |
| 59 | <plugin> |
| 60 | <groupId>org.questdb</groupId> |
| 61 | <artifactId>rust-maven-plugin</artifactId> |
| 62 | <version>1.1.1</version> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <id>lancedb-jni</id> |
| 66 | <goals> |
| 67 | <goal>build</goal> |
| 68 | </goals> |
| 69 | <configuration> |
| 70 | <path>lancedb-jni</path> |
| 71 | <release>true</release> |
| 72 | <!-- Copy native libraries to target/classes for runtime access --> |
| 73 | <copyTo>${project.build.directory}/classes/nativelib</copyTo> |
| 74 | <copyWithPlatformDir>true</copyWithPlatformDir> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | <execution> |
| 78 | <id>lancedb-jni-test</id> |
| 79 | <goals> |
| 80 | <goal>test</goal> |
| 81 | </goals> |
| 82 | <configuration> |
| 83 | <path>lancedb-jni</path> |
| 84 | <release>false</release> |
| 85 | <verbosity>-v</verbosity> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | </executions> |
| 89 | </plugin> |
| 90 | </plugins> |
| 91 | </build> |
| 92 | </profile> |
| 93 | </profiles> |
| 94 | </project> |