Skip to content

Commit

Permalink
TS-38628 Fix maven plugin build
Browse files Browse the repository at this point in the history
  • Loading branch information
DreierF committed Jan 17, 2025
1 parent 31f7877 commit e7325eb
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
46 changes: 42 additions & 4 deletions teamscale-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
c.f. https://maven.apache.org/docs/3.2.1/release-notes.html
-->
<version>${revision}</version>
<packaging>maven-plugin</packaging>

<name>Teamscale Maven Plugin</name>
<description>Maven Plugin for Teamscale</description>
Expand Down Expand Up @@ -63,6 +64,12 @@
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.11.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
Expand Down Expand Up @@ -134,13 +141,14 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>2.1.0</version>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<sourceDirs>
<source>src/main/kotlin</source>
Expand All @@ -152,6 +160,7 @@
<goals>
<goal>test-compile</goal>
</goals>
<phase>test-compile</phase>
<configuration>
<sourceDirs>
<source>src/test/kotlin</source>
Expand All @@ -163,8 +172,24 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.15.1</version>
<version>3.6.4</version>
<configuration>
<extractors>
<extractor>kotlin</extractor>
</extractors>
</configuration>
<dependencies>
<dependency>
<groupId>com.github.gantsign.maven.plugin-tools</groupId>
<artifactId>kotlin-maven-plugin-tools</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>default-descriptor</id>
<phase>process-classes</phase>
</execution>
<execution>
<id>generate-helpmojo</id>
<goals>
Expand All @@ -173,6 +198,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -188,8 +218,16 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Empty file.

0 comments on commit e7325eb

Please sign in to comment.