Skip to content

Commit

Permalink
JAVA-42733 Create Disabled Profiles for Kotlin Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiosioannidis authored Dec 25, 2024
2 parents e56ac1f + 4f93f04 commit 34a1061
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package com.baeldung.runKotlinScripts

import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import java.io.File

// requires `kotlinc` to be installed on the machine.
@Disabled("Requires `kotlinc` to be installed on the machine. JAVA-42077")
class RunKotlinScriptsIntegrationTest {
@Test
fun `run Kotlin script with ProcessBuilder`() {
Expand Down
3 changes: 1 addition & 2 deletions core-kotlin-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
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>com.baeldung</groupId>
<artifactId>core-kotlin-modules</artifactId>
<packaging>pom</packaging>

Expand All @@ -29,7 +28,7 @@
<module>core-kotlin-advanced</module>
<module>core-kotlin-advanced-2</module>
<module>core-kotlin-advanced-3</module>
<!--<module>core-kotlin-advanced-4</module>--><!--Not installing kotlinc for now JAVA-42077-->
<module>core-kotlin-advanced-4</module>
<module>core-kotlin-annotations</module>
<module>core-kotlin-arrays</module>
<module>core-kotlin-arrays-2</module>
Expand Down
50 changes: 30 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -516,40 +516,32 @@
</build>

<modules>
<module>parent-boot-2</module>
<module>parent-boot-3</module>

<module>core-kotlin-companion</module>
<module>core-kotlin-modules</module>
<module>core-kotlin-modules/core-kotlin-advanced-4</module>
<!-- <module>gradle-kotlin-dsl</module> --> <!-- not a Maven module -->
<!-- <module>jee-kotlin</module> --> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
<!-- <module>k2-compiler</module>--> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
<module>koin-guide</module>
<module>kotlin-kotest</module>
<module>kotlin-apache-kafka</module>
<module>kotlin-api</module>
<!-- <module>kotlin-build-plugins</module> --> <!-- not a Maven module -->
<module>kotlin-immutable-collections</module>
<module>kotlin-json</module>
<module>kotlin-json-2</module>
<module>kotlin-dsl</module>
<module>kotlin-reactive-dsl</module>
<!-- <module>kotlin-ktor</module> --> <!-- not a Maven module -->
<module>kotlin-lambda</module>
<module>kotlin-libraries</module>
<module>kotlin-libraries-2</module>
<module>kotlin-libraries-3</module>
<module>kotlin-libraries-data</module>
<module>kotlin-libraries-http</module>
<module>kotlin-libraries-orm</module>
<!-- <module>kotlin-libraries-rdbms</module> --> <!-- not a Maven module -->
<module>kotlin-libraries-utils</module>
<module>kotlin-logging</module>
<module>kotlin-math</module>
<module>kotlin-math-2</module>
<module>kotlin-yaml</module>
<!-- <module>kotlin-multiplatform</module> --> <!-- not a Maven module -->
<!-- <module>kotlin-multiplatform-mobile</module> --> <!-- not a Maven module -->
<module>kotlin-native</module>
<module>kotlin-openapi</module>
<module>kotlin-design-patterns</module>
Expand All @@ -564,7 +556,6 @@
<module>kotlin-testing</module>
<module>kotlin-mockito</module>
<module>kotlin-docker</module>
<!-- <module>kotlin-tornadofx</module> --> <!-- not compatible with Java 9+ -->
<module>kotlin-kover</module>
<module>ktlint-custom</module>
<module>machine-learning</module>
Expand All @@ -574,8 +565,8 @@
<module>spring-boot-test-kotlin</module>
<module>spring-mvc-kotlin</module>
<module>spring-reactive-kotlin</module>
<module>spring-security-kotlin-dsl</module>
<module>spring-security-kotlin</module>
<module>spring-security-kotlin-dsl</module>
<module>quarkus-modules</module>
</modules>
</profile>
Expand Down Expand Up @@ -603,39 +594,32 @@
</build>

<modules>
<module>parent-boot-2</module>
<module>parent-boot-3</module>

<module>core-kotlin-companion</module>
<module>core-kotlin-modules</module>
<!-- <module>gradle-kotlin-dsl</module> --> <!-- not a Maven module -->
<!-- <module>jee-kotlin</module> --> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
<!-- <module>k2-compiler</module>--> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
<module>koin-guide</module>
<module>kotlin-kotest</module>
<module>kotlin-apache-kafka</module>
<module>kotlin-api</module>
<!-- <module>kotlin-build-plugins</module> --> <!-- not a Maven module -->
<module>kotlin-immutable-collections</module>
<module>kotlin-json</module>
<module>kotlin-json-2</module>
<module>kotlin-dsl</module>
<module>kotlin-reactive-dsl</module>
<!-- <module>kotlin-ktor</module> --> <!-- not a Maven module -->
<module>kotlin-lambda</module>
<module>kotlin-libraries</module>
<module>kotlin-libraries-2</module>
<module>kotlin-libraries-3</module>
<module>kotlin-libraries-data</module>
<module>kotlin-libraries-http</module>
<module>kotlin-libraries-orm</module>
<!-- <module>kotlin-libraries-rdbms</module> --> <!-- not a Maven module -->
<module>kotlin-libraries-utils</module>
<module>kotlin-logging</module>
<module>kotlin-math</module>
<module>kotlin-math-2</module>
<module>kotlin-yaml</module>
<!-- <module>kotlin-multiplatform</module> --> <!-- not a Maven module -->
<!-- <module>kotlin-multiplatform-mobile</module> --> <!-- not a Maven module -->
<module>kotlin-native</module>
<module>kotlin-openapi</module>
<module>kotlin-design-patterns</module>
Expand All @@ -649,7 +633,7 @@
<module>kotlin-blockchain</module>
<module>kotlin-testing</module>
<module>kotlin-mockito</module>
<!-- <module>kotlin-tornadofx</module> --> <!-- not compatible with Java 9+ -->
<module>kotlin-docker</module>
<module>kotlin-kover</module>
<module>ktlint-custom</module>
<module>machine-learning</module>
Expand All @@ -659,7 +643,9 @@
<module>spring-boot-test-kotlin</module>
<module>spring-mvc-kotlin</module>
<module>spring-reactive-kotlin</module>
<module>spring-security-kotlin</module>
<module>spring-security-kotlin-dsl</module>
<module>quarkus-modules</module>
</modules>

</profile>
Expand Down Expand Up @@ -790,6 +776,30 @@
</plugins>
</build>
</profile>

<profile>
<id>default-disabled</id>
<modules>
<module>jee-kotlin</module> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
<module>k2-compiler</module> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
<module>kotlin-tornadofx</module> <!-- not compatible with Java 9+ -->
<module>kotlin-libraries-rdbms</module> <!-- not a Maven module -->
<module>kotlin-multiplatform</module> <!-- not a Maven module -->
<module>kotlin-multiplatform-mobile</module> <!-- not a Maven module -->
</modules>
</profile>

<profile>
<id>integration-disabled</id>
<modules>
<module>jee-kotlin</module> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
<module>k2-compiler</module> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
<module>kotlin-tornadofx</module> <!-- not compatible with Java 9+ -->
<module>kotlin-libraries-rdbms</module> <!-- not a Maven module -->
<module>kotlin-multiplatform</module> <!-- not a Maven module -->
<module>kotlin-multiplatform-mobile</module> <!-- not a Maven module -->
</modules>
</profile>
</profiles>

<properties>
Expand Down
1 change: 0 additions & 1 deletion quarkus-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
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>com.baeldung</groupId>
<artifactId>quarkus-modules</artifactId>
<packaging>pom</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ package com.baeldung.quarkus.kotlin
import io.quarkus.test.junit.QuarkusIntegrationTest
import io.restassured.RestAssured.given
import org.hamcrest.CoreMatchers.`is`
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test

@Disabled("KTLN-887")
@QuarkusIntegrationTest
class InjectResourceIntegrationTest {
@Test
Expand Down

0 comments on commit 34a1061

Please sign in to comment.