[Maven] Add tests for K2

#KT-56903 Fixed

Co-authored-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com>

Merge-request: KT-MR-8922
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com>
This commit is contained in:
Aleksei.Cherepanov
2023-02-23 11:24:20 +00:00
committed by Space Team
parent b306ed53aa
commit 25b6eb3114
3 changed files with 62 additions and 13 deletions
@@ -186,6 +186,43 @@
<goal>run</goal>
</goals>
</execution>
<execution>
<id>integration-test-k2</id>
<configuration>
<projectsDirectory>src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it-k2</cloneProjectsTo>
<pomExcludes>
<!-- exclude kapt -->
<pomExclude>test-dagger-maven-example/pom.xml</pomExclude>
<pomExclude>test-enable-extensions-kapt-allopen/pom.xml</pomExclude>
<pomExclude>test-kapt-generateKotlinCode/pom.xml</pomExclude>
<pomExclude>test-enable-extensions/pom.xml</pomExclude>
<pomExclude>test-kapt-allopen/pom.xml</pomExclude>
<pomExclude>test-lombok-with-kapt/pom.xml</pomExclude>
<!-- exclude js and mpp -->
<pomExclude>test-js-moduleKind/pom.xml</pomExclude>
<pomExclude>test-js-accessToInternal/pom.xml</pomExclude>
<pomExclude>test-js-suppressWarnings/pom.xml</pomExclude>
<pomExclude>test-js-sourceMap/pom.xml</pomExclude>
<pomExclude>test-js-extraArguments/pom.xml</pomExclude>
<pomExclude>test-js-sourceMapEmbedSources/pom.xml</pomExclude>
<pomExclude>test-multiplatform/pom.xml</pomExclude>
<!-- exclude kts -->
<pomExclude>test-helloworld-kts/pom.xml</pomExclude>
<!-- exclude test, that depends on lv as they will be automatically fixed, when current lv goes to 2.0 -->
<pomExclude>test-languageVersion/pom.xml</pomExclude>
<pomExclude>test-apiVersion/pom.xml</pomExclude>
</pomExcludes>
<properties>
<kotlin.compiler.languageVersion>2.0</kotlin.compiler.languageVersion>
</properties>
</configuration>
<!--<phase>package</phase>-->
<goals>
<goal>install</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>