langchain4j-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>dev.langchain4j</groupId> <artifactId>langchain4j-parent</artifactId> <version>1.0.0-beta3</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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>dev.langchain4j</groupId> <artifactId>langchain4j-parent</artifactId> <version>1.0.0-beta3</version> <packaging>pom</packaging> <name>LangChain4j :: Parent POM</name> <description>Parent POM for langchain4j submodules</description> <url>https://github.com/langchain4j/langchain4j</url> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <developers> <developer> <id>deep-learning-dynamo</id> <email>deeplearningdynamo@gmail.com</email> <url>https://github.com/deep-learning-dynamo</url> </developer> <developer> <id>kuraleta</id> <email>digital.kuraleta@gmail.com</email> <url>https://github.com/kuraleta</url> </developer> </developers> <scm> <connection>scm:git:git://github.com/langchain4j/langchain4j.git</connection> <developerConnection>scm:git:git@github.com:langchain4j/langchain4j.git</developerConnection> <url>https://github.com/langchain4j/langchain4j</url> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <java.version>17</java.version> <maven.compiler.release>${java.version}</maven.compiler.release> <kotlin.code.style>official</kotlin.code.style> <kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget> <kotlin.compiler.languageVersion>1.9</kotlin.compiler.languageVersion> <kotlin.compiler.apiVersion>1.9</kotlin.compiler.apiVersion> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.outputTimestamp>1714382357</project.build.outputTimestamp> <argLine></argLine> <!-- Dependency Versions --> <dokka.version>2.0.0</dokka.version> <ai-mocks.version>0.1.10</ai-mocks.version> <assertj.version>3.27.3</assertj.version> <assertk.version>0.28.1</assertk.version> <awaitility.version>4.2.2</awaitility.version> <aws.java.sdk.version>2.31.6</aws.java.sdk.version> <azure-ai-openai.version>1.0.0-beta.16</azure-ai-openai.version> <azure-sdk.version>1.2.31</azure-sdk.version> <bytebuddy.version>1.15.10</bytebuddy.version> <elastic.version>8.15.3</elastic.version> <github-api.version>1.318</github-api.version> <gson.version>2.10.1</gson.version> <httpclient5.version>5.2.1</httpclient5.version> <infinispan.version>15.0.14.Final</infinispan.version> <jackson.version>2.18.3</jackson.version> <jsonpath.version>2.9.0</jsonpath.version> <jspecify.version>1.0.0</jspecify.version> <jtokkit.version>1.1.0</jtokkit.version> <junit.version>5.11.3</junit.version> <kotest.version>5.9.1</kotest.version> <kotlin.version>1.9.25</kotlin.version> <kotlinx-coroutines.version>1.9.0</kotlinx-coroutines.version> <langchain4j-embeddings.version>${project.version}</langchain4j-embeddings.version> <log4j.version>2.24.3</log4j.version> <logback.version>1.3.14</logback.version> <lombok.version>1.18.36</lombok.version> <milvus-sdk-java.version>2.5.7</milvus-sdk-java.version> <mockito-kotlin.version>5.4.0</mockito-kotlin.version> <mockito.version>5.14.2</mockito.version> <netty.version>4.1.119.Final</netty.version> <okhttp.version>4.12.0</okhttp.version> <openai-java.version>1.2.0</openai-java.version> <opensearch-containers.version>2.0.1</opensearch-containers.version> <opensearch-java.version>2.9.0</opensearch-java.version> <reactor-bom.version>2024.0.3</reactor-bom.version> <retrofit.version>2.9.0</retrofit.version> <slf4j-api.version>2.0.16</slf4j-api.version> <testcontainers.version>1.20.4</testcontainers.version> <tinylog.version>2.6.2</tinylog.version> <wiremock.version>3.12.1</wiremock.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-bom</artifactId> <version>${netty.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-ai-openai</artifactId> <version>${azure-ai-openai.version}</version> </dependency> <dependency> <groupId>dev.langchain4j</groupId> <artifactId>langchain4j-embeddings-all-minilm-l6-v2-q</artifactId> <version>${langchain4j-embeddings.version}</version> </dependency> <dependency> <groupId>dev.langchain4j</groupId> <artifactId>langchain4j-embedding-store-filter-parser-sql</artifactId> <version>${langchain4j-embeddings.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>retrofit</artifactId> <version>${retrofit.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>converter-gson</artifactId> <version>${retrofit.version}</version> </dependency> <dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>converter-jackson</artifactId> <version>${retrofit.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-bom</artifactId> <version>${kotlin.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-core-jvm</artifactId> <version>${kotlinx-coroutines.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-test-jvm</artifactId> <version>${kotlinx-coroutines.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.kotest</groupId> <artifactId>kotest-assertions-core-jvm</artifactId> <version>${kotest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.willowtreeapps.assertk</groupId> <artifactId>assertk-coroutines-jvm</artifactId> <version>${assertk.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.willowtreeapps.assertk</groupId> <artifactId>assertk</artifactId> <version>${assertk.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.kotest</groupId> <artifactId>kotest-assertions-json-jvm</artifactId> <version>${kotest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-bom</artifactId> <version>${okhttp.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>mockwebserver</artifactId> <version>${okhttp.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.knuddels</groupId> <artifactId>jtokkit</artifactId> <version>${jtokkit.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-bom</artifactId> <version>${slf4j-api.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson.version}</version> </dependency> <dependency> <groupId>org.jspecify</groupId> <artifactId>jspecify</artifactId> <version>${jspecify.version}</version> </dependency> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>${junit.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-bom</artifactId> <version>${testcontainers.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.opensearch</groupId> <artifactId>opensearch-testcontainers</artifactId> <version>${opensearch-containers.version}</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-bom</artifactId> <version>${mockito.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.mockito.kotlin</groupId> <artifactId>mockito-kotlin</artifactId> <version>${mockito-kotlin.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>${bytebuddy.version}</version> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-bom</artifactId> <version>${assertj.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.tinylog</groupId> <artifactId>tinylog-impl</artifactId> <version>${tinylog.version}</version> </dependency> <dependency> <groupId>org.tinylog</groupId> <artifactId>slf4j-tinylog</artifactId> <version>${tinylog.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <version>${httpclient5.version}</version> </dependency> <dependency> <groupId>com.openai</groupId> <artifactId>openai-java</artifactId> <version>${openai-java.version}</version> </dependency> <dependency> <groupId>org.opensearch.client</groupId> <artifactId>opensearch-java</artifactId> <version>${opensearch-java.version}</version> </dependency> <dependency> <groupId>co.elastic.clients</groupId> <artifactId>elasticsearch-java</artifactId> <version>${elastic.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-bom</artifactId> <version>${jackson.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> <version>1.9.4</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>bom</artifactId> <version>${aws.java.sdk.version}</version> <type>pom</type> <scope>import</scope> <exclusions> <!-- Exclusion due to CWE-295 vulnerability --> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-handler</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.azure</groupId> <artifactId>azure-sdk-bom</artifactId> <version>${azure-sdk.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <version>${awaitility.version}</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>${jsonpath.version}</version> </dependency> <dependency> <groupId>org.kohsuke</groupId> <artifactId>github-api</artifactId> <version>${github-api.version}</version> </dependency> <dependency> <groupId>io.milvus</groupId> <artifactId>milvus-sdk-java</artifactId> <version>${milvus-sdk-java.version}</version> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-bom</artifactId> <version>${infinispan.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>org.wiremock</groupId> <artifactId>wiremock-standalone</artifactId> <version>${wiremock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-bom</artifactId> <version>${log4j.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-bom</artifactId> <version>${reactor-bom.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.wiremock</groupId> <artifactId>wiremock-standalone</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.tinylog</groupId> <artifactId>tinylog-impl</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.tinylog</groupId> <artifactId>slf4j-tinylog</artifactId> <scope>test</scope> </dependency> <!-- Kotlin test dependencies --> <dependency> <groupId>com.willowtreeapps.assertk</groupId> <artifactId>assertk</artifactId> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <groupId>com.willowtreeapps.assertk</groupId> <artifactId>assertk-coroutines-jvm</artifactId> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility-kotlin</artifactId> <version>${awaitility.version}</version> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-test-jvm</artifactId> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <groupId>io.kotest</groupId> <artifactId>kotest-assertions-core-jvm</artifactId> <version>${kotest.version}</version> <scope>test</scope> <optional>true</optional> </dependency> </dependencies> <repositories> <repository> <snapshots> <enabled>true</enabled> </snapshots> <id>snapshot-repo</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </repository> </repositories> <build> <pluginManagement> <plugins> <plugin> <groupId>org.honton.chas</groupId> <artifactId>license-maven-plugin</artifactId> <version>0.0.6</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.1.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.1.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.3.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>3.5.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.8.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.5.0</version> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>2.43.0</version> <configuration> <!-- optional: limit format enforcement to just the files changed by this feature branch --> <ratchetFrom>origin/main</ratchetFrom> <java> <palantirJavaFormat> <version>2.50.0</version> </palantirJavaFormat> </java> <pom> <sortPom> <nrOfIndentSpace>4</nrOfIndentSpace> </sortPom> </pom> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.12</version> </plugin> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <version>${kotlin.version}</version> <extensions>true</extensions> <configuration combine.self="append"> <jvmTarget>${java.version}</jvmTarget> <javaParameters>true</javaParameters> <args> <arg>-Xjsr305=strict</arg> <arg>-Xjspecify-annotations=strict</arg> <arg>-Xtype-enhancement-improvements-strict-mode</arg> </args> </configuration> </plugin> <plugin> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> <version>${dokka.version}</version> <configuration> <jdkVersion>${java.version}</jdkVersion> <apiVersion>${kotlin.compiler.apiVersion}</apiVersion> <languageVersion>${kotlin.compiler.languageVersion}</languageVersion> <dokkaPlugins> <plugin> <groupId>org.jetbrains.dokka</groupId> <artifactId>kotlin-as-java-plugin</artifactId> <version>${dokka.version}</version> </plugin> </dokkaPlugins> </configuration> </plugin> <plugin> <groupId>com.github.ozsie</groupId> <artifactId>detekt-maven-plugin</artifactId> <version>1.23.8</version> </plugin> <plugin> <groupId>com.simpligility.maven.plugins</groupId> <artifactId>android-maven-plugin</artifactId> <version>4.6.0</version> <extensions>true</extensions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <version>${kotlin.version}</version> <extensions>true</extensions> <configuration> <jvmTarget>${java.version}</jvmTarget> <javaParameters>true</javaParameters> <args> <arg>-Werror</arg> <arg>-Xjspecify-annotations=strict</arg> <arg>-Xjsr305=strict</arg> <arg>-Xtype-enhancement-improvements-strict-mode</arg> </args> </configuration> <executions> <execution> <id>compile</id> <goals> <goal>compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/main/kotlin</sourceDir> <sourceDir>${project.basedir}/src/main/java</sourceDir> </sourceDirs> </configuration> </execution> <execution> <id>test-compile</id> <goals> <goal>test-compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/test/kotlin</sourceDir> <sourceDir>${project.basedir}/src/test/java</sourceDir> </sourceDirs> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <annotationProcessorPaths> <path> <!-- todo: Remove when Lombok is eliminated everywhere https://github.com/langchain4j/langchain4j/issues/1636 --> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </path> </annotationProcessorPaths> </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> <goals> <goal>compile</goal> </goals> <phase>compile</phase> </execution> <execution> <id>java-test-compile</id> <goals> <goal>testCompile</goal> </goals> <phase>test-compile</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <goals> <goal>properties</goal> </goals> </execution> <execution> <id>detect-unused-dependencies</id> <goals> <goal>analyze-only</goal> </goals> <configuration> <ignoredUsedUndeclaredDependencies>true</ignoredUsedUndeclaredDependencies> <failOnWarning>false</failOnWarning> <!-- todo: fix dependencies and set to true --> </configuration> </execution> <execution> <id>analyze-all</id> <goals> <goal>analyze-only</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <executions> <execution> <goals> <goal>check</goal> </goals> <phase>validate</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration combine.children="append"> <argLine>@{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine> <systemPropertyVariables> <tinylog.level>debug</tinylog.level> </systemPropertyVariables> </configuration> </plugin> <plugin> <!-- failsafe will be in charge of running the integration tests (everything that ends in IT) --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration combine.children="append"> <systemPropertyVariables> <tinylog.level>debug</tinylog.level> </systemPropertyVariables> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>false</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>com.simpligility.maven.plugins</groupId> <artifactId>android-maven-plugin</artifactId> <executions> <execution> <id>lint</id> <goals> <goal>lint</goal> </goals> <phase>compile</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <banDuplicatePomDependencyVersions></banDuplicatePomDependencyVersions> <dependencyConvergence></dependencyConvergence> <requireMavenVersion> <version>3.8</version> </requireMavenVersion> <!-- TODO: Add requireUpperBoundDeps --> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>sign</id> <activation> <property> <name>sign</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>compliance</id> <activation> <property> <name>compliance</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.honton.chas</groupId> <artifactId>license-maven-plugin</artifactId> <version>0.0.6</version> <configuration> <scopes>compile,runtime,provided,test</scopes> <acceptableLicenses> <license> <name>(The )?(Apache License, Version 2\.0)|(Apache-2\.0)</name> <url>https?://www\.apache\.org/licenses/LICENSE-2\.0</url> </license> <license> <name>(The Apache Software License, Version 2\.0)</name> <url>https?://www\.apache\.org/licenses/LICENSE-2\.0</url> </license> <license> <name>Apache 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> <license> <name>(The MIT License|MIT License|MIT)</name> <url>(https?://opensource.org/licenses/MIT|https://projectlombok.org/LICENSE)</url> </license> <license> <name>Eclipse Public License v2.0</name> <url>https?://www.eclipse.org/legal/epl-v20\.html</url> </license> <license> <name>Eclipse Public License 2.0</name> <url>https://projects.eclipse.org/license/epl-2.0</url> </license> <!-- for tencent-cos document loader --> <license> <name>cos-java-sdk</name> <url>https://github.com/tencentyun/cos-java-sdk-v5</url> </license> </acceptableLicenses> </configuration> <executions> <execution> <goals> <goal>compliance</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>kotlin</id> <build> <plugins> <plugin> <groupId>com.github.ozsie</groupId> <artifactId>detekt-maven-plugin</artifactId> <executions> <execution> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>