Skip to content

Commit 330b427

Browse files
committed
cleaned up pom to avoid duplicate reference to gradle module
1 parent 779ac72 commit 330b427

File tree

1 file changed

+9
-96
lines changed

1 file changed

+9
-96
lines changed

pom.xml

Lines changed: 9 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
<executions>
294294
<execution>
295295
<id>build-gradle-kotlin-dsl</id>
296-
<phase>none</phase>
296+
<phase>compile</phase>
297297
<goals>
298298
<goal>exec</goal>
299299
</goals>
@@ -307,7 +307,7 @@
307307
</execution>
308308
<execution>
309309
<id>test-gradle-kotlin-dsl</id>
310-
<phase>none</phase>
310+
<phase>test</phase>
311311
<goals>
312312
<goal>exec</goal>
313313
</goals>
@@ -321,7 +321,7 @@
321321
</execution>
322322
<execution>
323323
<id>build-kotlin-build-plugins</id>
324-
<phase>none</phase>
324+
<phase>compile</phase>
325325
<goals>
326326
<goal>exec</goal>
327327
</goals>
@@ -335,7 +335,7 @@
335335
</execution>
336336
<execution>
337337
<id>test-kotlin-build-plugins</id>
338-
<phase>none</phase>
338+
<phase>test</phase>
339339
<goals>
340340
<goal>exec</goal>
341341
</goals>
@@ -349,7 +349,7 @@
349349
</execution>
350350
<execution>
351351
<id>build-kotlin-kover</id>
352-
<phase>none</phase>
352+
<phase>compile</phase>
353353
<goals>
354354
<goal>exec</goal>
355355
</goals>
@@ -363,7 +363,7 @@
363363
</execution>
364364
<execution>
365365
<id>test-kotlin-kover</id>
366-
<phase>none</phase>
366+
<phase>test</phase>
367367
<goals>
368368
<goal>exec</goal>
369369
</goals>
@@ -377,7 +377,7 @@
377377
</execution>
378378
<execution>
379379
<id>build-kotlin-ktor</id>
380-
<phase>none</phase>
380+
<phase>compile</phase>
381381
<goals>
382382
<goal>exec</goal>
383383
</goals>
@@ -391,7 +391,7 @@
391391
</execution>
392392
<execution>
393393
<id>test-kotlin-ktor</id>
394-
<phase>none</phase>
394+
<phase>test</phase>
395395
<goals>
396396
<goal>exec</goal>
397397
</goals>
@@ -633,118 +633,31 @@
633633
<plugin>
634634
<groupId>org.codehaus.mojo</groupId>
635635
<artifactId>exec-maven-plugin</artifactId>
636+
<version>${exec-maven-plugin.version}</version>
636637
<executions>
637638
<execution>
638639
<id>build-gradle-kotlin-dsl</id>
639-
<phase>compile</phase>
640-
<goals>
641-
<goal>exec</goal>
642-
</goals>
643-
<configuration>
644-
<workingDirectory>${rootproject.basedir}/gradle-kotlin-dsl</workingDirectory>
645-
<executable>./gradlew</executable>
646-
<arguments>
647-
<argument>build</argument>
648-
</arguments>
649-
</configuration>
650640
</execution>
651641
<execution>
652642
<id>test-gradle-kotlin-dsl</id>
653-
<phase>test</phase>
654-
<goals>
655-
<goal>exec</goal>
656-
</goals>
657-
<configuration>
658-
<workingDirectory>${rootproject.basedir}/gradle-kotlin-dsl</workingDirectory>
659-
<executable>./gradlew</executable>
660-
<arguments>
661-
<argument>test</argument>
662-
</arguments>
663-
</configuration>
664643
</execution>
665644
<execution>
666645
<id>build-kotlin-build-plugins</id>
667-
<phase>compile</phase>
668-
<goals>
669-
<goal>exec</goal>
670-
</goals>
671-
<configuration>
672-
<workingDirectory>${rootproject.basedir}/kotlin-build-plugins</workingDirectory>
673-
<executable>./gradlew</executable>
674-
<arguments>
675-
<argument>build</argument>
676-
</arguments>
677-
</configuration>
678646
</execution>
679647
<execution>
680648
<id>test-kotlin-build-plugins</id>
681-
<phase>test</phase>
682-
<goals>
683-
<goal>exec</goal>
684-
</goals>
685-
<configuration>
686-
<workingDirectory>${rootproject.basedir}/kotlin-build-plugins</workingDirectory>
687-
<executable>./gradlew</executable>
688-
<arguments>
689-
<argument>test</argument>
690-
</arguments>
691-
</configuration>
692649
</execution>
693650
<execution>
694651
<id>build-kotlin-kover</id>
695-
<phase>compile</phase>
696-
<goals>
697-
<goal>exec</goal>
698-
</goals>
699-
<configuration>
700-
<workingDirectory>${rootproject.basedir}/kotlin-kover</workingDirectory>
701-
<executable>./gradlew</executable>
702-
<arguments>
703-
<argument>build</argument>
704-
</arguments>
705-
</configuration>
706652
</execution>
707653
<execution>
708654
<id>test-kotlin-kover</id>
709-
<phase>test</phase>
710-
<goals>
711-
<goal>exec</goal>
712-
</goals>
713-
<configuration>
714-
<workingDirectory>${rootproject.basedir}/kotlin-kover</workingDirectory>
715-
<executable>./gradlew</executable>
716-
<arguments>
717-
<argument>test</argument>
718-
</arguments>
719-
</configuration>
720655
</execution>
721656
<execution>
722657
<id>build-kotlin-ktor</id>
723-
<phase>compile</phase>
724-
<goals>
725-
<goal>exec</goal>
726-
</goals>
727-
<configuration>
728-
<workingDirectory>${rootproject.basedir}/kotlin-ktor</workingDirectory>
729-
<executable>./gradlew</executable>
730-
<arguments>
731-
<argument>build</argument>
732-
</arguments>
733-
</configuration>
734658
</execution>
735659
<execution>
736660
<id>test-kotlin-ktor</id>
737-
<phase>test</phase>
738-
<goals>
739-
<goal>exec</goal>
740-
</goals>
741-
<configuration>
742-
<workingDirectory>${rootproject.basedir}/kotlin-ktor</workingDirectory>
743-
<executable>./gradlew</executable>
744-
<arguments>
745-
<argument>test</argument>
746-
</arguments>
747-
</configuration>
748661
</execution>
749662
</executions>
750663
</plugin>

0 commit comments

Comments
 (0)