pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.apache.lucene.morphology</groupId>
  5. <artifactId>morphology</artifactId>
  6. <packaging>pom</packaging>
  7. <version>1.5</version>
  8. <name>morphology</name>
  9. <url>http://maven.apache.org</url>
  10. <scm>
  11. <connection>scm:git:https://github.com/AKuznetsov/russianmorphology.git</connection>
  12. <developerConnection>scm:git:git@github.com:AKuznetsov/russianmorphology.git</developerConnection>
  13. <url>https://github.com/AKuznetsov/russianmorphology</url>
  14. <tag>HEAD</tag>
  15. </scm>
  16. <properties>
  17. <lucene.version>8.0.0</lucene.version>
  18. <morphology.version>1.5</morphology.version>
  19. <junit.version>4.12</junit.version>
  20. </properties>
  21. <distributionManagement>
  22. <repository>
  23. <id>bintray</id>
  24. <url>https://api.bintray.com/maven/akuznetsov/russianmorphology/morphology</url>
  25. </repository>
  26. </distributionManagement>
  27. <licenses>
  28. <license>
  29. <name>Apache License, Version 2.0</name>
  30. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  31. <distribution>repo</distribution>
  32. </license>
  33. </licenses>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.apache.lucene</groupId>
  37. <artifactId>lucene-test-framework</artifactId>
  38. <version>${lucene.version}</version>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.hamcrest</groupId>
  43. <artifactId>hamcrest-all</artifactId>
  44. <version>1.1</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.lucene</groupId>
  49. <artifactId>lucene-core</artifactId>
  50. <version>${lucene.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.lucene</groupId>
  54. <artifactId>lucene-analyzers-common</artifactId>
  55. <version>${lucene.version}</version>
  56. </dependency>
  57. </dependencies>
  58. <repositories>
  59. <repository>
  60. <id>maven2-repository.dev.java.net</id>
  61. <name>Java.net Repository for Maven</name>
  62. <url>http://download.java.net/maven/2/</url>
  63. </repository>
  64. <repository>
  65. <id>bintray</id>
  66. <url>http://dl.bintray.com/akuznetsov/russianmorphology</url>
  67. <releases>
  68. <enabled>true</enabled>
  69. </releases>
  70. <snapshots>
  71. <enabled>false</enabled>
  72. </snapshots>
  73. </repository>
  74. </repositories>
  75. <pluginRepositories>
  76. <pluginRepository>
  77. <id>mc-release</id>
  78. <name>maven-license-plugin repository of releases</name>
  79. <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
  80. <snapshots>
  81. <enabled>false</enabled>
  82. </snapshots>
  83. <releases>
  84. <enabled>true</enabled>
  85. </releases>
  86. </pluginRepository>
  87. </pluginRepositories>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <artifactId>maven-release-plugin</artifactId>
  92. <version>2.5.3</version>
  93. <configuration>
  94. <useReleaseProfile>false</useReleaseProfile>
  95. <releaseProfiles>release</releaseProfiles>
  96. <autoVersionSubmodules>true</autoVersionSubmodules>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>3.7.0</version>
  103. <configuration>
  104. <source>1.8</source>
  105. <target>1.8</target>
  106. </configuration>
  107. </plugin>
  108. <plugin> <!-- usage: http://code.google.com/p/maven-license-plugin/wiki/HowTo -->
  109. <artifactId>maven-license-plugin</artifactId>
  110. <groupId>com.google.code.maven-license-plugin</groupId>
  111. <version>1.4.0</version>
  112. <configuration>
  113. <basedir>${project.parent.basedir}</basedir>
  114. <header>etc/header.txt</header>
  115. <excludes>
  116. <exclude>**/*.txt</exclude>
  117. <exclude>**/*.info</exclude>
  118. <exclude>**/pom.xml</exclude>
  119. </excludes>
  120. <includes>
  121. <include>**/src/**</include>
  122. </includes>
  123. </configuration>
  124. <executions>
  125. <execution>
  126. <phase>test</phase>
  127. <goals>
  128. <goal>check</goal>
  129. </goals>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. <profiles>
  136. <profile>
  137. <id>release</id>
  138. <build>
  139. <plugins>
  140. <plugin>
  141. <artifactId>maven-source-plugin</artifactId>
  142. <version>3.0.1</version>
  143. <executions>
  144. <execution>
  145. <id>attach-sources</id>
  146. <goals>
  147. <goal>jar</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <artifactId>maven-javadoc-plugin</artifactId>
  154. <version>2.10.4</version>
  155. <executions>
  156. <execution>
  157. <id>attach-javadocs</id>
  158. <goals>
  159. <goal>jar</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. </plugins>
  165. </build>
  166. </profile>
  167. </profiles>
  168. <modules>
  169. <module>morph</module>
  170. <module>dictionary-reader</module>
  171. <module>russian</module>
  172. <module>english</module>
  173. <module>solr-morphology-analysis</module>
  174. </modules>
  175. </project>