Skip to content

Commit

Permalink
moved the kotlin-maven-plugin to parent pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
belagertem committed Apr 8, 2024
1 parent 6f1db38 commit 9f0fe54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 35 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,23 @@
<jaxbRuntimeVersion>4.0.4</jaxbRuntimeVersion>
<jaxbCoreVersion>4.0.4</jaxbCoreVersion>
<jaxbBuildHelperMavenPluginVersion>3.5.0</jaxbBuildHelperMavenPluginVersion>
<kotlin.version>1.9.23</kotlin.version>
</properties>

<build>
<plugins>

<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<!-- You can set this option to automatically take information about lifecycles -->
<extensions>true</extensions>
<configuration>
<jvmTarget>17</jvmTarget>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
35 changes: 0 additions & 35 deletions sdccc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<spotbugsVersion>4.7.3</spotbugsVersion>
<checkstyleConfigDir>../checkstyle</checkstyleConfigDir>
<bouncyCastleVersion>1.67</bouncyCastleVersion>
<kotlin.version>1.9.23</kotlin.version>
<detektVersion>1.23.5</detektVersion>
<!-- name of the directory inside the archive -->
<jreDirectoryName>jdk-17.0.5+8-jre</jreDirectoryName>
Expand Down Expand Up @@ -435,40 +434,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${project.basedir}/src/main/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>test-compile</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${project.basedir}/src/test/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
</executions>
<configuration>
<jvmTarget>17</jvmTarget>
</configuration>
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin.version}</version>
</plugin>
<plugin>
<groupId>com.github.ozsie</groupId>
<artifactId>detekt-maven-plugin</artifactId>
Expand Down

0 comments on commit 9f0fe54

Please sign in to comment.