Skip to content

Commit

Permalink
DERCBOT-1222: Fix KAPT issue, restored required files (#1810)
Browse files Browse the repository at this point in the history
Co-authored-by: Louis <[email protected]>
  • Loading branch information
scezen and scezen authored Dec 18, 2024
1 parent 8cd1c92 commit 7a71c9c
Show file tree
Hide file tree
Showing 80 changed files with 312 additions and 16 deletions.
6 changes: 5 additions & 1 deletion bot/admin/kotlin-compiler/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,8 @@
</dependency>
</dependencies>

</project>
<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/kotlin-compiler/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/kotlin-compiler/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/kotlin-compiler/shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@
<name>Tock Kotlin Compiler Shared classes</name>
<description>Core Kotlin Tock compiler shared classes</description>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/test/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@
<module>xray</module>
</modules>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/admin/test/xray/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
1 change: 1 addition & 0 deletions bot/admin/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
</properties>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
<plugins>
<plugin>
<groupId>pl.project13.maven</groupId>
Expand Down
4 changes: 4 additions & 0 deletions bot/api/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@

</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/api/model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/api/retrofit-jackson-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/api/service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/api/webhook-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/api/websocket-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/chatbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-alcmeon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-alexa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-businesschat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-ga/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-google-chat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
5 changes: 5 additions & 0 deletions bot/connector-iadvize/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,9 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-messenger/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,8 @@

</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-rocketchat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-slack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
5 changes: 5 additions & 0 deletions bot/connector-teams/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,9 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-twitter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,8 @@

</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-web-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@
</dependencies>


<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/connector-whatsapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/dialogflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/engine-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@

</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/orchestration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@

</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
10 changes: 5 additions & 5 deletions bot/storage-mongo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
Expand All @@ -98,11 +100,9 @@
<goal>kapt</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>src/main/kotlin</sourceDir>
<sourceDir>../engine/src/main/kotlin</sourceDir>
<sourceDir>../../translator/core/src/main/kotlin</sourceDir>
</sourceDirs>
<!-- <sourceDirs>-->
<!-- <sourceDir>${project.build.directory}/generated-source/kapt</sourceDir>-->
<!-- </sourceDirs>-->
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>org.litote.jackson</groupId>
Expand Down
4 changes: 4 additions & 0 deletions bot/test-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions bot/toolkit-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
5 changes: 5 additions & 0 deletions bot/xray/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,9 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions nlp/admin/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
4 changes: 4 additions & 0 deletions nlp/api/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@
</dependency>
</dependencies>

<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
</build>

</project>
Loading

0 comments on commit 7a71c9c

Please sign in to comment.