Skip to content

Commit df8e569

Browse files
committed
build: remove kotlin compiler from main source code
- keep it on tests
1 parent ea90a5c commit df8e569

File tree

1 file changed

+8
-46
lines changed

1 file changed

+8
-46
lines changed

modules/jooby-openapi/pom.xml

Lines changed: 8 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,7 @@
180180
<executions>
181181
<execution>
182182
<id>compile</id>
183-
<configuration>
184-
<sourceDirs>
185-
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
186-
<sourceDir>${project.basedir}/src/main/java</sourceDir>
187-
</sourceDirs>
188-
</configuration>
183+
<phase>none</phase>
189184
</execution>
190185
<execution>
191186
<id>test-compile</id>
@@ -207,21 +202,17 @@
207202
<proc>none</proc>
208203
</configuration>
209204
<executions>
210-
<execution>
211-
<id>default-compile</id>
212-
<phase>none</phase>
213-
</execution>
214205
<execution>
215206
<id>default-testCompile</id>
216207
<phase>none</phase>
217208
</execution>
218-
<execution>
219-
<id>java-compile</id>
220-
<goals>
221-
<goal>compile</goal>
222-
</goals>
223-
<phase>compile</phase>
224-
</execution>
209+
<!-- <execution>-->
210+
<!-- <id>java-compile</id>-->
211+
<!-- <goals>-->
212+
<!-- <goal>compile</goal>-->
213+
<!-- </goals>-->
214+
<!-- <phase>compile</phase>-->
215+
<!-- </execution>-->
225216
<execution>
226217
<id>java-test-compile</id>
227218
<goals>
@@ -231,35 +222,6 @@
231222
</execution>
232223
</executions>
233224
</plugin>
234-
235-
<!-- <plugin>-->
236-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
237-
<!-- <artifactId>maven-shade-plugin</artifactId>-->
238-
<!-- <executions>-->
239-
<!-- <execution>-->
240-
<!-- <id>fat-jar</id>-->
241-
<!-- <goals>-->
242-
<!-- <goal>shade</goal>-->
243-
<!-- </goals>-->
244-
<!-- <phase>package</phase>-->
245-
<!-- <configuration>-->
246-
<!-- <minimizeJar>true</minimizeJar>-->
247-
<!-- <artifactSet>-->
248-
<!-- <includes>-->
249-
<!-- <include>org.ow2.asm:*</include>-->
250-
<!-- </includes>-->
251-
<!-- </artifactSet>-->
252-
<!-- <relocations>-->
253-
<!-- <relocation>-->
254-
<!-- <pattern>org.objectweb.asm</pattern>-->
255-
<!-- <shadedPattern>io.jooby.internal.openapi.asm</shadedPattern>-->
256-
<!-- </relocation>-->
257-
<!-- </relocations>-->
258-
<!-- </configuration>-->
259-
<!-- </execution>-->
260-
<!-- </executions>-->
261-
<!-- </plugin>-->
262-
263225
</plugins>
264226
</build>
265227
</project>

0 commit comments

Comments
 (0)