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

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