Skip to content

Commit c1630b2

Browse files
Running kotlin-maven-plugin only in modules with Kotlin source files
1 parent f315024 commit c1630b2

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@
9090
<goal>compile</goal>
9191
</goals>
9292
</execution> -->
93-
<execution>
93+
<!-- <execution>
9494
<id>test-compile</id>
9595
<phase>test-compile</phase>
9696
<goals>
9797
<goal>test-compile</goal>
9898
</goals>
99-
</execution>
99+
</execution> -->
100100
</executions>
101101
<configuration>
102102
<jvmTarget>${java.version}</jvmTarget>

typescript-generator-core/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,19 @@
159159

160160
<build>
161161
<plugins>
162+
<plugin>
163+
<groupId>org.jetbrains.kotlin</groupId>
164+
<artifactId>kotlin-maven-plugin</artifactId>
165+
<executions>
166+
<execution>
167+
<id>test-compile</id>
168+
<phase>test-compile</phase>
169+
<goals>
170+
<goal>test-compile</goal>
171+
</goals>
172+
</execution>
173+
</executions>
174+
</plugin>
162175
<plugin>
163176
<groupId>org.jvnet.jaxb2.maven2</groupId>
164177
<artifactId>maven-jaxb2-plugin</artifactId>

typescript-generator-spring/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,19 @@
7373

7474
<build>
7575
<plugins>
76+
<plugin>
77+
<groupId>org.jetbrains.kotlin</groupId>
78+
<artifactId>kotlin-maven-plugin</artifactId>
79+
<executions>
80+
<execution>
81+
<id>test-compile</id>
82+
<phase>test-compile</phase>
83+
<goals>
84+
<goal>test-compile</goal>
85+
</goals>
86+
</execution>
87+
</executions>
88+
</plugin>
7689
<plugin>
7790
<groupId>org.apache.maven.plugins</groupId>
7891
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)