KT-3725 set jar packaging for Kotlin compiler artifact
This commit is contained in:
@@ -17,12 +17,13 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>kotlin-compiler</artifactId>
|
<artifactId>kotlin-compiler</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<description>the Kotlin compiler</description>
|
<description>the Kotlin compiler</description>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
@@ -36,10 +37,6 @@
|
|||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<artifacts>
|
<artifacts>
|
||||||
<artifact>
|
|
||||||
<file>${kotlin-sdk}/lib/kotlin-compiler.jar</file>
|
|
||||||
<type>jar</type>
|
|
||||||
</artifact>
|
|
||||||
<artifact>
|
<artifact>
|
||||||
<file>${kotlin-dist}/kotlin-compiler-sources.jar</file>
|
<file>${kotlin-dist}/kotlin-compiler-sources.jar</file>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
@@ -56,6 +53,25 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-jar</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<copy file="${kotlin-sdk}/lib/kotlin-compiler.jar" tofile="${basedir}/target/${project.artifactId}-${project.version}.jar" overwrite="true" verbose="true" />
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user