Skip to content

Commit 34a1061

Browse files
JAVA-42733 Create Disabled Profiles for Kotlin Repo
2 parents e56ac1f + 4f93f04 commit 34a1061

File tree

5 files changed

+35
-24
lines changed

5 files changed

+35
-24
lines changed

core-kotlin-modules/core-kotlin-advanced-4/src/test/kotlin/com/baeldung/runKotlinScripts/RunKotlinScriptsIntegrationTest.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package com.baeldung.runKotlinScripts
22

33
import org.junit.jupiter.api.Assertions.assertEquals
4+
import org.junit.jupiter.api.Disabled
45
import org.junit.jupiter.api.Test
56
import java.io.File
67

7-
// requires `kotlinc` to be installed on the machine.
8+
@Disabled("Requires `kotlinc` to be installed on the machine. JAVA-42077")
89
class RunKotlinScriptsIntegrationTest {
910
@Test
1011
fun `run Kotlin script with ProcessBuilder`() {

core-kotlin-modules/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
7-
<groupId>com.baeldung</groupId>
87
<artifactId>core-kotlin-modules</artifactId>
98
<packaging>pom</packaging>
109

@@ -29,7 +28,7 @@
2928
<module>core-kotlin-advanced</module>
3029
<module>core-kotlin-advanced-2</module>
3130
<module>core-kotlin-advanced-3</module>
32-
<!--<module>core-kotlin-advanced-4</module>--><!--Not installing kotlinc for now JAVA-42077-->
31+
<module>core-kotlin-advanced-4</module>
3332
<module>core-kotlin-annotations</module>
3433
<module>core-kotlin-arrays</module>
3534
<module>core-kotlin-arrays-2</module>

pom.xml

+30-20
Original file line numberDiff line numberDiff line change
@@ -516,40 +516,32 @@
516516
</build>
517517

518518
<modules>
519+
<module>parent-boot-2</module>
519520
<module>parent-boot-3</module>
520521

521522
<module>core-kotlin-companion</module>
522523
<module>core-kotlin-modules</module>
523-
<module>core-kotlin-modules/core-kotlin-advanced-4</module>
524-
<!-- <module>gradle-kotlin-dsl</module> --> <!-- not a Maven module -->
525-
<!-- <module>jee-kotlin</module> --> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
526-
<!-- <module>k2-compiler</module>--> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
527524
<module>koin-guide</module>
528525
<module>kotlin-kotest</module>
529526
<module>kotlin-apache-kafka</module>
530527
<module>kotlin-api</module>
531-
<!-- <module>kotlin-build-plugins</module> --> <!-- not a Maven module -->
532528
<module>kotlin-immutable-collections</module>
533529
<module>kotlin-json</module>
534530
<module>kotlin-json-2</module>
535531
<module>kotlin-dsl</module>
536532
<module>kotlin-reactive-dsl</module>
537-
<!-- <module>kotlin-ktor</module> --> <!-- not a Maven module -->
538533
<module>kotlin-lambda</module>
539534
<module>kotlin-libraries</module>
540535
<module>kotlin-libraries-2</module>
541536
<module>kotlin-libraries-3</module>
542537
<module>kotlin-libraries-data</module>
543538
<module>kotlin-libraries-http</module>
544539
<module>kotlin-libraries-orm</module>
545-
<!-- <module>kotlin-libraries-rdbms</module> --> <!-- not a Maven module -->
546540
<module>kotlin-libraries-utils</module>
547541
<module>kotlin-logging</module>
548542
<module>kotlin-math</module>
549543
<module>kotlin-math-2</module>
550544
<module>kotlin-yaml</module>
551-
<!-- <module>kotlin-multiplatform</module> --> <!-- not a Maven module -->
552-
<!-- <module>kotlin-multiplatform-mobile</module> --> <!-- not a Maven module -->
553545
<module>kotlin-native</module>
554546
<module>kotlin-openapi</module>
555547
<module>kotlin-design-patterns</module>
@@ -564,7 +556,6 @@
564556
<module>kotlin-testing</module>
565557
<module>kotlin-mockito</module>
566558
<module>kotlin-docker</module>
567-
<!-- <module>kotlin-tornadofx</module> --> <!-- not compatible with Java 9+ -->
568559
<module>kotlin-kover</module>
569560
<module>ktlint-custom</module>
570561
<module>machine-learning</module>
@@ -574,8 +565,8 @@
574565
<module>spring-boot-test-kotlin</module>
575566
<module>spring-mvc-kotlin</module>
576567
<module>spring-reactive-kotlin</module>
577-
<module>spring-security-kotlin-dsl</module>
578568
<module>spring-security-kotlin</module>
569+
<module>spring-security-kotlin-dsl</module>
579570
<module>quarkus-modules</module>
580571
</modules>
581572
</profile>
@@ -603,39 +594,32 @@
603594
</build>
604595

605596
<modules>
597+
<module>parent-boot-2</module>
606598
<module>parent-boot-3</module>
607599

608600
<module>core-kotlin-companion</module>
609601
<module>core-kotlin-modules</module>
610-
<!-- <module>gradle-kotlin-dsl</module> --> <!-- not a Maven module -->
611-
<!-- <module>jee-kotlin</module> --> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
612-
<!-- <module>k2-compiler</module>--> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
613602
<module>koin-guide</module>
614603
<module>kotlin-kotest</module>
615604
<module>kotlin-apache-kafka</module>
616605
<module>kotlin-api</module>
617-
<!-- <module>kotlin-build-plugins</module> --> <!-- not a Maven module -->
618606
<module>kotlin-immutable-collections</module>
619607
<module>kotlin-json</module>
620608
<module>kotlin-json-2</module>
621609
<module>kotlin-dsl</module>
622610
<module>kotlin-reactive-dsl</module>
623-
<!-- <module>kotlin-ktor</module> --> <!-- not a Maven module -->
624611
<module>kotlin-lambda</module>
625612
<module>kotlin-libraries</module>
626613
<module>kotlin-libraries-2</module>
627614
<module>kotlin-libraries-3</module>
628615
<module>kotlin-libraries-data</module>
629616
<module>kotlin-libraries-http</module>
630617
<module>kotlin-libraries-orm</module>
631-
<!-- <module>kotlin-libraries-rdbms</module> --> <!-- not a Maven module -->
632618
<module>kotlin-libraries-utils</module>
633619
<module>kotlin-logging</module>
634620
<module>kotlin-math</module>
635621
<module>kotlin-math-2</module>
636622
<module>kotlin-yaml</module>
637-
<!-- <module>kotlin-multiplatform</module> --> <!-- not a Maven module -->
638-
<!-- <module>kotlin-multiplatform-mobile</module> --> <!-- not a Maven module -->
639623
<module>kotlin-native</module>
640624
<module>kotlin-openapi</module>
641625
<module>kotlin-design-patterns</module>
@@ -649,7 +633,7 @@
649633
<module>kotlin-blockchain</module>
650634
<module>kotlin-testing</module>
651635
<module>kotlin-mockito</module>
652-
<!-- <module>kotlin-tornadofx</module> --> <!-- not compatible with Java 9+ -->
636+
<module>kotlin-docker</module>
653637
<module>kotlin-kover</module>
654638
<module>ktlint-custom</module>
655639
<module>machine-learning</module>
@@ -659,7 +643,9 @@
659643
<module>spring-boot-test-kotlin</module>
660644
<module>spring-mvc-kotlin</module>
661645
<module>spring-reactive-kotlin</module>
646+
<module>spring-security-kotlin</module>
662647
<module>spring-security-kotlin-dsl</module>
648+
<module>quarkus-modules</module>
663649
</modules>
664650

665651
</profile>
@@ -790,6 +776,30 @@
790776
</plugins>
791777
</build>
792778
</profile>
779+
780+
<profile>
781+
<id>default-disabled</id>
782+
<modules>
783+
<module>jee-kotlin</module> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
784+
<module>k2-compiler</module> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
785+
<module>kotlin-tornadofx</module> <!-- not compatible with Java 9+ -->
786+
<module>kotlin-libraries-rdbms</module> <!-- not a Maven module -->
787+
<module>kotlin-multiplatform</module> <!-- not a Maven module -->
788+
<module>kotlin-multiplatform-mobile</module> <!-- not a Maven module -->
789+
</modules>
790+
</profile>
791+
792+
<profile>
793+
<id>integration-disabled</id>
794+
<modules>
795+
<module>jee-kotlin</module> <!-- Can't upgrade this project. Arquillian not maintained anymore.-->
796+
<module>k2-compiler</module> <!-- Contains a lot of examples where code intentionally does not compile, by design: https://jira.baeldung.com/browse/KTLN-863 -->
797+
<module>kotlin-tornadofx</module> <!-- not compatible with Java 9+ -->
798+
<module>kotlin-libraries-rdbms</module> <!-- not a Maven module -->
799+
<module>kotlin-multiplatform</module> <!-- not a Maven module -->
800+
<module>kotlin-multiplatform-mobile</module> <!-- not a Maven module -->
801+
</modules>
802+
</profile>
793803
</profiles>
794804

795805
<properties>

quarkus-modules/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
7-
<groupId>com.baeldung</groupId>
87
<artifactId>quarkus-modules</artifactId>
98
<packaging>pom</packaging>
109

quarkus-modules/quarkus-kotlin/src/test/kotlin/com/baeldung/quarkus/kotlin/InjectResourceIntegrationTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ package com.baeldung.quarkus.kotlin
33
import io.quarkus.test.junit.QuarkusIntegrationTest
44
import io.restassured.RestAssured.given
55
import org.hamcrest.CoreMatchers.`is`
6+
import org.junit.jupiter.api.Disabled
67
import org.junit.jupiter.api.Test
78

9+
@Disabled("KTLN-887")
810
@QuarkusIntegrationTest
911
class InjectResourceIntegrationTest {
1012
@Test

0 commit comments

Comments
 (0)