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.

pom.xml 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. -->
  20. <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">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva</groupId>
  24. <artifactId>archiva-rest</artifactId>
  25. <version>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-rest-services</artifactId>
  28. <name>Archiva Web :: REST support :: Services</name>
  29. <properties>
  30. <archiva.baseRestUrl />
  31. <rest.admin.pwd />
  32. <!--
  33. <redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
  34. <redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>
  35. -->
  36. <redbackTestJdbcUrl>jdbc:hsqldb:mem:redback-test</redbackTestJdbcUrl>
  37. <redbackTestJdbcDriver>org.hsqldb.jdbcDriver</redbackTestJdbcDriver>
  38. <site.staging.base>${project.parent.parent.parent.basedir}</site.staging.base>
  39. </properties>
  40. <dependencies>
  41. <dependency>
  42. <groupId>org.apache.archiva</groupId>
  43. <artifactId>archiva-security</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.archiva</groupId>
  47. <artifactId>archiva-repository-admin-api</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>metadata-model</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.archiva</groupId>
  55. <artifactId>archiva-configuration</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.archiva</groupId>
  59. <artifactId>archiva-scheduler-indexing</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>commons-logging</groupId>
  63. <artifactId>commons-logging-api</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.archiva</groupId>
  69. <artifactId>archiva-scheduler-indexing-maven2</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.apache.archiva</groupId>
  73. <artifactId>audit</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.archiva</groupId>
  77. <artifactId>generic-metadata-support</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.archiva</groupId>
  81. <artifactId>archiva-scheduler-repository</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.archiva</groupId>
  85. <artifactId>archiva-maven2-indexer</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.archiva</groupId>
  89. <artifactId>archiva-repository-layer</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.archiva</groupId>
  93. <artifactId>archiva-repository-scanner</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.archiva</groupId>
  97. <artifactId>archiva-maven2-model</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.archiva</groupId>
  101. <artifactId>archiva-model</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.jsoup</groupId>
  105. <artifactId>jsoup</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.archiva.redback</groupId>
  109. <artifactId>redback-authorization-api</artifactId>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>commons-logging</groupId>
  113. <artifactId>commons-logging</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.archiva.redback</groupId>
  119. <artifactId>redback-authentication-api</artifactId>
  120. <exclusions>
  121. <exclusion>
  122. <groupId>commons-logging</groupId>
  123. <artifactId>commons-logging</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.archiva.redback</groupId>
  129. <artifactId>redback-common-integrations</artifactId>
  130. <exclusions>
  131. <exclusion>
  132. <groupId>commons-logging</groupId>
  133. <artifactId>commons-logging</artifactId>
  134. </exclusion>
  135. <exclusion>
  136. <groupId>stax</groupId>
  137. <artifactId>stax-api</artifactId>
  138. </exclusion>
  139. </exclusions>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.archiva</groupId>
  143. <artifactId>archiva-rest-api</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.apache.archiva</groupId>
  147. <artifactId>archiva-proxy</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.archiva</groupId>
  151. <artifactId>stage-repository-merge</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.archiva.redback</groupId>
  155. <artifactId>redback-rest-services</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.archiva.redback</groupId>
  159. <artifactId>redback-rest-api</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.maven.wagon</groupId>
  163. <artifactId>wagon-http</artifactId>
  164. <scope>provided</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>commons-validator</groupId>
  168. <artifactId>commons-validator</artifactId>
  169. </dependency>
  170. <dependency>
  171. <groupId>oro</groupId>
  172. <artifactId>oro</artifactId>
  173. </dependency>
  174. <dependency>
  175. <groupId>javax.ws.rs</groupId>
  176. <artifactId>javax.ws.rs-api</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.modelmapper</groupId>
  180. <artifactId>modelmapper</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.codehaus.woodstox</groupId>
  184. <artifactId>woodstox-core-asl</artifactId>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  188. <artifactId>jackson-jaxrs-json-provider</artifactId>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  192. <artifactId>jackson-jaxrs-xml-provider</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.apache.cxf</groupId>
  196. <artifactId>cxf-rt-frontend-jaxrs</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.apache.cxf</groupId>
  200. <artifactId>cxf-rt-rs-extension-providers</artifactId>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.apache.cxf</groupId>
  204. <artifactId>cxf-rt-rs-client</artifactId>
  205. <scope>test</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.apache.archiva.redback</groupId>
  209. <artifactId>redback-rest-services</artifactId>
  210. <classifier>tests</classifier>
  211. <scope>test</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.archiva.redback</groupId>
  215. <artifactId>redback-common-test-resources</artifactId>
  216. <scope>test</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.springframework</groupId>
  220. <artifactId>spring-expression</artifactId>
  221. <exclusions>
  222. <exclusion>
  223. <groupId>commons-logging</groupId>
  224. <artifactId>commons-logging</artifactId>
  225. </exclusion>
  226. </exclusions>
  227. </dependency>
  228. <dependency>
  229. <groupId>junit</groupId>
  230. <artifactId>junit</artifactId>
  231. <scope>test</scope>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.springframework</groupId>
  235. <artifactId>spring-test</artifactId>
  236. <scope>test</scope>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.archiva</groupId>
  240. <artifactId>archiva-test-utils</artifactId>
  241. <version>${project.version}</version>
  242. <scope>test</scope>
  243. <exclusions>
  244. <exclusion>
  245. <groupId>org.slf4j</groupId>
  246. <artifactId>slf4j-simple</artifactId>
  247. </exclusion>
  248. </exclusions>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.springframework</groupId>
  252. <artifactId>spring-web</artifactId>
  253. <scope>test</scope>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.logging.log4j</groupId>
  257. <artifactId>log4j-1.2-api</artifactId>
  258. <scope>test</scope>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.apache.logging.log4j</groupId>
  262. <artifactId>log4j-slf4j-impl</artifactId>
  263. <scope>test</scope>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.slf4j</groupId>
  267. <artifactId>jul-to-slf4j</artifactId>
  268. <scope>test</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>javax.mail</groupId>
  272. <artifactId>mail</artifactId>
  273. <scope>test</scope>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.hsqldb</groupId>
  277. <artifactId>hsqldb</artifactId>
  278. <scope>test</scope>
  279. </dependency>
  280. <dependency>
  281. <groupId>org.apache.logging.log4j</groupId>
  282. <artifactId>log4j-jcl</artifactId>
  283. <scope>test</scope>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.apache.archiva.redback</groupId>
  287. <artifactId>redback-authentication-memory</artifactId>
  288. <scope>test</scope>
  289. <version>${redback.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.apache.archiva.redback</groupId>
  293. <artifactId>redback-keys-memory</artifactId>
  294. <scope>test</scope>
  295. <version>${redback.version}</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.apache.archiva.redback</groupId>
  299. <artifactId>redback-keys-jpa</artifactId>
  300. <scope>test</scope>
  301. <version>${redback.version}</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.archiva</groupId>
  305. <artifactId>metadata-store-jcr</artifactId>
  306. <scope>test</scope>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.apache.lucene</groupId>
  310. <artifactId>lucene-core</artifactId>
  311. <scope>test</scope>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.lucene</groupId>
  315. <artifactId>lucene-queries</artifactId>
  316. <scope>test</scope>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.apache.lucene</groupId>
  320. <artifactId>lucene-memory</artifactId>
  321. <scope>test</scope>
  322. </dependency>
  323. <dependency>
  324. <groupId>org.apache.lucene</groupId>
  325. <artifactId>lucene-highlighter</artifactId>
  326. <scope>test</scope>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.apache.archiva</groupId>
  330. <artifactId>archiva-repository-admin-default</artifactId>
  331. <scope>test</scope>
  332. </dependency>
  333. <dependency>
  334. <groupId>org.apache.maven.wagon</groupId>
  335. <artifactId>wagon-http-lightweight</artifactId>
  336. <scope>test</scope>
  337. </dependency>
  338. <dependency>
  339. <groupId>org.apache.archiva</groupId>
  340. <artifactId>archiva-test-mocks</artifactId>
  341. <scope>test</scope>
  342. </dependency>
  343. <dependency>
  344. <groupId>org.assertj</groupId>
  345. <artifactId>assertj-core</artifactId>
  346. <scope>test</scope>
  347. </dependency>
  348. <dependency>
  349. <groupId>org.eclipse.jetty</groupId>
  350. <artifactId>jetty-server</artifactId>
  351. <version>${jetty.version}</version>
  352. </dependency>
  353. <dependency>
  354. <groupId>org.eclipse.jetty</groupId>
  355. <artifactId>jetty-servlet</artifactId>
  356. <version>${jetty.version}</version>
  357. </dependency>
  358. <dependency>
  359. <groupId>xerces</groupId>
  360. <artifactId>xercesImpl</artifactId>
  361. <scope>test</scope>
  362. </dependency>
  363. <dependency>
  364. <groupId>org.apache.archiva</groupId>
  365. <artifactId>archiva-metadata-consumer</artifactId>
  366. <scope>test</scope>
  367. </dependency>
  368. <dependency>
  369. <groupId>javax.servlet</groupId>
  370. <artifactId>javax.servlet-api</artifactId>
  371. <scope>provided</scope>
  372. </dependency>
  373. <!-- Needed for JDK >= 9 -->
  374. <dependency>
  375. <groupId>javax.annotation</groupId>
  376. <artifactId>javax.annotation-api</artifactId>
  377. <scope>test</scope>
  378. </dependency>
  379. <dependency>
  380. <groupId>javax.xml.bind</groupId>
  381. <artifactId>jaxb-api</artifactId>
  382. <scope>test</scope>
  383. </dependency>
  384. <dependency>
  385. <groupId>org.glassfish.jaxb</groupId>
  386. <artifactId>jaxb-runtime</artifactId>
  387. <scope>test</scope>
  388. </dependency>
  389. </dependencies>
  390. <build>
  391. <pluginManagement>
  392. <plugins>
  393. <plugin>
  394. <groupId>org.apache.rat</groupId>
  395. <artifactId>apache-rat-plugin</artifactId>
  396. <configuration>
  397. <excludes>
  398. <exclude>src/test/repo-with-osgi/**</exclude>
  399. <exclude>src/test/repo-with-osgi-stage/**</exclude>
  400. <exclude>src/test/repo-with-classifier-only/**</exclude>
  401. <exclude>src/test/repo-with-snapshots/**</exclude>
  402. </excludes>
  403. </configuration>
  404. </plugin>
  405. </plugins>
  406. </pluginManagement>
  407. <plugins>
  408. <plugin>
  409. <groupId>org.apache.maven.plugins</groupId>
  410. <artifactId>maven-surefire-plugin</artifactId>
  411. <configuration>
  412. <forkCount>2</forkCount>
  413. <reuseForks>false</reuseForks>
  414. <includes>
  415. <include>**/*Tests.java</include>
  416. <include>**/*Test.java</include>
  417. </includes>
  418. <workingDirectory>${project.build.directory}/WDIR-${surefire.forkNumber}</workingDirectory>
  419. <trimStackTrace>false</trimStackTrace>
  420. <!--
  421. The property jdk.net.URLClassPath.disableClassPathURLCheck is a workaround for a regression
  422. with surefire and OpenJDK 8 181b13 on Debian/Ubuntu,
  423. @see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925
  424. -->
  425. <argLine>-Xms256m -Xmx512m -server -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
  426. <systemPropertyVariables>
  427. <mvn.project.base.dir>${project.basedir}</mvn.project.base.dir>
  428. <appserver.base>${project.build.directory}/appserver-base-${surefire.forkNumber}</appserver.base>
  429. <plexus.home>${project.build.directory}/appserver-base-${surefire.forkNumber}</plexus.home>
  430. <derby.system.home>${project.build.directory}/appserver-base-${surefire.forkNumber}</derby.system.home>
  431. <archiva.baseRestUrl>${archiva.baseRestUrl}</archiva.baseRestUrl>
  432. <rest.admin.pwd>${rest.admin.pwd}</rest.admin.pwd>
  433. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  434. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  435. <basedir>${basedir}</basedir>
  436. <builddir>${project.build.directory}</builddir>
  437. <org.apache.jackrabbit.maxCacheMemory>1</org.apache.jackrabbit.maxCacheMemory>
  438. <org.apache.jackrabbit.maxMemoryPerCache>1</org.apache.jackrabbit.maxMemoryPerCache>
  439. <!--org.apache.jackrabbit.minMemoryPerCache>1</org.apache.jackrabbit.minMemoryPerCache-->
  440. <archiva.repositorySessionFactory.id>jcr</archiva.repositorySessionFactory.id>
  441. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  442. <org.apache.jackrabbit.core.state.validatehierarchy>true</org.apache.jackrabbit.core.state.validatehierarchy>
  443. </systemPropertyVariables>
  444. </configuration>
  445. </plugin>
  446. </plugins>
  447. </build>
  448. </project>