Skip to content

Commit 11ffe10

Browse files
author
Amit Pandey
committed
Fix build times of Spring boot kotlin modules
1 parent 713578c commit 11ffe10

File tree

2 files changed

+1
-59
lines changed

2 files changed

+1
-59
lines changed

spring-boot-kotlin-2/pom.xml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -63,35 +63,6 @@
6363
<groupId>org.springframework.boot</groupId>
6464
<artifactId>spring-boot-maven-plugin</artifactId>
6565
</plugin>
66-
<plugin>
67-
<groupId>org.apache.maven.plugins</groupId>
68-
<artifactId>maven-compiler-plugin</artifactId>
69-
<version>${maven-compiler-plugin.version}</version>
70-
<configuration>
71-
<source>${java.version}</source>
72-
<target>${java.version}</target>
73-
</configuration>
74-
<executions>
75-
<!-- Replacing default-compile as it is treated specially by maven -->
76-
<execution>
77-
<id>default-compile</id>
78-
<phase>none</phase>
79-
</execution>
80-
<!-- Replacing default-testCompile as it is treated specially by maven -->
81-
<execution>
82-
<id>default-testCompile</id>
83-
<phase>none</phase>
84-
</execution>
85-
<execution>
86-
<id>java-compile</id>
87-
<phase>none</phase>
88-
</execution>
89-
<execution>
90-
<id>java-test-compile</id>
91-
<phase>none</phase>
92-
</execution>
93-
</executions>
94-
</plugin>
9566
<plugin>
9667
<artifactId>kotlin-maven-plugin</artifactId>
9768
<groupId>org.jetbrains.kotlin</groupId>
@@ -145,7 +116,7 @@
145116
</build>
146117

147118
<properties>
148-
<kotlin.version>1.7.0</kotlin.version>
119+
<kotlin.version>1.9.24</kotlin.version>
149120
</properties>
150121

151122
</project>

spring-boot-kotlin/pom.xml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -80,35 +80,6 @@
8080

8181
<build>
8282
<plugins>
83-
<plugin>
84-
<groupId>org.apache.maven.plugins</groupId>
85-
<artifactId>maven-compiler-plugin</artifactId>
86-
<version>${maven-compiler-plugin.version}</version>
87-
<configuration>
88-
<source>${java.version}</source>
89-
<target>${java.version}</target>
90-
</configuration>
91-
<executions>
92-
<!-- Replacing default-compile as it is treated specially by maven -->
93-
<execution>
94-
<id>default-compile</id>
95-
<phase>none</phase>
96-
</execution>
97-
<!-- Replacing default-testCompile as it is treated specially by maven -->
98-
<execution>
99-
<id>default-testCompile</id>
100-
<phase>none</phase>
101-
</execution>
102-
<execution>
103-
<id>java-compile</id>
104-
<phase>none</phase>
105-
</execution>
106-
<execution>
107-
<id>java-test-compile</id>
108-
<phase>none</phase>
109-
</execution>
110-
</executions>
111-
</plugin>
11283
<plugin>
11384
<groupId>org.jetbrains.kotlin</groupId>
11485
<artifactId>kotlin-maven-plugin</artifactId>

0 commit comments

Comments
 (0)