Simple, JSR330-compatible Dependency Injection.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

212 lines
5.4KB

  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"
  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. <parent>
  6. <groupId>org.perfectable</groupId>
  7. <artifactId>perfectable</artifactId>
  8. <version>25</version>
  9. </parent>
  10. <artifactId>injectable</artifactId>
  11. <version>3.0.0-SNAPSHOT</version>
  12. <name>Injectable</name>
  13. <description>Easy dependency injection</description>
  14. <url>https://perfectable.org/</url>
  15. <inceptionYear>2016</inceptionYear>
  16. <licenses>
  17. <license>
  18. <name>GNU General Public License</name>
  19. <url>http://www.gnu.org/licenses/gpl.txt</url>
  20. <distribution>repo</distribution>
  21. </license>
  22. </licenses>
  23. <developers>
  24. <developer>
  25. <id>nivertius</id>
  26. <name>Paweł Płazieński</name>
  27. <email>nivertius@gmail.com</email>
  28. <roles>
  29. <role>Developer</role>
  30. </roles>
  31. </developer>
  32. </developers>
  33. <scm>
  34. <connection>scm:git:https://source.perfectable.org/nivertius/injectable.git</connection>
  35. <developerConnection>scm:git:git@source.perfectable.org:nivertius/injectable.git</developerConnection>
  36. <tag>HEAD</tag>
  37. </scm>
  38. <properties>
  39. <version.introspectable>4.0.0</version.introspectable>
  40. <version.testable>1.2.0</version.testable>
  41. </properties>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.perfectable</groupId>
  45. <artifactId>introspectable</artifactId>
  46. <version>${version.introspectable}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.google.errorprone</groupId>
  50. <artifactId>error_prone_annotations</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.google.guava</groupId>
  54. <artifactId>guava</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.google.code.findbugs</groupId>
  58. <artifactId>jsr305</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>javax.inject</groupId>
  62. <artifactId>javax.inject</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.assertj</groupId>
  66. <artifactId>assertj-core</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.junit.jupiter</groupId>
  71. <artifactId>junit-jupiter-api</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.perfectable</groupId>
  76. <artifactId>testable</artifactId>
  77. <version>${version.testable}</version>
  78. <scope>test</scope>
  79. <exclusions>
  80. <exclusion>
  81. <groupId>org.perfectable</groupId>
  82. <artifactId>introspectable</artifactId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.google.auto.service</groupId>
  88. <artifactId>auto-service</artifactId>
  89. <scope>test</scope>
  90. <optional>true</optional>
  91. </dependency>
  92. <dependency>
  93. <!-- for tck-tests -->
  94. <groupId>junit</groupId>
  95. <artifactId>junit</artifactId>
  96. <version>4.7</version>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>javax.inject</groupId>
  101. <artifactId>javax.inject-tck</artifactId>
  102. <version>1</version>
  103. <scope>test</scope>
  104. </dependency>
  105. </dependencies>
  106. <repositories>
  107. <repository>
  108. <id>perfectable-all</id>
  109. <name>Perfectable</name>
  110. <url>https://maven.perfectable.org/repo</url>
  111. </repository>
  112. </repositories>
  113. <pluginRepositories>
  114. <pluginRepository>
  115. <id>perfectable-all</id>
  116. <name>Perfectable</name>
  117. <url>https://maven.perfectable.org/repo</url>
  118. </pluginRepository>
  119. </pluginRepositories>
  120. <build>
  121. <pluginManagement>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-dependency-plugin</artifactId>
  126. <configuration>
  127. <ignoredUnusedDeclaredDependencies>
  128. <!-- used for compilation, disappears after it -->
  129. <dependency>com.google.auto.service:auto-service</dependency>
  130. </ignoredUnusedDeclaredDependencies>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. </pluginManagement>
  135. <plugins>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-compiler-plugin</artifactId>
  139. <executions>
  140. <execution>
  141. <id>default-testCompile</id>
  142. <configuration>
  143. <annotationProcessorPaths combine.children="append">
  144. <path>
  145. <groupId>com.google.auto.service</groupId>
  146. <artifactId>auto-service</artifactId>
  147. <version>${version.autoservice}</version>
  148. </path>
  149. </annotationProcessorPaths>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-source-plugin</artifactId>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.jacoco</groupId>
  160. <artifactId>jacoco-maven-plugin</artifactId>
  161. <configuration>
  162. <rules>
  163. <rule>
  164. <element>BUNDLE</element>
  165. <limits>
  166. <limit>
  167. <counter>COMPLEXITY</counter>
  168. <value>COVEREDRATIO</value>
  169. <minimum>0.59</minimum>
  170. </limit>
  171. </limits>
  172. </rule>
  173. </rules>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-checkstyle-plugin</artifactId>
  179. <executions>
  180. <execution>
  181. <id>check-javadoc</id>
  182. <phase>none</phase>
  183. </execution>
  184. </executions>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-pmd-plugin</artifactId>
  189. <executions>
  190. <execution>
  191. <id>check-javadoc</id>
  192. <phase>none</phase>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </project>