25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

266 lines
9.0KB

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>tmp.org.jetbrains.kotlin</groupId>
  4. <artifactId>placeholder.kotlin-project</artifactId>
  5. <version>1.8.0</version>
  6. <packaging>pom</packaging>
  7. <name>Kotlin</name>
  8. <description>Kotlin is a statically typed programming language that compiles to JVM byte codes and JavaScript</description>
  9. <url>https://kotlinlang.org/</url>
  10. <licenses>
  11. <license>
  12. <name>The Apache Software License, Version 2.0</name>
  13. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  14. <distribution>repo</distribution>
  15. <comments>A business-friendly OSS license</comments>
  16. </license>
  17. </licenses>
  18. <scm>
  19. <url>https://github.com/JetBrains/kotlin</url>
  20. <connection>scm:git:https://github.com/JetBrains/kotlin.git</connection>
  21. <developerConnection>scm:git:https://github.com/JetBrains/kotlin.git</developerConnection>
  22. </scm>
  23. <developers>
  24. <developer>
  25. <id>JetBrains</id>
  26. <name>JetBrains Team</name>
  27. <organization>JetBrains</organization>
  28. <organizationUrl>https://www.jetbrains.com</organizationUrl>
  29. </developer>
  30. </developers>
  31. <properties>
  32. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  33. <project-root>../../..</project-root>
  34. <junit-version>4.13.1</junit-version>
  35. <pegdown.version>1.1.0</pegdown.version>
  36. <surefire-version>2.16</surefire-version>
  37. <exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
  38. <selenium.version>2.53.1</selenium.version>
  39. <htmlunit.version>2.24</htmlunit.version>
  40. <kotlin-dist>${project-root}/dist</kotlin-dist>
  41. <kotlin-sdk>${kotlin-dist}/kotlinc</kotlin-sdk>
  42. <kotlin.compiler.jdkHome>${env.JDK_18}</kotlin.compiler.jdkHome>
  43. <maven.compiler.source>1.6</maven.compiler.source>
  44. <maven.compiler.target>1.6</maven.compiler.target>
  45. </properties>
  46. <prerequisites>
  47. <maven>3.0.2</maven>
  48. </prerequisites>
  49. <distributionManagement>
  50. <repository>
  51. <id>${deploy-repo}</id>
  52. <url>${deploy-url}</url>
  53. </repository>
  54. <snapshotRepository>
  55. <id>sonatype-nexus-staging</id>
  56. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  57. </snapshotRepository>
  58. </distributionManagement>
  59. <modules>
  60. <module>tools/kotlin-maven-plugin</module>
  61. <module>tools/kotlin-osgi-bundle</module>
  62. <module>tools/maven-archetypes</module>
  63. <module>tools/kotlin-annotation-processing-maven</module>
  64. <module>tools/kotlin-maven-allopen</module>
  65. <module>tools/kotlin-maven-noarg</module>
  66. <module>tools/kotlin-maven-sam-with-receiver</module>
  67. <module>tools/kotlin-maven-serialization</module>
  68. <module>tools/kotlin-maven-lombok</module>
  69. <module>tools/kotlin-bom</module>
  70. <module>tools/kotlin-dist-for-jps-meta</module>
  71. <module>tools/kotlin-maven-plugin-test</module>
  72. <module>examples/kotlin-java-example</module>
  73. <module>examples/js-example</module>
  74. <module>examples/kotlin-js-library-example</module>
  75. <module>examples/browser-example</module>
  76. <module>examples/browser-example-with-library</module>
  77. </modules>
  78. <dependencies>
  79. <dependency>
  80. <groupId>junit</groupId>
  81. <artifactId>junit</artifactId>
  82. <version>${junit-version}</version>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.jetbrains.kotlin</groupId>
  87. <artifactId>kotlin-project</artifactId>
  88. <version>1.8.0</version>
  89. </dependency>
  90. </dependencies>
  91. <build>
  92. <pluginManagement>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-compiler-plugin</artifactId>
  97. <version>2.3.2</version>
  98. <configuration>
  99. <source>${maven.compiler.source}</source>
  100. <target>${maven.compiler.target}</target>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-source-plugin</artifactId>
  106. <version>3.2.0</version>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-javadoc-plugin</artifactId>
  111. <version>2.9</version>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-deploy-plugin</artifactId>
  116. <version>2.7</version>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.codehaus.mojo</groupId>
  120. <artifactId>build-helper-maven-plugin</artifactId>
  121. <version>1.7</version>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-jar-plugin</artifactId>
  126. <version>3.2.2</version>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.codehaus.mojo</groupId>
  130. <artifactId>versions-maven-plugin</artifactId>
  131. <version>2.13.0</version>
  132. </plugin>
  133. </plugins>
  134. </pluginManagement>
  135. <plugins>
  136. <plugin>
  137. <artifactId>maven-surefire-plugin</artifactId>
  138. <version>${surefire-version}</version>
  139. <configuration>
  140. <forkMode>once</forkMode>
  141. <jvm>${env.JDK_16}/bin/java</jvm>
  142. <useSystemClassLoader>false</useSystemClassLoader>
  143. <useManifestOnlyJar>false</useManifestOnlyJar>
  144. <failIfNoTests>false</failIfNoTests>
  145. <includes>
  146. <include>**/*Test.*</include>
  147. </includes>
  148. <excludes>
  149. </excludes>
  150. <systemProperties>
  151. <project.version>${project.version}</project.version>
  152. </systemProperties>
  153. </configuration>
  154. </plugin>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-source-plugin</artifactId>
  158. <configuration>
  159. </configuration>
  160. <executions>
  161. <execution>
  162. <phase>package</phase>
  163. <id>attach-sources</id>
  164. <goals>
  165. <goal>jar-no-fork</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.codehaus.mojo</groupId>
  172. <artifactId>build-helper-maven-plugin</artifactId>
  173. <executions>
  174. <execution>
  175. <id>attach-empty-javadoc</id>
  176. <phase>prepare-package</phase>
  177. <goals>
  178. <goal>attach-artifact</goal>
  179. </goals>
  180. <configuration>
  181. <artifacts>
  182. <artifact>
  183. <file>${highest-basedir}/lib/empty-javadoc.jar</file>
  184. <type>jar</type>
  185. <classifier>javadoc</classifier>
  186. </artifact>
  187. </artifacts>
  188. </configuration>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.commonjava.maven.plugins</groupId>
  194. <artifactId>directory-maven-plugin</artifactId>
  195. <version>0.3.1</version>
  196. <executions>
  197. <execution>
  198. <id>directories</id>
  199. <goals>
  200. <goal>highest-basedir</goal>
  201. </goals>
  202. <phase>initialize</phase>
  203. <configuration>
  204. <property>highest-basedir</property>
  205. </configuration>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <artifactId>maven-jar-plugin</artifactId>
  211. <configuration>
  212. <archive>
  213. <manifest>
  214. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  215. </manifest>
  216. </archive>
  217. </configuration>
  218. </plugin>
  219. <plugin>
  220. <groupId>io.github.zlika</groupId>
  221. <artifactId>reproducible-build-maven-plugin</artifactId>
  222. <version>0.15</version>
  223. <executions>
  224. <execution>
  225. <goals>
  226. <goal>strip-jar</goal>
  227. </goals>
  228. </execution>
  229. </executions>
  230. </plugin>
  231. </plugins>
  232. </build>
  233. <profiles>
  234. <profile>
  235. <id>sign-artifacts</id>
  236. <build>
  237. <plugins>
  238. <plugin>
  239. <artifactId>maven-gpg-plugin</artifactId>
  240. <version>1.6</version>
  241. <configuration>
  242. <passphrase>${kotlin.key.passphrase}</passphrase>
  243. <keyname>${kotlin.key.name}</keyname>
  244. <homedir>${highest-basedir}/.gnupg</homedir>
  245. </configuration>
  246. <executions>
  247. <execution>
  248. <id>sign-artifacts</id>
  249. <phase>verify</phase>
  250. <goals>
  251. <goal>sign</goal>
  252. </goals>
  253. <configuration>
  254. <gpgArguments>
  255. <arg>--pinentry-mode</arg>
  256. <arg>loopback</arg>
  257. </gpgArguments>
  258. </configuration>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. </plugins>
  263. </build>
  264. </profile>
  265. </profiles>
  266. </project>