Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pom.xml 34KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  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-web</artifactId>
  25. <version>2.2.11-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-webapp</artifactId>
  28. <packaging>war</packaging>
  29. <name>Archiva Web :: Javascript Application</name>
  30. <properties>
  31. <tomcatContextXml>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</tomcatContextXml>
  32. <tomcatRunPort>9091</tomcatRunPort>
  33. <tomcatRunPath>/archiva</tomcatRunPath>
  34. <archiva.devMode>true</archiva.devMode>
  35. <archiva.javascriptLog>true</archiva.javascriptLog>
  36. <archiva.logMissingI18n>true</archiva.logMissingI18n>
  37. <archivaAppServerBase>${project.build.directory}/appserver-base</archivaAppServerBase>
  38. <archiva.baseRestUrl />
  39. <rest.admin.pwd />
  40. <test.useTomcat>false</test.useTomcat>
  41. <archiva.groupIndexTtl>30</archiva.groupIndexTtl>
  42. <archiva.sirona.configuration />
  43. <archiva.repositorySessionFactory.id>jcr</archiva.repositorySessionFactory.id>
  44. <cassandra.host>localhost</cassandra.host>
  45. <cassandra.port>9160</cassandra.port>
  46. <tomcat7Version>7.0.76</tomcat7Version>
  47. </properties>
  48. <dependencies>
  49. <dependency>
  50. <groupId>org.apache.archiva</groupId>
  51. <artifactId>generic-metadata-support</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.archiva</groupId>
  55. <artifactId>repository-statistics</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.archiva</groupId>
  59. <artifactId>problem-reports</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.archiva</groupId>
  63. <artifactId>audit</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.archiva</groupId>
  67. <artifactId>archiva-scheduler-repository</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva</groupId>
  71. <artifactId>archiva-indexer</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.archiva</groupId>
  75. <artifactId>archiva-filelock</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva</groupId>
  79. <artifactId>archiva-repository-admin-api</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.lmax</groupId>
  83. <artifactId>disruptor</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.eclipse.sisu</groupId>
  87. <artifactId>org.eclipse.sisu.plexus</artifactId>
  88. <exclusions>
  89. <exclusion>
  90. <groupId>org.sonatype.sisu</groupId>
  91. <artifactId>sisu-guice</artifactId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.inject</groupId>
  97. <artifactId>guice</artifactId>
  98. <classifier>no_aop</classifier>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.google.guava</groupId>
  102. <artifactId>guava</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.archiva</groupId>
  106. <artifactId>archiva-repository-admin-default</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.archiva</groupId>
  110. <artifactId>metadata-repository-api</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.archiva</groupId>
  114. <artifactId>metadata-store-jcr</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.archiva</groupId>
  118. <artifactId>metadata-store-file</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.archiva</groupId>
  122. <artifactId>metadata-store-cassandra</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.jackrabbit</groupId>
  126. <artifactId>jackrabbit-jcr-commons</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.jackrabbit</groupId>
  130. <artifactId>jackrabbit-core</artifactId>
  131. <exclusions>
  132. <exclusion>
  133. <groupId>commons-logging</groupId>
  134. <artifactId>commons-logging</artifactId>
  135. </exclusion>
  136. <exclusion>
  137. <groupId>org.slf4j</groupId>
  138. <artifactId>jcl-over-slf4j</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <groupId>commons-dbcp</groupId>
  142. <artifactId>commons-dbcp</artifactId>
  143. </exclusion>
  144. </exclusions>
  145. </dependency>
  146. <dependency>
  147. <groupId>commons-configuration</groupId>
  148. <artifactId>commons-configuration</artifactId>
  149. <exclusions>
  150. <exclusion>
  151. <groupId>commons-beanutils</groupId>
  152. <artifactId>commons-beanutils-core</artifactId>
  153. </exclusion>
  154. <exclusion>
  155. <groupId>commons-logging</groupId>
  156. <artifactId>commons-logging</artifactId>
  157. </exclusion>
  158. </exclusions>
  159. </dependency>
  160. <dependency>
  161. <groupId>commons-digester</groupId>
  162. <artifactId>commons-digester</artifactId>
  163. <exclusions>
  164. <exclusion>
  165. <groupId>commons-logging</groupId>
  166. <artifactId>commons-logging</artifactId>
  167. </exclusion>
  168. </exclusions>
  169. </dependency>
  170. <dependency>
  171. <groupId>commons-beanutils</groupId>
  172. <artifactId>commons-beanutils</artifactId>
  173. <exclusions>
  174. <exclusion>
  175. <groupId>commons-logging</groupId>
  176. <artifactId>commons-logging</artifactId>
  177. </exclusion>
  178. </exclusions>
  179. </dependency>
  180. <dependency>
  181. <groupId>commons-io</groupId>
  182. <artifactId>commons-io</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.apache.velocity</groupId>
  186. <artifactId>velocity</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.apache.velocity</groupId>
  190. <artifactId>velocity-tools</artifactId>
  191. <version>1.3</version>
  192. <scope>runtime</scope>
  193. <exclusions>
  194. <exclusion>
  195. <groupId>commons-logging</groupId>
  196. <artifactId>commons-logging</artifactId>
  197. </exclusion>
  198. <exclusion>
  199. <groupId>velocity</groupId>
  200. <artifactId>velocity-dep</artifactId>
  201. </exclusion>
  202. <exclusion>
  203. <groupId>velocity</groupId>
  204. <artifactId>velocity</artifactId>
  205. </exclusion>
  206. <exclusion>
  207. <groupId>struts</groupId>
  208. <artifactId>struts</artifactId>
  209. </exclusion>
  210. <exclusion>
  211. <groupId>javax.servlet</groupId>
  212. <artifactId>servlet-api</artifactId>
  213. </exclusion>
  214. </exclusions>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.apache.archiva</groupId>
  218. <!-- FIXME: temporary coupling to plugin, should be runtime -->
  219. <artifactId>maven2-repository</artifactId>
  220. <exclusions>
  221. <exclusion>
  222. <groupId>commons-logging</groupId>
  223. <artifactId>commons-logging-api</artifactId>
  224. </exclusion>
  225. <exclusion>
  226. <groupId>log4j</groupId>
  227. <artifactId>log4j</artifactId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.codehaus.plexus</groupId>
  233. <artifactId>plexus-slf4j-logging</artifactId>
  234. <scope>runtime</scope>
  235. <exclusions>
  236. <exclusion>
  237. <groupId>org.codehaus.plexus</groupId>
  238. <artifactId>plexus-component-api</artifactId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.codehaus.plexus</groupId>
  244. <artifactId>plexus-utils</artifactId>
  245. </dependency>
  246. <!-- normally not needed as we are 1.6 required
  247. but due to http://jira.codehaus.org/browse/MODELLO-266
  248. and we use stax reader produced by modello
  249. ibm jdk stax impl won't work with
  250. -->
  251. <dependency>
  252. <groupId>org.codehaus.woodstox</groupId>
  253. <artifactId>woodstox-core-asl</artifactId>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.ant</groupId>
  257. <artifactId>ant</artifactId>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.maven.indexer</groupId>
  261. <artifactId>indexer-core</artifactId>
  262. <exclusions>
  263. <exclusion>
  264. <groupId>org.codehaus.plexus</groupId>
  265. <artifactId>plexus-container-default</artifactId>
  266. </exclusion>
  267. <exclusion>
  268. <groupId>classworlds</groupId>
  269. <artifactId>classworlds</artifactId>
  270. </exclusion>
  271. <exclusion>
  272. <groupId>commons-logging</groupId>
  273. <artifactId>commons-logging</artifactId>
  274. </exclusion>
  275. <exclusion>
  276. <groupId>velocity</groupId>
  277. <artifactId>velocity-dep</artifactId>
  278. </exclusion>
  279. <exclusion>
  280. <groupId>org.apache.maven</groupId>
  281. <artifactId>maven-plugin-registry</artifactId>
  282. </exclusion>
  283. <exclusion>
  284. <groupId>org.apache.maven</groupId>
  285. <artifactId>maven-settings</artifactId>
  286. </exclusion>
  287. <exclusion>
  288. <groupId>com.google.code.atinject</groupId>
  289. <artifactId>atinject</artifactId>
  290. </exclusion>
  291. </exclusions>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.apache.archiva</groupId>
  295. <artifactId>archiva-proxy</artifactId>
  296. <exclusions>
  297. <exclusion>
  298. <groupId>commons-logging</groupId>
  299. <artifactId>commons-logging-api</artifactId>
  300. </exclusion>
  301. </exclusions>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.maven.wagon</groupId>
  305. <artifactId>wagon-http</artifactId>
  306. <scope>runtime</scope>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.apache.maven.wagon</groupId>
  310. <artifactId>wagon-http-lightweight</artifactId>
  311. <scope>runtime</scope>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.maven.wagon</groupId>
  315. <artifactId>wagon-file</artifactId>
  316. <scope>runtime</scope>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.sonatype.aether</groupId>
  320. <artifactId>aether-api</artifactId>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.sonatype.aether</groupId>
  324. <artifactId>aether-impl</artifactId>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.sonatype.aether</groupId>
  328. <artifactId>aether-util</artifactId>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.sonatype.aether</groupId>
  332. <artifactId>aether-connector-file</artifactId>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.apache.httpcomponents</groupId>
  336. <artifactId>httpclient</artifactId>
  337. <exclusions>
  338. <exclusion>
  339. <groupId>commons-logging</groupId>
  340. <artifactId>commons-logging</artifactId>
  341. </exclusion>
  342. </exclusions>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.apache.httpcomponents</groupId>
  346. <artifactId>httpcore</artifactId>
  347. <exclusions>
  348. <exclusion>
  349. <groupId>commons-logging</groupId>
  350. <artifactId>commons-logging</artifactId>
  351. </exclusion>
  352. </exclusions>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.apache.archiva</groupId>
  356. <artifactId>archiva-repository-layer</artifactId>
  357. </dependency>
  358. <dependency>
  359. <groupId>org.apache.archiva</groupId>
  360. <artifactId>archiva-xml-tools</artifactId>
  361. <exclusions>
  362. <exclusion>
  363. <groupId>xerces</groupId>
  364. <artifactId>xercesImpl</artifactId>
  365. </exclusion>
  366. </exclusions>
  367. </dependency>
  368. <dependency>
  369. <groupId>org.apache.archiva</groupId>
  370. <artifactId>archiva-security</artifactId>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.apache.archiva</groupId>
  374. <artifactId>archiva-core-consumers</artifactId>
  375. </dependency>
  376. <dependency>
  377. <groupId>org.apache.archiva</groupId>
  378. <artifactId>archiva-configuration</artifactId>
  379. <!-- TODO uncomment when repository admin will be finished
  380. <scope>runtime</scope>
  381. -->
  382. </dependency>
  383. <dependency>
  384. <groupId>org.apache.archiva</groupId>
  385. <artifactId>archiva-metadata-consumer</artifactId>
  386. <scope>runtime</scope>
  387. </dependency>
  388. <dependency>
  389. <groupId>org.apache.archiva</groupId>
  390. <artifactId>archiva-lucene-consumers</artifactId>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.apache.lucene</groupId>
  394. <artifactId>lucene-core</artifactId>
  395. </dependency>
  396. <dependency>
  397. <groupId>org.apache.lucene</groupId>
  398. <artifactId>lucene-queries</artifactId>
  399. </dependency>
  400. <dependency>
  401. <groupId>org.apache.lucene</groupId>
  402. <artifactId>lucene-memory</artifactId>
  403. </dependency>
  404. <dependency>
  405. <groupId>org.apache.lucene</groupId>
  406. <artifactId>lucene-highlighter</artifactId>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.apache.archiva</groupId>
  410. <artifactId>stage-repository-merge</artifactId>
  411. </dependency>
  412. <dependency>
  413. <groupId>org.apache.archiva</groupId>
  414. <artifactId>archiva-signature-consumers</artifactId>
  415. </dependency>
  416. <dependency>
  417. <groupId>org.apache.archiva</groupId>
  418. <artifactId>archiva-rss</artifactId>
  419. </dependency>
  420. <dependency>
  421. <groupId>org.apache.archiva</groupId>
  422. <artifactId>archiva-rest-services</artifactId>
  423. <exclusions>
  424. <exclusion>
  425. <groupId>org.eclipse.jetty</groupId>
  426. <artifactId>jetty-server</artifactId>
  427. </exclusion>
  428. <exclusion>
  429. <groupId>org.eclipse.jetty</groupId>
  430. <artifactId>jetty-continuation</artifactId>
  431. </exclusion>
  432. <exclusion>
  433. <groupId>org.eclipse.jetty</groupId>
  434. <artifactId>jetty-http</artifactId>
  435. </exclusion>
  436. <exclusion>
  437. <groupId>org.eclipse.jetty</groupId>
  438. <artifactId>jetty-io</artifactId>
  439. </exclusion>
  440. <exclusion>
  441. <groupId>org.eclipse.jetty</groupId>
  442. <artifactId>jetty-util</artifactId>
  443. </exclusion>
  444. <exclusion>
  445. <groupId>org.eclipse.jetty</groupId>
  446. <artifactId>jetty-security</artifactId>
  447. </exclusion>
  448. <exclusion>
  449. <groupId>commons-logging</groupId>
  450. <artifactId>commons-logging</artifactId>
  451. </exclusion>
  452. <exclusion>
  453. <groupId>org.apache.geronimo.specs</groupId>
  454. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  455. </exclusion>
  456. <exclusion>
  457. <groupId>org.apache.geronimo.specs</groupId>
  458. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  459. </exclusion>
  460. <exclusion>
  461. <groupId>org.apache.geronimo.specs</groupId>
  462. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  463. </exclusion>
  464. </exclusions>
  465. </dependency>
  466. <dependency>
  467. <groupId>org.apache.archiva.redback.components.registry</groupId>
  468. <artifactId>spring-registry-api</artifactId>
  469. </dependency>
  470. <dependency>
  471. <groupId>org.apache.archiva.redback.components.registry</groupId>
  472. <artifactId>spring-registry-commons</artifactId>
  473. <exclusions>
  474. <exclusion>
  475. <groupId>ant</groupId>
  476. <artifactId>ant-optional</artifactId>
  477. </exclusion>
  478. <exclusion>
  479. <groupId>jdom</groupId>
  480. <artifactId>jdom</artifactId>
  481. </exclusion>
  482. <exclusion>
  483. <groupId>commons-logging</groupId>
  484. <artifactId>commons-logging-api</artifactId>
  485. </exclusion>
  486. <exclusion>
  487. <groupId>commons-logging</groupId>
  488. <artifactId>commons-logging</artifactId>
  489. </exclusion>
  490. </exclusions>
  491. </dependency>
  492. <dependency>
  493. <groupId>org.apache.archiva</groupId>
  494. <artifactId>archiva-rest-api</artifactId>
  495. <exclusions>
  496. <exclusion>
  497. <groupId>org.eclipse.jetty</groupId>
  498. <artifactId>jetty-server</artifactId>
  499. </exclusion>
  500. <exclusion>
  501. <groupId>org.eclipse.jetty</groupId>
  502. <artifactId>jetty-continuation</artifactId>
  503. </exclusion>
  504. <exclusion>
  505. <groupId>org.eclipse.jetty</groupId>
  506. <artifactId>jetty-http</artifactId>
  507. </exclusion>
  508. <exclusion>
  509. <groupId>org.eclipse.jetty</groupId>
  510. <artifactId>jetty-io</artifactId>
  511. </exclusion>
  512. <exclusion>
  513. <groupId>org.eclipse.jetty</groupId>
  514. <artifactId>jetty-util</artifactId>
  515. </exclusion>
  516. <exclusion>
  517. <groupId>org.eclipse.jetty</groupId>
  518. <artifactId>jetty-security</artifactId>
  519. </exclusion>
  520. <exclusion>
  521. <groupId>commons-logging</groupId>
  522. <artifactId>commons-logging</artifactId>
  523. </exclusion>
  524. <exclusion>
  525. <groupId>org.apache.geronimo.specs</groupId>
  526. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  527. </exclusion>
  528. <exclusion>
  529. <groupId>org.apache.geronimo.specs</groupId>
  530. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  531. </exclusion>
  532. <exclusion>
  533. <groupId>org.apache.geronimo.specs</groupId>
  534. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  535. </exclusion>
  536. </exclusions>
  537. </dependency>
  538. <dependency>
  539. <groupId>org.apache.archiva</groupId>
  540. <artifactId>archiva-web-common</artifactId>
  541. <exclusions>
  542. <exclusion>
  543. <groupId>javax.servlet</groupId>
  544. <artifactId>servlet-api</artifactId>
  545. </exclusion>
  546. </exclusions>
  547. </dependency>
  548. <dependency>
  549. <groupId>org.apache.archiva</groupId>
  550. <artifactId>archiva-webdav</artifactId>
  551. <exclusions>
  552. <exclusion>
  553. <groupId>javax.servlet</groupId>
  554. <artifactId>servlet-api</artifactId>
  555. </exclusion>
  556. <exclusion>
  557. <groupId>org.slf4j</groupId>
  558. <artifactId>jcl-over-slf4j</artifactId>
  559. </exclusion>
  560. </exclusions>
  561. </dependency>
  562. <dependency>
  563. <groupId>cglib</groupId>
  564. <artifactId>cglib</artifactId>
  565. </dependency>
  566. <dependency>
  567. <groupId>jpox</groupId>
  568. <artifactId>jpox</artifactId>
  569. <exclusions>
  570. <exclusion>
  571. <groupId>javax.transaction</groupId>
  572. <artifactId>jta</artifactId>
  573. </exclusion>
  574. <exclusion>
  575. <groupId>log4j</groupId>
  576. <artifactId>log4j</artifactId>
  577. </exclusion>
  578. </exclusions>
  579. </dependency>
  580. <dependency>
  581. <groupId>jpox</groupId>
  582. <artifactId>jpox-ehcache</artifactId>
  583. <exclusions>
  584. <exclusion>
  585. <groupId>commons-logging</groupId>
  586. <artifactId>commons-logging</artifactId>
  587. </exclusion>
  588. <exclusion>
  589. <groupId>ehcache</groupId>
  590. <artifactId>ehcache</artifactId>
  591. </exclusion>
  592. <exclusion>
  593. <groupId>log4j</groupId>
  594. <artifactId>log4j</artifactId>
  595. </exclusion>
  596. </exclusions>
  597. </dependency>
  598. <dependency>
  599. <groupId>org.apache.archiva.redback.components.cache</groupId>
  600. <artifactId>spring-cache-ehcache</artifactId>
  601. <exclusions>
  602. <exclusion>
  603. <groupId>commons-logging</groupId>
  604. <artifactId>commons-logging</artifactId>
  605. </exclusion>
  606. </exclusions>
  607. </dependency>
  608. <dependency>
  609. <groupId>net.sf.ehcache</groupId>
  610. <artifactId>ehcache</artifactId>
  611. <exclusions>
  612. <exclusion>
  613. <groupId>commons-logging</groupId>
  614. <artifactId>commons-logging</artifactId>
  615. </exclusion>
  616. </exclusions>
  617. </dependency>
  618. <dependency>
  619. <groupId>org.apache.archiva.redback.components</groupId>
  620. <artifactId>spring-quartz</artifactId>
  621. </dependency>
  622. <dependency>
  623. <groupId>org.quartz-scheduler</groupId>
  624. <artifactId>quartz</artifactId>
  625. <exclusions>
  626. <exclusion>
  627. <groupId>c3p0</groupId>
  628. <artifactId>c3p0</artifactId>
  629. </exclusion>
  630. <exclusion>
  631. <groupId>javax.transaction</groupId>
  632. <artifactId>jta</artifactId>
  633. </exclusion>
  634. </exclusions>
  635. </dependency>
  636. <dependency>
  637. <groupId>org.apache.archiva.redback</groupId>
  638. <artifactId>redback-rbac-ldap</artifactId>
  639. </dependency>
  640. <dependency>
  641. <groupId>org.apache.archiva.redback</groupId>
  642. <artifactId>redback-rest-services</artifactId>
  643. </dependency>
  644. <dependency>
  645. <groupId>org.apache.archiva.redback</groupId>
  646. <artifactId>redback-common-integrations</artifactId>
  647. <exclusions>
  648. <exclusion>
  649. <groupId>stax</groupId>
  650. <artifactId>stax-api</artifactId>
  651. </exclusion>
  652. </exclusions>
  653. </dependency>
  654. <dependency>
  655. <groupId>org.apache.archiva.redback</groupId>
  656. <artifactId>redback-integrations-security</artifactId>
  657. </dependency>
  658. <dependency>
  659. <groupId>org.slf4j</groupId>
  660. <artifactId>jcl-over-slf4j</artifactId>
  661. <scope>provided</scope>
  662. </dependency>
  663. <dependency>
  664. <groupId>org.slf4j</groupId>
  665. <artifactId>slf4j-ext</artifactId>
  666. </dependency>
  667. <dependency>
  668. <groupId>commons-logging</groupId>
  669. <artifactId>commons-logging</artifactId>
  670. <scope>runtime</scope>
  671. </dependency>
  672. <dependency>
  673. <groupId>org.apache.logging.log4j</groupId>
  674. <artifactId>log4j-1.2-api</artifactId>
  675. <scope>runtime</scope>
  676. </dependency>
  677. <dependency>
  678. <groupId>org.apache.logging.log4j</groupId>
  679. <artifactId>log4j-slf4j-impl</artifactId>
  680. <scope>runtime</scope>
  681. </dependency>
  682. <dependency>
  683. <groupId>org.apache.logging.log4j</groupId>
  684. <artifactId>log4j-jcl</artifactId>
  685. <scope>runtime</scope>
  686. </dependency>
  687. <dependency>
  688. <groupId>org.apache.cxf</groupId>
  689. <artifactId>cxf-rt-frontend-jaxrs</artifactId>
  690. </dependency>
  691. <dependency>
  692. <groupId>org.apache.cxf</groupId>
  693. <artifactId>cxf-rt-rs-extension-providers</artifactId>
  694. </dependency>
  695. <dependency>
  696. <groupId>org.springframework</groupId>
  697. <artifactId>spring-core</artifactId>
  698. </dependency>
  699. <dependency>
  700. <groupId>org.springframework</groupId>
  701. <artifactId>spring-web</artifactId>
  702. </dependency>
  703. <dependency>
  704. <groupId>org.jsoup</groupId>
  705. <artifactId>jsoup</artifactId>
  706. </dependency>
  707. <!-- we need to force xalan version for IBM servers.. MRM-1803 -->
  708. <dependency>
  709. <groupId>xalan</groupId>
  710. <artifactId>xalan</artifactId>
  711. </dependency>
  712. <dependency>
  713. <groupId>org.apache.archiva</groupId>
  714. <artifactId>archiva-test-mocks</artifactId>
  715. <scope>test</scope>
  716. </dependency>
  717. <dependency>
  718. <groupId>org.apache.archiva.redback</groupId>
  719. <artifactId>redback-rest-services</artifactId>
  720. <classifier>tests</classifier>
  721. <scope>test</scope>
  722. </dependency>
  723. <dependency>
  724. <groupId>javax.mail</groupId>
  725. <artifactId>mail</artifactId>
  726. <scope>test</scope>
  727. </dependency>
  728. <dependency>
  729. <groupId>org.apache.archiva</groupId>
  730. <artifactId>archiva-test-utils</artifactId>
  731. <version>${project.version}</version>
  732. <scope>test</scope>
  733. <exclusions>
  734. <exclusion>
  735. <groupId>org.slf4j</groupId>
  736. <artifactId>slf4j-simple</artifactId>
  737. </exclusion>
  738. <exclusion>
  739. <groupId>org.springframework</groupId>
  740. <artifactId>spring-test</artifactId>
  741. </exclusion>
  742. </exclusions>
  743. </dependency>
  744. <dependency>
  745. <groupId>org.springframework</groupId>
  746. <artifactId>spring-test</artifactId>
  747. <scope>test</scope>
  748. </dependency>
  749. </dependencies>
  750. <build>
  751. <resources>
  752. <resource>
  753. <directory>src/main/resources</directory>
  754. </resource>
  755. </resources>
  756. <pluginManagement>
  757. <plugins>
  758. <plugin>
  759. <groupId>org.apache.rat</groupId>
  760. <artifactId>apache-rat-plugin</artifactId>
  761. <configuration>
  762. <excludes>
  763. <exclude>nbactions.xml</exclude>
  764. <exclude>src/main/webapp/css/*.css</exclude>
  765. <exclude>src/main/webapp/js/*.js</exclude>
  766. <exclude>src/site/resources/css/*.css</exclude>
  767. <exclude>src/site/resources/js/*.js</exclude>
  768. <exclude>src/test/repositories/test-repo/**</exclude>
  769. <exclude>src/main/resources/META-INF/services/*</exclude>
  770. <exclude>src/main/resources/META-INF/cxf/*</exclude>
  771. </excludes>
  772. </configuration>
  773. </plugin>
  774. </plugins>
  775. </pluginManagement>
  776. <plugins>
  777. <plugin>
  778. <groupId>org.apache.tomcat.maven</groupId>
  779. <artifactId>tomcat7-maven-plugin</artifactId>
  780. <configuration>
  781. <port>${tomcatRunPort}</port>
  782. <path>${tomcatRunPath}</path>
  783. <contextFile>${tomcatContextXml}</contextFile>
  784. <useTestClasspath>false</useTestClasspath>
  785. <systemProperties>
  786. <plexus.home>${archivaAppServerBase}</plexus.home>
  787. <appserver.base>${archivaAppServerBase}</appserver.base>
  788. <appserver.home>${archivaAppServerBase}</appserver.home>
  789. <derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
  790. <!-- remove admin auto creation that must be tested too -->
  791. <!--redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file-->
  792. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  793. <archiva.user.configFileName>${archivaAppServerBase}/conf/archiva.xml</archiva.user.configFileName>
  794. <archiva.devMode>${archiva.devMode}</archiva.devMode>
  795. <archiva.javascriptLog>${archiva.javascriptLog}</archiva.javascriptLog>
  796. <archiva.logMissingI18n>${archiva.logMissingI18n}</archiva.logMissingI18n>
  797. <cassandra.host>${cassandra.host}</cassandra.host>
  798. <cassandra.port>${cassandra.port}</cassandra.port>
  799. <archiva.repositorySessionFactory.id>${archiva.repositorySessionFactory.id}</archiva.repositorySessionFactory.id>
  800. <org.apache.sirona.configuration.sirona.properties>${archiva.sirona.configuration}</org.apache.sirona.configuration.sirona.properties>
  801. <AsyncLoggerConfig.WaitStrategy>Block</AsyncLoggerConfig.WaitStrategy>
  802. <AsyncLogger.WaitStrategy>Block</AsyncLogger.WaitStrategy>
  803. <tomcat.util.scan.DefaultJarScanner.jarsToSkip>log4j-*.jar</tomcat.util.scan.DefaultJarScanner.jarsToSkip>
  804. </systemProperties>
  805. <additionalClasspathDirs>
  806. <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>
  807. </additionalClasspathDirs>
  808. </configuration>
  809. <dependencies>
  810. <dependency>
  811. <groupId>org.apache.derby</groupId>
  812. <artifactId>derby</artifactId>
  813. <version>${derbyVersion}</version>
  814. </dependency>
  815. <dependency>
  816. <groupId>javax.mail</groupId>
  817. <artifactId>mail</artifactId>
  818. <version>${javaxMailVersion}</version>
  819. </dependency>
  820. <!-- insane but needed because of this https://bz.apache.org/bugzilla/show_bug.cgi?id=60688 -->
  821. <dependency>
  822. <groupId>org.apache.tomcat.embed</groupId>
  823. <artifactId>tomcat-embed-core</artifactId>
  824. <version>${tomcat7Version}</version>
  825. </dependency>
  826. <dependency>
  827. <groupId>org.apache.tomcat</groupId>
  828. <artifactId>tomcat-util</artifactId>
  829. <version>${tomcat7Version}</version>
  830. </dependency>
  831. <dependency>
  832. <groupId>org.apache.tomcat</groupId>
  833. <artifactId>tomcat-coyote</artifactId>
  834. <version>${tomcat7Version}</version>
  835. </dependency>
  836. <dependency>
  837. <groupId>org.apache.tomcat</groupId>
  838. <artifactId>tomcat-api</artifactId>
  839. <version>${tomcat7Version}</version>
  840. </dependency>
  841. <dependency>
  842. <groupId>org.apache.tomcat</groupId>
  843. <artifactId>tomcat-jdbc</artifactId>
  844. <version>${tomcat7Version}</version>
  845. </dependency>
  846. <dependency>
  847. <groupId>org.apache.tomcat</groupId>
  848. <artifactId>tomcat-dbcp</artifactId>
  849. <version>${tomcat7Version}</version>
  850. </dependency>
  851. <dependency>
  852. <groupId>org.apache.tomcat</groupId>
  853. <artifactId>tomcat-servlet-api</artifactId>
  854. <version>${tomcat7Version}</version>
  855. </dependency>
  856. <dependency>
  857. <groupId>org.apache.tomcat</groupId>
  858. <artifactId>tomcat-jsp-api</artifactId>
  859. <version>${tomcat7Version}</version>
  860. </dependency>
  861. <dependency>
  862. <groupId>org.apache.tomcat</groupId>
  863. <artifactId>tomcat-jasper</artifactId>
  864. <version>${tomcat7Version}</version>
  865. </dependency>
  866. <dependency>
  867. <groupId>org.apache.tomcat</groupId>
  868. <artifactId>tomcat-jasper-el</artifactId>
  869. <version>${tomcat7Version}</version>
  870. </dependency>
  871. <dependency>
  872. <groupId>org.apache.tomcat</groupId>
  873. <artifactId>tomcat-el-api</artifactId>
  874. <version>${tomcat7Version}</version>
  875. </dependency>
  876. <dependency>
  877. <groupId>org.apache.tomcat</groupId>
  878. <artifactId>tomcat-catalina</artifactId>
  879. <version>${tomcat7Version}</version>
  880. </dependency>
  881. <dependency>
  882. <groupId>org.apache.tomcat</groupId>
  883. <artifactId>tomcat-tribes</artifactId>
  884. <version>${tomcat7Version}</version>
  885. </dependency>
  886. <dependency>
  887. <groupId>org.apache.tomcat</groupId>
  888. <artifactId>tomcat-catalina-ha</artifactId>
  889. <version>${tomcat7Version}</version>
  890. </dependency>
  891. <dependency>
  892. <groupId>org.apache.tomcat</groupId>
  893. <artifactId>tomcat-annotations-api</artifactId>
  894. <version>${tomcat7Version}</version>
  895. </dependency>
  896. <!-- tomcat i18n too ?? -->
  897. <!-- not sure we need that -->
  898. <dependency>
  899. <groupId>org.apache.tomcat</groupId>
  900. <artifactId>tomcat-juli</artifactId>
  901. <version>${tomcat7Version}</version>
  902. </dependency>
  903. <dependency>
  904. <groupId>org.apache.tomcat.embed</groupId>
  905. <artifactId>tomcat-embed-logging-juli</artifactId>
  906. <version>${tomcat7Version}</version>
  907. </dependency>
  908. <dependency>
  909. <groupId>org.apache.tomcat.embed</groupId>
  910. <artifactId>tomcat-embed-logging-log4j</artifactId>
  911. <version>${tomcat7Version}</version>
  912. </dependency>
  913. </dependencies>
  914. </plugin>
  915. <plugin>
  916. <groupId>org.apache.maven.plugins</groupId>
  917. <artifactId>maven-antrun-plugin</artifactId>
  918. <executions>
  919. <execution>
  920. <phase>generate-resources</phase>
  921. <goals>
  922. <goal>run</goal>
  923. </goals>
  924. <configuration>
  925. <target>
  926. <mkdir dir="${project.build.directory}/appserver-base/conf" />
  927. </target>
  928. </configuration>
  929. </execution>
  930. </executions>
  931. </plugin>
  932. <plugin>
  933. <groupId>org.apache.maven.plugins</groupId>
  934. <artifactId>maven-surefire-plugin</artifactId>
  935. <configuration>
  936. <systemPropertyVariables>
  937. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  938. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  939. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  940. <archiva.baseRestUrl>${archiva.baseRestUrl}</archiva.baseRestUrl>
  941. <rest.admin.pwd>${rest.admin.pwd}</rest.admin.pwd>
  942. <test.useTomcat>${test.useTomcat}</test.useTomcat>
  943. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  944. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  945. </systemPropertyVariables>
  946. </configuration>
  947. </plugin>
  948. <plugin>
  949. <groupId>org.apache.maven.plugins</groupId>
  950. <artifactId>maven-war-plugin</artifactId>
  951. <configuration>
  952. <archive>
  953. <manifest>
  954. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  955. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  956. </manifest>
  957. </archive>
  958. <webResources>
  959. <webResource>
  960. <directory>.</directory>
  961. <includes>
  962. <include>LICENSE</include>
  963. </includes>
  964. </webResource>
  965. <webResource>
  966. <directory>${project.build.directory}/maven-shared-archive-resources/META-INF/</directory>
  967. <includes>
  968. <include>NOTICE</include>
  969. </includes>
  970. </webResource>
  971. </webResources>
  972. </configuration>
  973. </plugin>
  974. </plugins>
  975. </build>
  976. <profiles>
  977. <profile>
  978. <id>cassandra</id>
  979. <properties>
  980. <archiva.repositorySessionFactory.id>cassandra</archiva.repositorySessionFactory.id>
  981. </properties>
  982. </profile>
  983. </profiles>
  984. </project>