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

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