To publish JPS locally apply this commit and run

./gradlew -Ppublish.ide.plugin.dependencies=true mvnInstall
diff --git a/build.gradle.kts b/build.gradle.kts
index b41b76b..e711526 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1044,6 +1044,7 @@
     }
 
     register<Exec>("mvnInstall") {
+        notCompatibleWithConfigurationCache("Uses project.rootDir")
         group = "publishing"
         workingDir = rootProject.projectDir.resolve("libraries")
         commandLine = getMvnwCmd() + listOf("clean", "install", "-DskipTests")
diff --git a/libraries/pom.xml b/libraries/pom.xml
index d9a4a0c..ee2253a 100644
--- a/libraries/pom.xml
+++ b/libraries/pom.xml
@@ -96,9 +96,9 @@
         <module>tools/kotlin-bom</module>
         <module>tools/kotlin-dist-for-jps-meta</module>
 
-        <module>tools/kotlin-maven-plugin-test</module>
+<!--        <module>tools/kotlin-maven-plugin-test</module>-->
 
-        <module>examples/kotlin-java-example</module>
+<!--        <module>examples/kotlin-java-example</module>-->
     </modules>
 
     <dependencies>