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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. <parent>
  22. <groupId>org.apache.archiva</groupId>
  23. <artifactId>archiva-base</artifactId>
  24. <version>2.2.0</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>archiva-filelock</artifactId>
  28. <packaging>bundle</packaging>
  29. <name>Archiva Base :: FileLock</name>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.springframework</groupId>
  33. <artifactId>spring-context</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>commons-logging</groupId>
  37. <artifactId>commons-logging</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>commons-lang</groupId>
  43. <artifactId>commons-lang</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>javax.inject</groupId>
  47. <artifactId>javax.inject</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>slf4j-api</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.logging.log4j</groupId>
  55. <artifactId>log4j-jcl</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.googlecode.multithreadedtc</groupId>
  60. <artifactId>multithreadedtc</artifactId>
  61. <version>1.01</version>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.logging.log4j</groupId>
  66. <artifactId>log4j-slf4j-impl</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.logging.log4j</groupId>
  71. <artifactId>log4j-core</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>commons-io</groupId>
  76. <artifactId>commons-io</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.apache.felix</groupId>
  89. <artifactId>maven-bundle-plugin</artifactId>
  90. <configuration>
  91. <instructions>
  92. <Bundle-SymbolicName>org.apache.archiva.common</Bundle-SymbolicName>
  93. <Bundle-Version>${project.version}</Bundle-Version>
  94. <Export-Package>
  95. org.apache.archiva.common*;version=${project.version}
  96. </Export-Package>
  97. <Import-Package>
  98. org.slf4j,
  99. org.springframework.stereotype,
  100. org.springframework.util,
  101. org.apache.commons.lang.time
  102. </Import-Package>
  103. </instructions>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-surefire-plugin</artifactId>
  109. <configuration>
  110. <!-- jvm holds lock on file so use a new one per test -->
  111. <reuseForks>false</reuseForks>
  112. <systemPropertyVariables>
  113. <buildDirectory>${project.build.directory}</buildDirectory>
  114. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  115. </systemPropertyVariables>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. <pluginManagement>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.apache.rat</groupId>
  123. <artifactId>apache-rat-plugin</artifactId>
  124. <configuration>
  125. <excludes>
  126. </excludes>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </pluginManagement>
  131. </build>
  132. </project>