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 34KB

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