Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

248 rindas
8.4KB

  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.6.21</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-maven-plugin-test</module>
  71. <module>examples/kotlin-java-example</module>
  72. <module>examples/js-example</module>
  73. <module>examples/kotlin-js-library-example</module>
  74. <module>examples/browser-example</module>
  75. <module>examples/browser-example-with-library</module>
  76. </modules>
  77. <dependencies>
  78. <dependency>
  79. <groupId>junit</groupId>
  80. <artifactId>junit</artifactId>
  81. <version>${junit-version}</version>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.jetbrains.kotlin</groupId>
  86. <artifactId>kotlin-project</artifactId>
  87. <version>1.6.21</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <pluginManagement>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <version>2.3.2</version>
  97. <configuration>
  98. <source>${maven.compiler.source}</source>
  99. <target>${maven.compiler.target}</target>
  100. </configuration>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-source-plugin</artifactId>
  105. <version>2.1.2</version>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-javadoc-plugin</artifactId>
  110. <version>2.9</version>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-deploy-plugin</artifactId>
  115. <version>2.7</version>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.codehaus.mojo</groupId>
  119. <artifactId>build-helper-maven-plugin</artifactId>
  120. <version>1.7</version>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-jar-plugin</artifactId>
  125. <version>2.6</version>
  126. </plugin>
  127. </plugins>
  128. </pluginManagement>
  129. <plugins>
  130. <plugin>
  131. <artifactId>maven-surefire-plugin</artifactId>
  132. <version>${surefire-version}</version>
  133. <configuration>
  134. <forkMode>once</forkMode>
  135. <jvm>${env.JDK_16}/bin/java</jvm>
  136. <useSystemClassLoader>false</useSystemClassLoader>
  137. <useManifestOnlyJar>false</useManifestOnlyJar>
  138. <failIfNoTests>false</failIfNoTests>
  139. <includes>
  140. <include>**/*Test.*</include>
  141. </includes>
  142. <excludes>
  143. </excludes>
  144. <systemProperties>
  145. <project.version>${project.version}</project.version>
  146. </systemProperties>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-source-plugin</artifactId>
  152. <configuration>
  153. </configuration>
  154. <executions>
  155. <execution>
  156. <phase>package</phase>
  157. <id>attach-sources</id>
  158. <goals>
  159. <goal>jar-no-fork</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.codehaus.mojo</groupId>
  166. <artifactId>build-helper-maven-plugin</artifactId>
  167. <executions>
  168. <execution>
  169. <id>attach-empty-javadoc</id>
  170. <phase>prepare-package</phase>
  171. <goals>
  172. <goal>attach-artifact</goal>
  173. </goals>
  174. <configuration>
  175. <artifacts>
  176. <artifact>
  177. <file>${highest-basedir}/lib/empty-javadoc.jar</file>
  178. <type>jar</type>
  179. <classifier>javadoc</classifier>
  180. </artifact>
  181. </artifacts>
  182. </configuration>
  183. </execution>
  184. </executions>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.commonjava.maven.plugins</groupId>
  188. <artifactId>directory-maven-plugin</artifactId>
  189. <version>0.3.1</version>
  190. <executions>
  191. <execution>
  192. <id>directories</id>
  193. <goals>
  194. <goal>highest-basedir</goal>
  195. </goals>
  196. <phase>initialize</phase>
  197. <configuration>
  198. <property>highest-basedir</property>
  199. </configuration>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. <plugin>
  204. <artifactId>maven-jar-plugin</artifactId>
  205. <configuration>
  206. <archive>
  207. <manifest>
  208. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  209. </manifest>
  210. </archive>
  211. </configuration>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. <profiles>
  216. <profile>
  217. <id>sign-artifacts</id>
  218. <build>
  219. <plugins>
  220. <plugin>
  221. <artifactId>maven-gpg-plugin</artifactId>
  222. <version>1.6</version>
  223. <configuration>
  224. <passphrase>${kotlin.key.passphrase}</passphrase>
  225. <keyname>${kotlin.key.name}</keyname>
  226. <homedir>${highest-basedir}/.gnupg</homedir>
  227. </configuration>
  228. <executions>
  229. <execution>
  230. <id>sign-artifacts</id>
  231. <phase>verify</phase>
  232. <goals>
  233. <goal>sign</goal>
  234. </goals>
  235. <configuration>
  236. <gpgArguments>
  237. <arg>--pinentry-mode</arg>
  238. <arg>loopback</arg>
  239. </gpgArguments>
  240. </configuration>
  241. </execution>
  242. </executions>
  243. </plugin>
  244. </plugins>
  245. </build>
  246. </profile>
  247. </profiles>
  248. </project>