Minimalistic Maven repository manager
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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>23</version>
  9. </parent>
  10. <artifactId>repositable</artifactId>
  11. <version>1.5.1-SNAPSHOT</version>
  12. <name>Repositable</name>
  13. <description>Minimalistic Maven repository manager</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/repositable.git</connection>
  35. <developerConnection>scm:git:git@source.perfectable.org:nivertius/repositable.git</developerConnection>
  36. <tag>HEAD</tag>
  37. </scm>
  38. <properties>
  39. <webable.version>2.0.0</webable.version>
  40. <testable.version>1.5.0</testable.version>
  41. </properties>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.perfectable</groupId>
  45. <artifactId>webable-api</artifactId>
  46. <version>${webable.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.perfectable</groupId>
  50. <artifactId>webable-handler</artifactId>
  51. <version>${webable.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.perfectable</groupId>
  55. <artifactId>webable-undertow</artifactId>
  56. <version>${webable.version}</version>
  57. <scope>runtime</scope>
  58. </dependency>
  59. <!-- common -->
  60. <dependency>
  61. <groupId>com.google.guava</groupId>
  62. <artifactId>guava</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.code.findbugs</groupId>
  66. <artifactId>jsr305</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.slf4j</groupId>
  70. <artifactId>slf4j-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>ch.qos.logback</groupId>
  74. <artifactId>logback-classic</artifactId>
  75. <scope>runtime</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>javax.servlet</groupId>
  79. <artifactId>javax.servlet-api</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>javax.xml.bind</groupId>
  83. <artifactId>jaxb-api</artifactId>
  84. </dependency>
  85. <!-- maven -->
  86. <dependency>
  87. <groupId>org.apache.maven</groupId>
  88. <artifactId>maven-repository-metadata</artifactId>
  89. <version>3.3.3</version>
  90. </dependency>
  91. <!-- tests -->
  92. <dependency>
  93. <groupId>org.junit.jupiter</groupId>
  94. <artifactId>junit-jupiter-api</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.perfectable</groupId>
  99. <artifactId>testable</artifactId>
  100. <version>${testable.version}</version>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.assertj</groupId>
  105. <artifactId>assertj-core</artifactId>
  106. <scope>test</scope>
  107. </dependency>
  108. </dependencies>
  109. <repositories>
  110. <repository>
  111. <id>perfectable-all</id>
  112. <name>Perfectable</name>
  113. <url>https://maven.perfectable.org/repo</url>
  114. </repository>
  115. </repositories>
  116. <pluginRepositories>
  117. <pluginRepository>
  118. <id>perfectable-all</id>
  119. <name>Perfectable</name>
  120. <url>https://maven.perfectable.org/repo</url>
  121. </pluginRepository>
  122. </pluginRepositories>
  123. <build>
  124. <pluginManagement>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-checkstyle-plugin</artifactId>
  129. <configuration>
  130. <includeTestSourceDirectory>false</includeTestSourceDirectory>
  131. </configuration>
  132. </plugin>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-pmd-plugin</artifactId>
  136. <configuration>
  137. <includeTests>false</includeTests>
  138. </configuration>
  139. </plugin>
  140. <plugin>
  141. <groupId>org.codehaus.mojo</groupId>
  142. <artifactId>findbugs-maven-plugin</artifactId>
  143. <configuration>
  144. <includeTests>false</includeTests>
  145. </configuration>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-dependency-plugin</artifactId>
  150. <configuration>
  151. <usedDependencies>
  152. <usedDependency>org.perfectable:webable-undertow</usedDependency>
  153. <usedDependency>ch.qos.logback:logback-classic</usedDependency>
  154. </usedDependencies>
  155. </configuration>
  156. </plugin>
  157. </plugins>
  158. </pluginManagement>
  159. <plugins>
  160. <plugin>
  161. <artifactId>maven-assembly-plugin</artifactId>
  162. <configuration>
  163. <descriptorRefs>
  164. <descriptorRef>jar-with-dependencies</descriptorRef>
  165. </descriptorRefs>
  166. <archive>
  167. <manifest>
  168. <mainClass>org.perfectable.repositable.Server</mainClass>
  169. </manifest>
  170. </archive>
  171. </configuration>
  172. <executions>
  173. <execution>
  174. <goals>
  175. <goal>single</goal>
  176. </goals>
  177. <phase>package</phase>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.codehaus.mojo</groupId>
  183. <artifactId>exec-maven-plugin</artifactId>
  184. <configuration>
  185. <mainClass>org.perfectable.repositable.Server</mainClass>
  186. </configuration>
  187. <executions>
  188. <execution>
  189. <goals>
  190. <goal>java</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.jacoco</groupId>
  197. <artifactId>jacoco-maven-plugin</artifactId>
  198. <configuration>
  199. <rules>
  200. <rule>
  201. <element>BUNDLE</element>
  202. <limits>
  203. <limit>
  204. <counter>COMPLEXITY</counter>
  205. <value>COVEREDRATIO</value>
  206. <minimum>0.60</minimum>
  207. </limit>
  208. </limits>
  209. </rule>
  210. </rules>
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <groupId>io.fabric8</groupId>
  215. <artifactId>docker-maven-plugin</artifactId>
  216. <version>0.31.0</version>
  217. <configuration>
  218. <images>
  219. <image>
  220. <alias>${project.artifactId}</alias>
  221. <name>perfectable/${project.artifactId}:${project.version}</name>
  222. <build>
  223. <from>openjdk:8-alpine</from>
  224. <assembly>
  225. <name>app</name>
  226. <inline>
  227. <files>
  228. <file>
  229. <source>${project.build.directory}/${project.build.finalName}-jar-with-dependencies.jar</source>
  230. <destName>${project.artifactId}.jar</destName>
  231. </file>
  232. </files>
  233. </inline>
  234. </assembly>
  235. <workdir>/repository/</workdir>
  236. <cmd>
  237. <shell>java -jar /app/${project.artifactId}.jar /etc/repositable.conf.xml</shell>
  238. </cmd>
  239. </build>
  240. </image>
  241. </images>
  242. </configuration>
  243. </plugin>
  244. </plugins>
  245. </build>
  246. </project>