|
<?xml version="1.0"?> |
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<groupId>com.github.seratch</groupId> |
|
<artifactId>bolt-with-quarkus</artifactId> |
|
<version>1.0-SNAPSHOT</version> |
|
<properties> |
|
<compiler-plugin.version>3.8.1</compiler-plugin.version> |
|
<kotlin.version>1.3.61</kotlin.version> |
|
<maven.compiler.parameters>true</maven.compiler.parameters> |
|
<maven.compiler.source>1.8</maven.compiler.source> |
|
<maven.compiler.target>1.8</maven.compiler.target> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
<quarkus-plugin.version>1.2.1.Final</quarkus-plugin.version> |
|
<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> |
|
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
|
<quarkus.platform.version>1.2.1.Final</quarkus.platform.version> |
|
<surefire-plugin.version>2.22.1</surefire-plugin.version> |
|
</properties> |
|
<repositories> |
|
<repository> |
|
<id>snapshots-repo</id> |
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url> |
|
<releases><enabled>false</enabled></releases> |
|
<snapshots><enabled>true</enabled></snapshots> |
|
</repository> |
|
</repositories> |
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>${quarkus.platform.group-id}</groupId> |
|
<artifactId>${quarkus.platform.artifact-id}</artifactId> |
|
<version>${quarkus.platform.version}</version> |
|
<type>pom</type> |
|
<scope>import</scope> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-stdlib-jdk8</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>io.quarkus</groupId> |
|
<artifactId>quarkus-core</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>io.quarkus</groupId> |
|
<artifactId>quarkus-undertow</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>io.quarkus</groupId> |
|
<artifactId>quarkus-kotlin</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.slack.api</groupId> |
|
<artifactId>bolt</artifactId> |
|
<version>0.99.3</version> |
|
</dependency> |
|
</dependencies> |
|
<build> |
|
<sourceDirectory>src/main/kotlin</sourceDirectory> |
|
<testSourceDirectory>src/test/kotlin</testSourceDirectory> |
|
<plugins> |
|
<plugin> |
|
<groupId>io.quarkus</groupId> |
|
<artifactId>quarkus-maven-plugin</artifactId> |
|
<version>${quarkus-plugin.version}</version> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>build</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>${compiler-plugin.version}</version> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<version>${surefire-plugin.version}</version> |
|
<configuration> |
|
<systemProperties> |
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
|
</systemProperties> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-maven-plugin</artifactId> |
|
<version>${kotlin.version}</version> |
|
<executions> |
|
<execution> |
|
<id>compile</id> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
</execution> |
|
<execution> |
|
<id>test-compile</id> |
|
<goals> |
|
<goal>test-compile</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-maven-allopen</artifactId> |
|
<version>${kotlin.version}</version> |
|
</dependency> |
|
</dependencies> |
|
<configuration> |
|
<javaParameters>true</javaParameters> |
|
<compilerPlugins> |
|
<plugin>all-open</plugin> |
|
</compilerPlugins> |
|
<pluginOptions> |
|
<option>all-open:annotation=javax.ws.rs.Path</option> |
|
<option>all-open:annotation=javax.enterprise.context.ApplicationScoped</option> |
|
<option>all-open:annotation=io.quarkus.test.junit.QuarkusTest</option> |
|
</pluginOptions> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
<profiles> |
|
<profile> |
|
<id>native</id> |
|
<activation> |
|
<property> |
|
<name>native</name> |
|
</property> |
|
</activation> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<artifactId>maven-failsafe-plugin</artifactId> |
|
<version>${surefire-plugin.version}</version> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>integration-test</goal> |
|
<goal>verify</goal> |
|
</goals> |
|
<configuration> |
|
<systemProperties> |
|
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path> |
|
</systemProperties> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
<properties> |
|
<quarkus.package.type>native</quarkus.package.type> |
|
</properties> |
|
</profile> |
|
</profiles> |
|
</project> |
Do you have a demo Quarkus and Slack Bolt in socket mode ?