pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.mantis.library</groupId>
  6. <artifactId>solr-client</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>solr-client</name>
  10. <licenses>
  11. <license>
  12. <name>Apache License, Version 2.0</name>
  13. <url>https://github.com/fmarslan/notifyman/blob/master/LICENSE</url>
  14. <comments>A business-friendly OSS license</comments>
  15. </license>
  16. </licenses>
  17. <organization>
  18. <name>Tarsolution</name>
  19. <url>https://tarsolution.com</url>
  20. </organization>
  21. <contributors>
  22. <contributor>
  23. <name>Fatih Mehmet ARSLAN</name>
  24. <email>contact@fmarslan.com</email>
  25. <url>https://fmarslan.com</url>
  26. <organization>Mantis</organization>
  27. <organizationUrl>http://mantis.com.tr</organizationUrl>
  28. <roles>
  29. <role>developer</role>
  30. </roles>
  31. <timezone>Turkey (GMT+3)</timezone>
  32. </contributor>
  33. <contributor>
  34. <name>Derya Pelin Deniz</name>
  35. <email>deryapelindenizzz@gmail.com</email>
  36. <organization>Mantis</organization>
  37. <organizationUrl>http://mantis.com.tr</organizationUrl>
  38. <roles>
  39. <role>developer</role>
  40. </roles>
  41. <timezone>Turkey (GMT+3)</timezone>
  42. </contributor>
  43. </contributors>
  44. <properties>
  45. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  46. <java.version>11</java.version>
  47. <solr-solrj.version>8.8.1</solr-solrj.version>
  48. <slf4j.version>2.0.0-alpha1</slf4j.version>
  49. <maven.source.plugin.version>3.0.1</maven.source.plugin.version>
  50. <nexus.staging.maven.plugin>1.6.8</nexus.staging.maven.plugin>
  51. <gpg.plugin.version>1.6</gpg.plugin.version>
  52. <gpg.plugin.disabled>true</gpg.plugin.disabled>
  53. </properties>
  54. <build>
  55. <sourceDirectory>src/main/java</sourceDirectory>
  56. <resources>
  57. <resource>
  58. <directory>src/main/resources</directory>
  59. </resource>
  60. </resources>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-compiler-plugin</artifactId>
  65. <version>3.1</version>
  66. <configuration>
  67. <source>${java.version}</source>
  68. <target>${java.version}</target>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-source-plugin</artifactId>
  74. <version>${maven.source.plugin.version}</version>
  75. <executions>
  76. <execution>
  77. <id>attach-sources</id>
  78. <goals>
  79. <goal>jar</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-gpg-plugin</artifactId>
  87. <version>${gpg.plugin.version}</version>
  88. <executions>
  89. <execution>
  90. <id>sign-artifacts</id>
  91. <phase>verify</phase>
  92. <goals>
  93. <goal>sign</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. <configuration>
  98. <skip>${gpg.plugin.disabled}</skip>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.sonatype.plugins</groupId>
  103. <artifactId>nexus-staging-maven-plugin</artifactId>
  104. <version>${nexus.staging.maven.plugin}</version>
  105. <extensions>true</extensions>
  106. <configuration>
  107. <serverId>oss-repo</serverId>
  108. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  109. <autoReleaseAfterClose>${auto.release.after.close}</autoReleaseAfterClose>
  110. </configuration>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-surefire-plugin</artifactId>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-javadoc-plugin</artifactId>
  119. <executions>
  120. <execution>
  121. <id>attach-javadocs</id>
  122. <goals>
  123. <goal>jar</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. <repositories>
  131. <repository>
  132. <snapshots>
  133. <enabled>true</enabled>
  134. </snapshots>
  135. <id>mantis-local</id>
  136. <name>mantis-local</name>
  137. <url>http://nexus.mantam.com.tr/repository/local-cache/</url>
  138. </repository>
  139. </repositories>
  140. <distributionManagement>
  141. <snapshotRepository>
  142. <id>oss-repo</id>
  143. <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  144. </snapshotRepository>
  145. <repository>
  146. <id>oss-repo</id>
  147. <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  148. </repository>
  149. </distributionManagement>
  150. <dependencies>
  151. <dependency>
  152. <groupId>org.apache.solr</groupId>
  153. <artifactId>solr-solrj</artifactId>
  154. <version>${solr-solrj.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.slf4j</groupId>
  158. <artifactId>slf4j-api</artifactId>
  159. <version>${slf4j.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.slf4j</groupId>
  163. <artifactId>slf4j-log4j12</artifactId>
  164. <version>${slf4j.version}</version>
  165. <scope>runtime</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.slf4j</groupId>
  169. <artifactId>jcl-over-slf4j</artifactId>
  170. <version>${slf4j.version}</version>
  171. </dependency>
  172. </dependencies>
  173. </project>