quarkus-mongodb-panache-kotlin
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-mongodb-panache-kotlin</artifactId> <version>3.17.0.CR1</version> </dependency>
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>quarkus-mongodb-panache-kotlin-parent</artifactId> <groupId>io.quarkus</groupId> <version>3.17.0.CR1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>quarkus-mongodb-panache-kotlin</artifactId> <name>Quarkus - MongoDB with Panache - Kotlin Runtime</name> <description>Simplify your persistence code for MongoDB in Kotlin via the active record or the repository pattern</description> <dependencies> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-core</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-panache-common</artifactId> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-mongodb-panache-common</artifactId> </dependency> <!-- This is optional to avoid pulling libraries if jax-rs/jsonb is not on the path--> <!-- But needed to provides default serializer/deserializer for JsonB --> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jsonb</artifactId> <optional>true</optional> </dependency> <!-- This is optional to avoid pulling libraries if jackson is not on the path--> <!-- But needed to provides default serializer/deserializer for Jackson --> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-jackson</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-kotlin</artifactId> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-reflect</artifactId> <version>${kotlin.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-mongodb-panache</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-mongodb-panache-common-deployment</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.quarkus.gizmo</groupId> <artifactId>gizmo</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <sourceDirectory>src/main/kotlin</sourceDirectory> <testSourceDirectory>src/test/kotlin</testSourceDirectory> <plugins> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-extension-maven-plugin</artifactId> <configuration> <capabilities> <provides>io.quarkus.mongodb.panache.kotlin</provides> </capabilities> </configuration> </plugin> <!-- The entity classes needs to be indexed --> <plugin> <groupId>io.smallrye</groupId> <artifactId>jandex-maven-plugin</artifactId> <executions> <execution> <id>make-index</id> <goals> <goal>jandex</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <executions> <execution> <id>compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>test-compile</id> <phase>test-compile</phase> <goals> <goal>test-compile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgument>-proc:none</compilerArgument> </configuration> <executions> <!-- Replacing default-compile as it is treated specially by maven --> <execution> <id>default-compile</id> <phase>none</phase> </execution> <!-- Replacing default-testCompile as it is treated specially by maven --> <execution> <id>default-testCompile</id> <phase>none</phase> </execution> <execution> <id>java-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>java-test-compile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <failOnError>false</failOnError> </configuration> </plugin> </plugins> </build> </project>