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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  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"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>org.apache.archiva</groupId>
  25. <artifactId>archiva-web</artifactId>
  26. <version>1.4-M3-SNAPSHOT</version>
  27. </parent>
  28. <artifactId>archiva-webapp-js</artifactId>
  29. <packaging>war</packaging>
  30. <name>Archiva Web :: Javascript Application</name>
  31. <properties>
  32. <tomcatContextXml>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</tomcatContextXml>
  33. <tomcatRunPort>9091</tomcatRunPort>
  34. <tomcatRunPath>/archiva</tomcatRunPath>
  35. <archiva.devMode>true</archiva.devMode>
  36. <archiva.javascriptLog>true</archiva.javascriptLog>
  37. <archiva.logMissingI18n>true</archiva.logMissingI18n>
  38. </properties>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.apache.archiva</groupId>
  42. <artifactId>generic-metadata-support</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.archiva</groupId>
  46. <artifactId>npanday-support</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.archiva</groupId>
  50. <artifactId>repository-statistics</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.archiva</groupId>
  54. <artifactId>problem-reports</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.archiva</groupId>
  58. <artifactId>audit</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.archiva</groupId>
  62. <artifactId>archiva-scheduler-repository</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.archiva</groupId>
  66. <artifactId>archiva-indexer</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.archiva</groupId>
  70. <artifactId>archiva-repository-admin-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva</groupId>
  74. <artifactId>archiva-repository-admin-default</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.archiva</groupId>
  78. <artifactId>metadata-repository-api</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.archiva</groupId>
  82. <artifactId>metadata-store-jcr</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.jackrabbit</groupId>
  86. <artifactId>jackrabbit-core</artifactId>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>commons-logging</groupId>
  90. <artifactId>commons-logging</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-configuration</groupId>
  96. <artifactId>commons-configuration</artifactId>
  97. <exclusions>
  98. <exclusion>
  99. <groupId>commons-beanutils</groupId>
  100. <artifactId>commons-beanutils-core</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>commons-logging</groupId>
  104. <artifactId>commons-logging</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-digester</groupId>
  110. <artifactId>commons-digester</artifactId>
  111. <exclusions>
  112. <exclusion>
  113. <groupId>commons-logging</groupId>
  114. <artifactId>commons-logging</artifactId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-beanutils</groupId>
  120. <artifactId>commons-beanutils</artifactId>
  121. <exclusions>
  122. <exclusion>
  123. <groupId>commons-logging</groupId>
  124. <artifactId>commons-logging</artifactId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.velocity</groupId>
  130. <artifactId>velocity</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.velocity</groupId>
  134. <artifactId>velocity-tools</artifactId>
  135. <version>1.3</version>
  136. <scope>runtime</scope>
  137. <exclusions>
  138. <exclusion>
  139. <groupId>commons-logging</groupId>
  140. <artifactId>commons-logging</artifactId>
  141. </exclusion>
  142. <exclusion>
  143. <groupId>velocity</groupId>
  144. <artifactId>velocity-dep</artifactId>
  145. </exclusion>
  146. <exclusion>
  147. <groupId>velocity</groupId>
  148. <artifactId>velocity</artifactId>
  149. </exclusion>
  150. <exclusion>
  151. <groupId>struts</groupId>
  152. <artifactId>struts</artifactId>
  153. </exclusion>
  154. </exclusions>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.archiva</groupId>
  158. <!-- FIXME: temporary coupling to plugin, should be runtime -->
  159. <artifactId>maven2-repository</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.codehaus.plexus</groupId>
  163. <artifactId>plexus-slf4j-logging</artifactId>
  164. <scope>runtime</scope>
  165. <exclusions>
  166. <exclusion>
  167. <groupId>org.codehaus.plexus</groupId>
  168. <artifactId>plexus-component-api</artifactId>
  169. </exclusion>
  170. </exclusions>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.codehaus.plexus</groupId>
  174. <artifactId>plexus-utils</artifactId>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.maven.indexer</groupId>
  178. <artifactId>indexer-core</artifactId>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>org.codehaus.plexus</groupId>
  182. <artifactId>plexus-container-default</artifactId>
  183. </exclusion>
  184. <exclusion>
  185. <groupId>classworlds</groupId>
  186. <artifactId>classworlds</artifactId>
  187. </exclusion>
  188. <exclusion>
  189. <groupId>commons-logging</groupId>
  190. <artifactId>commons-logging</artifactId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>velocity</groupId>
  194. <artifactId>velocity-dep</artifactId>
  195. </exclusion>
  196. <exclusion>
  197. <groupId>org.apache.maven</groupId>
  198. <artifactId>maven-plugin-registry</artifactId>
  199. </exclusion>
  200. <exclusion>
  201. <groupId>org.apache.maven</groupId>
  202. <artifactId>maven-settings</artifactId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>com.google.code.atinject</groupId>
  206. <artifactId>atinject</artifactId>
  207. </exclusion>
  208. </exclusions>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.apache.archiva</groupId>
  212. <artifactId>archiva-proxy</artifactId>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.apache.maven.wagon</groupId>
  216. <artifactId>wagon-http</artifactId>
  217. <scope>runtime</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.maven.wagon</groupId>
  221. <artifactId>wagon-http-lightweight</artifactId>
  222. <scope>runtime</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.maven.wagon</groupId>
  226. <artifactId>wagon-file</artifactId>
  227. <scope>runtime</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.apache.archiva</groupId>
  231. <artifactId>archiva-repository-layer</artifactId>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.apache.archiva</groupId>
  235. <artifactId>archiva-xml-tools</artifactId>
  236. <exclusions>
  237. <exclusion>
  238. <groupId>xerces</groupId>
  239. <artifactId>xercesImpl</artifactId>
  240. </exclusion>
  241. </exclusions>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.apache.archiva</groupId>
  245. <artifactId>archiva-security</artifactId>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.apache.archiva</groupId>
  249. <artifactId>archiva-core-consumers</artifactId>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.archiva</groupId>
  253. <artifactId>archiva-configuration</artifactId>
  254. <!-- TODO uncomment when repository admin will be finished
  255. <scope>runtime</scope>
  256. -->
  257. </dependency>
  258. <dependency>
  259. <groupId>org.apache.archiva</groupId>
  260. <artifactId>archiva-metadata-consumer</artifactId>
  261. <scope>runtime</scope>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.apache.archiva</groupId>
  265. <artifactId>archiva-lucene-consumers</artifactId>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.apache.lucene</groupId>
  269. <artifactId>lucene-core</artifactId>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.lucene</groupId>
  273. <artifactId>lucene-queries</artifactId>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.apache.archiva</groupId>
  277. <artifactId>stage-repository-merge</artifactId>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.archiva</groupId>
  281. <artifactId>archiva-signature-consumers</artifactId>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.archiva</groupId>
  285. <artifactId>archiva-applet</artifactId>
  286. <!-- TODO: actually, just exclude from WAR plugin -->
  287. <scope>provided</scope>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.apache.archiva</groupId>
  291. <artifactId>archiva-rss</artifactId>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.apache.archiva</groupId>
  295. <artifactId>archiva-rest-services</artifactId>
  296. <exclusions>
  297. <exclusion>
  298. <groupId>org.eclipse.jetty</groupId>
  299. <artifactId>jetty-server</artifactId>
  300. </exclusion>
  301. <exclusion>
  302. <groupId>org.eclipse.jetty</groupId>
  303. <artifactId>jetty-continuation</artifactId>
  304. </exclusion>
  305. <exclusion>
  306. <groupId>org.eclipse.jetty</groupId>
  307. <artifactId>jetty-http</artifactId>
  308. </exclusion>
  309. <exclusion>
  310. <groupId>org.eclipse.jetty</groupId>
  311. <artifactId>jetty-io</artifactId>
  312. </exclusion>
  313. <exclusion>
  314. <groupId>org.eclipse.jetty</groupId>
  315. <artifactId>jetty-util</artifactId>
  316. </exclusion>
  317. <exclusion>
  318. <groupId>org.eclipse.jetty</groupId>
  319. <artifactId>jetty-security</artifactId>
  320. </exclusion>
  321. <exclusion>
  322. <groupId>commons-logging</groupId>
  323. <artifactId>commons-logging</artifactId>
  324. </exclusion>
  325. <exclusion>
  326. <groupId>org.apache.geronimo.specs</groupId>
  327. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  328. </exclusion>
  329. <exclusion>
  330. <groupId>org.apache.geronimo.specs</groupId>
  331. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  332. </exclusion>
  333. <exclusion>
  334. <groupId>org.apache.geronimo.specs</groupId>
  335. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  336. </exclusion>
  337. </exclusions>
  338. </dependency>
  339. <dependency>
  340. <groupId>org.apache.archiva</groupId>
  341. <artifactId>archiva-rest-api</artifactId>
  342. <exclusions>
  343. <exclusion>
  344. <groupId>org.eclipse.jetty</groupId>
  345. <artifactId>jetty-server</artifactId>
  346. </exclusion>
  347. <exclusion>
  348. <groupId>org.eclipse.jetty</groupId>
  349. <artifactId>jetty-continuation</artifactId>
  350. </exclusion>
  351. <exclusion>
  352. <groupId>org.eclipse.jetty</groupId>
  353. <artifactId>jetty-http</artifactId>
  354. </exclusion>
  355. <exclusion>
  356. <groupId>org.eclipse.jetty</groupId>
  357. <artifactId>jetty-io</artifactId>
  358. </exclusion>
  359. <exclusion>
  360. <groupId>org.eclipse.jetty</groupId>
  361. <artifactId>jetty-util</artifactId>
  362. </exclusion>
  363. <exclusion>
  364. <groupId>org.eclipse.jetty</groupId>
  365. <artifactId>jetty-security</artifactId>
  366. </exclusion>
  367. <exclusion>
  368. <groupId>commons-logging</groupId>
  369. <artifactId>commons-logging</artifactId>
  370. </exclusion>
  371. <exclusion>
  372. <groupId>org.apache.geronimo.specs</groupId>
  373. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  374. </exclusion>
  375. <exclusion>
  376. <groupId>org.apache.geronimo.specs</groupId>
  377. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  378. </exclusion>
  379. <exclusion>
  380. <groupId>org.apache.geronimo.specs</groupId>
  381. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  382. </exclusion>
  383. </exclusions>
  384. </dependency>
  385. <dependency>
  386. <groupId>javax.servlet</groupId>
  387. <artifactId>servlet-api</artifactId>
  388. <scope>provided</scope>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.apache.archiva</groupId>
  392. <artifactId>archiva-web-common</artifactId>
  393. </dependency>
  394. <dependency>
  395. <groupId>org.apache.archiva</groupId>
  396. <artifactId>archiva-webdav</artifactId>
  397. </dependency>
  398. <dependency>
  399. <groupId>jpox</groupId>
  400. <artifactId>jpox</artifactId>
  401. <exclusions>
  402. <exclusion>
  403. <groupId>javax.transaction</groupId>
  404. <artifactId>jta</artifactId>
  405. </exclusion>
  406. </exclusions>
  407. </dependency>
  408. <dependency>
  409. <groupId>jpox</groupId>
  410. <artifactId>jpox-ehcache</artifactId>
  411. <exclusions>
  412. <exclusion>
  413. <groupId>commons-logging</groupId>
  414. <artifactId>commons-logging</artifactId>
  415. </exclusion>
  416. <exclusion>
  417. <groupId>ehcache</groupId>
  418. <artifactId>ehcache</artifactId>
  419. </exclusion>
  420. </exclusions>
  421. </dependency>
  422. <dependency>
  423. <groupId>org.codehaus.redback.components.cache</groupId>
  424. <artifactId>spring-cache-ehcache</artifactId>
  425. <exclusions>
  426. <exclusion>
  427. <groupId>commons-logging</groupId>
  428. <artifactId>commons-logging</artifactId>
  429. </exclusion>
  430. </exclusions>
  431. </dependency>
  432. <dependency>
  433. <groupId>net.sf.ehcache</groupId>
  434. <artifactId>ehcache-core</artifactId>
  435. <exclusions>
  436. <exclusion>
  437. <groupId>commons-logging</groupId>
  438. <artifactId>commons-logging</artifactId>
  439. </exclusion>
  440. </exclusions>
  441. </dependency>
  442. <dependency>
  443. <groupId>org.codehaus.redback.components</groupId>
  444. <artifactId>spring-quartz</artifactId>
  445. </dependency>
  446. <dependency>
  447. <groupId>org.quartz-scheduler</groupId>
  448. <artifactId>quartz</artifactId>
  449. <exclusions>
  450. <exclusion>
  451. <groupId>c3p0</groupId>
  452. <artifactId>c3p0</artifactId>
  453. </exclusion>
  454. <exclusion>
  455. <groupId>javax.transaction</groupId>
  456. <artifactId>jta</artifactId>
  457. </exclusion>
  458. </exclusions>
  459. </dependency>
  460. <dependency>
  461. <groupId>org.codehaus.redback</groupId>
  462. <artifactId>redback-rest-services</artifactId>
  463. </dependency>
  464. <dependency>
  465. <groupId>org.codehaus.redback</groupId>
  466. <artifactId>redback-common-integrations</artifactId>
  467. <exclusions>
  468. <exclusion>
  469. <groupId>stax</groupId>
  470. <artifactId>stax-api</artifactId>
  471. </exclusion>
  472. </exclusions>
  473. </dependency>
  474. <dependency>
  475. <groupId>org.codehaus.redback</groupId>
  476. <artifactId>redback-integrations-security</artifactId>
  477. </dependency>
  478. <dependency>
  479. <groupId>org.slf4j</groupId>
  480. <artifactId>slf4j-log4j12</artifactId>
  481. <scope>runtime</scope>
  482. </dependency>
  483. <dependency>
  484. <groupId>org.slf4j</groupId>
  485. <artifactId>jcl-over-slf4j</artifactId>
  486. <scope>runtime</scope>
  487. </dependency>
  488. <dependency>
  489. <groupId>org.apache.cxf</groupId>
  490. <artifactId>cxf-bundle-jaxrs</artifactId>
  491. <exclusions>
  492. <exclusion>
  493. <groupId>org.eclipse.jetty</groupId>
  494. <artifactId>jetty-server</artifactId>
  495. </exclusion>
  496. <exclusion>
  497. <groupId>org.apache.geronimo.specs</groupId>
  498. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  499. </exclusion>
  500. <exclusion>
  501. <groupId>org.apache.geronimo.specs</groupId>
  502. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  503. </exclusion>
  504. </exclusions>
  505. </dependency>
  506. <dependency>
  507. <groupId>org.springframework</groupId>
  508. <artifactId>spring-core</artifactId>
  509. </dependency>
  510. <dependency>
  511. <groupId>org.springframework</groupId>
  512. <artifactId>spring-web</artifactId>
  513. </dependency>
  514. </dependencies>
  515. <build>
  516. <resources>
  517. <resource>
  518. <directory>src/main/resources</directory>
  519. </resource>
  520. </resources>
  521. <plugins>
  522. <plugin>
  523. <groupId>org.apache.tomcat.maven</groupId>
  524. <artifactId>tomcat6-maven-plugin</artifactId>
  525. <configuration>
  526. <port>${tomcatRunPort}</port>
  527. <path>${tomcatRunPath}</path>
  528. <contextFile>${tomcatContextXml}</contextFile>
  529. <systemProperties>
  530. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  531. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  532. <appserver.home>${project.build.directory}/appserver-home</appserver.home>
  533. <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
  534. <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties
  535. </redback.admin.creation.file>
  536. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  537. <archiva.user.configFileName>${project.build.directory}/appserver-base/conf/archiva.xml</archiva.user.configFileName>
  538. <archiva.devMode>${archiva.devMode}</archiva.devMode>
  539. <archiva.javascriptLog>${archiva.javascriptLog}</archiva.javascriptLog>
  540. <archiva.logMissingI18n>${archiva.logMissingI18n}</archiva.logMissingI18n>
  541. </systemProperties>
  542. <additionalClasspathDirs>
  543. <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>
  544. </additionalClasspathDirs>
  545. </configuration>
  546. <dependencies>
  547. <dependency>
  548. <groupId>org.apache.derby</groupId>
  549. <artifactId>derby</artifactId>
  550. <version>${derbyVersion}</version>
  551. </dependency>
  552. <dependency>
  553. <groupId>javax.mail</groupId>
  554. <artifactId>mail</artifactId>
  555. <version>${javaxMailVersion}</version>
  556. </dependency>
  557. </dependencies>
  558. </plugin>
  559. <plugin>
  560. <groupId>org.apache.tomcat.maven</groupId>
  561. <artifactId>tomcat7-maven-plugin</artifactId>
  562. <configuration>
  563. <port>${tomcatRunPort}</port>
  564. <path>${tomcatRunPath}</path>
  565. <contextFile>${tomcatContextXml}</contextFile>
  566. <systemProperties>
  567. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  568. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  569. <appserver.home>${project.build.directory}/appserver-home</appserver.home>
  570. <derby.system.home>${project.build.directory}/appserver-base/logs</derby.system.home>
  571. <redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file>
  572. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  573. <archiva.user.configFileName>${project.build.directory}/appserver-base/conf/archiva.xml</archiva.user.configFileName>
  574. <archiva.devMode>${archiva.devMode}</archiva.devMode>
  575. <archiva.javascriptLog>${archiva.javascriptLog}</archiva.javascriptLog>
  576. <archiva.logMissingI18n>${archiva.logMissingI18n}</archiva.logMissingI18n>
  577. </systemProperties>
  578. <additionalClasspathDirs>
  579. <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>
  580. </additionalClasspathDirs>
  581. </configuration>
  582. <dependencies>
  583. <dependency>
  584. <groupId>org.apache.derby</groupId>
  585. <artifactId>derby</artifactId>
  586. <version>${derbyVersion}</version>
  587. </dependency>
  588. <dependency>
  589. <groupId>javax.mail</groupId>
  590. <artifactId>mail</artifactId>
  591. <version>${javaxMailVersion}</version>
  592. </dependency>
  593. </dependencies>
  594. </plugin>
  595. <plugin>
  596. <groupId>org.apache.maven.plugins</groupId>
  597. <artifactId>maven-antrun-plugin</artifactId>
  598. <executions>
  599. <execution>
  600. <phase>generate-resources</phase>
  601. <goals>
  602. <goal>run</goal>
  603. </goals>
  604. <configuration>
  605. <tasks>
  606. <mkdir dir="${project.build.directory}/appserver-base/conf"/>
  607. </tasks>
  608. </configuration>
  609. </execution>
  610. </executions>
  611. </plugin>
  612. </plugins>
  613. </build>
  614. <profiles>
  615. <profile>
  616. <!-- profile for dev an log output in the console -->
  617. <id>dev</id>
  618. <build>
  619. <plugins>
  620. <plugin>
  621. <artifactId>maven-antrun-plugin</artifactId>
  622. <executions>
  623. <execution>
  624. <id>override-log4j-with-console-output</id>
  625. <phase>process-resources</phase>
  626. <goals>
  627. <goal>run</goal>
  628. </goals>
  629. <configuration>
  630. <tasks>
  631. <copy overwrite="true" file="${basedir}/src/test/tomcat/auto-admin-creation.properties"
  632. todir="${basedir}/target/"/>
  633. </tasks>
  634. </configuration>
  635. </execution>
  636. </executions>
  637. </plugin>
  638. </plugins>
  639. </build>
  640. </profile>
  641. </profiles>
  642. </project>