Permalink
Browse files

Reshuffling indexer modules and dependency updates.

* Project is still java5 ;)
* CLI extracted into separate module to make easier dependency handling (those needed by lib vs those needed by cli)
* dependencies bumped/aligned with Maven

git-svn-id: https://svn.apache.org/repos/asf/maven/indexer/trunk@1386555 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 96e7193 commit 094c6f337ee959527309dd8d93a7ef0f4806caa3 @cstamas cstamas committed Sep 17, 2012
Showing with 2,529 additions and 45 deletions.
  1. +8 −0 indexer-artifact/pom.xml
  2. +2 −0 indexer-cli/NOTICE
  3. +27 −0 indexer-cli/README.md
  4. +17 −0 indexer-cli/header.txt
  5. +204 −0 indexer-cli/pom.xml
  6. 0 {indexer-core → indexer-cli}/src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java
  7. 0 {indexer-core → indexer-cli}/src/main/java/org/apache/maven/index/cli/PartialImplementation.java
  8. +42 −0 indexer-cli/src/site/site.xml
  9. 0 ...xer-core → indexer-cli}/src/test/java/org/apache/maven/index/cli/AbstractNexusIndexerCliTest.java
  10. 0 {indexer-core → indexer-cli}/src/test/java/org/apache/maven/index/cli/NexusIndexerCliIT.java
  11. 0 {indexer-core → indexer-cli}/src/test/java/org/apache/maven/index/cli/NexusIndexerCliTest.java
  12. +2 −0 indexer-cli/src/test/repo/brokenjar/brokenjar/1.0/brokenjar-1.0.jar
  13. +8 −0 indexer-cli/src/test/repo/brokenjar/brokenjar/1.0/brokenjar-1.0.pom
  14. BIN indexer-cli/src/test/repo/ch/marcus-schulte/maven/hivedoc-plugin/1.0.0/hivedoc-plugin-1.0.0.jar
  15. +94 −0 indexer-cli/src/test/repo/ch/marcus-schulte/maven/hivedoc-plugin/1.0.0/hivedoc-plugin-1.0.0.pom
  16. +7 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/0.90/flexunit-0.90.pom
  17. +1 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/0.90/flexunit-0.90.pom.md5
  18. +1 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/0.90/flexunit-0.90.pom.sha1
  19. BIN indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/0.90/flexunit-0.90.swc
  20. +1 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/0.90/flexunit-0.90.swc.md5
  21. +1 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/0.90/flexunit-0.90.swc.sha1
  22. +13 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/maven-metadata.xml
  23. +1 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/maven-metadata.xml.md5
  24. +1 −0 indexer-cli/src/test/repo/com/adobe/flexunit/flexunit/maven-metadata.xml.sha1
  25. BIN indexer-cli/src/test/repo/commons-cli/commons-cli/1.0/commons-cli-1.0-sources.jar
  26. +1 −0 indexer-cli/src/test/repo/commons-cli/commons-cli/1.0/commons-cli-1.0-sources.jar.sha1
  27. BIN indexer-cli/src/test/repo/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
  28. +1 −0 indexer-cli/src/test/repo/commons-cli/commons-cli/1.0/commons-cli-1.0.jar.sha1
  29. +76 −0 indexer-cli/src/test/repo/commons-cli/commons-cli/1.0/commons-cli-1.0.pom
  30. +1 −0 indexer-cli/src/test/repo/commons-cli/commons-cli/1.0/commons-cli-1.0.pom.sha1
  31. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1-javadoc.jar
  32. +1 −0 ...xer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1-javadoc.jar.md5
  33. +1 −0 ...er-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1-javadoc.jar.sha1
  34. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1.jar
  35. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1.jar.md5
  36. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1.jar.sha1
  37. +30 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1.pom
  38. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1.pom.md5
  39. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/commons-logging-1.0.1.pom.sha1
  40. +5 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/maven-metadata.xml
  41. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/maven-metadata.xml.md5
  42. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.1/maven-metadata.xml.sha1
  43. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2-javadoc.jar
  44. +1 −0 ...xer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2-javadoc.jar.md5
  45. +1 −0 ...er-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2-javadoc.jar.sha1
  46. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.jar
  47. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.jar.md5
  48. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.jar.sha1
  49. +30 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.pom
  50. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.pom.md5
  51. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/commons-logging-1.0.2.pom.sha1
  52. +5 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/maven-metadata.xml
  53. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/maven-metadata.xml.md5
  54. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.2/maven-metadata.xml.sha1
  55. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3-javadoc.jar
  56. +1 −0 ...xer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3-javadoc.jar.md5
  57. +1 −0 ...er-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3-javadoc.jar.sha1
  58. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar
  59. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar.md5
  60. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar.sha1
  61. +31 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
  62. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom.md5
  63. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom.sha1
  64. +5 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/maven-metadata.xml
  65. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/maven-metadata.xml.md5
  66. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.3/maven-metadata.xml.sha1
  67. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-javadoc.jar
  68. +1 −0 ...xer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-javadoc.jar.md5
  69. +1 −0 ...er-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-javadoc.jar.sha1
  70. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar
  71. +1 −0 ...xer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar.md5
  72. +1 −0 ...er-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar.sha1
  73. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
  74. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar.md5
  75. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar.sha1
  76. +165 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
  77. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.md5
  78. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom.sha1
  79. +5 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/maven-metadata.xml
  80. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/maven-metadata.xml.md5
  81. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0.4/maven-metadata.xml.sha1
  82. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0-javadoc.jar
  83. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0-javadoc.jar.md5
  84. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0-javadoc.jar.sha1
  85. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0.jar
  86. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0.jar.md5
  87. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0.jar.sha1
  88. +6 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0.pom
  89. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0.pom.md5
  90. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/commons-logging-1.0.pom.sha1
  91. +5 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/maven-metadata.xml
  92. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/maven-metadata.xml.md5
  93. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.0/maven-metadata.xml.sha1
  94. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar
  95. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar.md5
  96. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar.sha1
  97. BIN indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
  98. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1.jar.md5
  99. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1.jar.sha1
  100. +191 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1.pom
  101. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1.pom.md5
  102. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/commons-logging-1.1.pom.sha1
  103. +5 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/maven-metadata.xml
  104. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/maven-metadata.xml.md5
  105. +1 −0 indexer-cli/src/test/repo/commons-logging/commons-logging/1.1/maven-metadata.xml.sha1
  106. +15 −0 indexer-cli/src/test/repo/commons-logging/maven-metadata.xml
  107. +1 −0 indexer-cli/src/test/repo/commons-logging/maven-metadata.xml.md5
  108. +1 −0 indexer-cli/src/test/repo/commons-logging/maven-metadata.xml.sha1
  109. BIN indexer-cli/src/test/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
  110. +1 −0 indexer-cli/src/test/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar.sha1
  111. +6 −0 indexer-cli/src/test/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
  112. +1 −0 indexer-cli/src/test/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom.sha1
  113. BIN indexer-cli/src/test/repo/junit/junit-4.4-javadoc.jar
  114. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4-javadoc.jar.md5
  115. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4-javadoc.jar.sha1
  116. BIN indexer-cli/src/test/repo/junit/junit-4.4-sources.jar
  117. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4-sources.jar.md5
  118. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4-sources.jar.sha1
  119. BIN indexer-cli/src/test/repo/junit/junit-4.4.jar
  120. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4.jar.md5
  121. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4.jar.sha1
  122. +36 −0 indexer-cli/src/test/repo/junit/junit-4.4.pom
  123. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4.pom.md5
  124. +1 −0 indexer-cli/src/test/repo/junit/junit-4.4.pom.sha1
  125. BIN indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4-javadoc.jar
  126. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4-javadoc.jar.md5
  127. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4-javadoc.jar.sha1
  128. BIN indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4-sources.jar
  129. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4-sources.jar.md5
  130. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4-sources.jar.sha1
  131. BIN indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4.jar
  132. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4.jar.md5
  133. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4.jar.sha1
  134. +36 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4.pom
  135. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4.pom.md5
  136. +1 −0 indexer-cli/src/test/repo/junit/junit/4.4/junit-4.4.pom.sha1
  137. BIN indexer-cli/src/test/repo/missingpom/missingpom/1.0/missingpom-1.0.jar
  138. BIN ...o/org/apache/directory/server/apacheds-schema-archetype/1.0.2/apacheds-schema-archetype-1.0.2.jar
  139. +12 −0 ...o/org/apache/directory/server/apacheds-schema-archetype/1.0.2/apacheds-schema-archetype-1.0.2.pom
  140. +12 −0 ...-cli/src/test/repo/org/apache/directory/server/apacheds-schema-archetype/maven-metadata-local.xml
  141. BIN .../test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-javadoc.jar
  142. +7 −0 ...t/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-javadoc.jar.asc
  143. +1 −0 ...t/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-javadoc.jar.md5
  144. +1 −0 .../repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-javadoc.jar.sha1
  145. BIN .../test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-sources.jar
  146. +7 −0 ...t/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-sources.jar.asc
  147. +1 −0 ...t/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-sources.jar.md5
  148. +1 −0 .../repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0-sources.jar.sha1
  149. BIN ...-cli/src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.jar
  150. +7 −0 .../src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.jar.asc
  151. +1 −0 .../src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.jar.md5
  152. +1 −0 ...src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.jar.sha1
  153. +52 −0 ...-cli/src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.pom
  154. +7 −0 .../src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.pom.asc
  155. +1 −0 .../src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.pom.md5
  156. +1 −0 ...src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/1.0/maven-core-it-plugin-1.0.pom.sha1
  157. +13 −0 indexer-cli/src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/maven-metadata.xml
  158. +1 −0 indexer-cli/src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/maven-metadata.xml.md5
  159. +1 −0 indexer-cli/src/test/repo/org/apache/maven/plugins/maven-core-it-plugin/maven-metadata.xml.sha1
  160. BIN ...epo/org/apache/servicemix/tooling/servicemix-service-engine/3.1/servicemix-service-engine-3.1.jar
  161. +14 −0 ...epo/org/apache/servicemix/tooling/servicemix-service-engine/3.1/servicemix-service-engine-3.1.pom
  162. BIN indexer-cli/src/test/repo/org/slf4j/jcl104-over-slf4j/1.4.2/jcl104-over-slf4j-1.4.2-sources.jar
  163. +1 −0 indexer-cli/src/test/repo/org/slf4j/jcl104-over-slf4j/1.4.2/jcl104-over-slf4j-1.4.2-sources.jar.sha1
  164. BIN indexer-cli/src/test/repo/org/slf4j/jcl104-over-slf4j/1.4.2/jcl104-over-slf4j-1.4.2.jar
  165. +1 −0 indexer-cli/src/test/repo/org/slf4j/jcl104-over-slf4j/1.4.2/jcl104-over-slf4j-1.4.2.jar.sha1
  166. +42 −0 indexer-cli/src/test/repo/org/slf4j/jcl104-over-slf4j/1.4.2/jcl104-over-slf4j-1.4.2.pom
  167. +1 −0 indexer-cli/src/test/repo/org/slf4j/jcl104-over-slf4j/1.4.2/jcl104-over-slf4j-1.4.2.pom.sha1
  168. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.1/slf4j-api-1.4.1-sources.jar
  169. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.1/slf4j-api-1.4.1-sources.jar.sha1
  170. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.1/slf4j-api-1.4.1.jar
  171. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.1/slf4j-api-1.4.1.jar.sha1
  172. +73 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.1/slf4j-api-1.4.1.pom
  173. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.1/slf4j-api-1.4.1.pom.sha1
  174. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2-sources.jar
  175. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2-sources.jar.sha1
  176. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.jar
  177. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.jar.sha1
  178. +73 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.pom
  179. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-api/1.4.2/slf4j-api-1.4.2.pom.sha1
  180. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1-bin.tar.gz
  181. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1-bin.zip
  182. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1-sources.jar
  183. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1-sources.jar.sha1
  184. BIN indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1.jar
  185. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1.jar.sha1
  186. +44 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1.pom
  187. +1 −0 indexer-cli/src/test/repo/org/slf4j/slf4j-log4j12/1.4.1/slf4j-log4j12-1.4.1.pom.sha1
  188. +66 −0 indexer-cli/src/test/repo/org/terracotta/forge/archetype-parent/1.0.1/archetype-parent-1.0.1.pom
  189. +1 −0 ...xer-cli/src/test/repo/org/terracotta/forge/archetype-parent/1.0.1/archetype-parent-1.0.1.pom.sha1
  190. +174 −0 indexer-cli/src/test/repo/org/terracotta/forge/forge-parent/1.0.5/forge-parent-1.0.5.pom
  191. +1 −0 indexer-cli/src/test/repo/org/terracotta/forge/forge-parent/1.0.5/forge-parent-1.0.5.pom.sha1
  192. BIN ...r-cli/src/test/repo/org/terracotta/maven/archetypes/pojo-archetype/1.0.3/pojo-archetype-1.0.3.jar
  193. +1 −0 .../src/test/repo/org/terracotta/maven/archetypes/pojo-archetype/1.0.3/pojo-archetype-1.0.3.jar.sha1
  194. +85 −0 ...r-cli/src/test/repo/org/terracotta/maven/archetypes/pojo-archetype/1.0.3/pojo-archetype-1.0.3.pom
  195. +1 −0 .../src/test/repo/org/terracotta/maven/archetypes/pojo-archetype/1.0.3/pojo-archetype-1.0.3.pom.sha1
  196. +6 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/maven-metadata.xml
  197. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/maven-metadata.xml.md5
  198. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/maven-metadata.xml.sha1
  199. BIN indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-jdk14.jar
  200. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-jdk14.jar.md5
  201. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-jdk14.jar.sha1
  202. BIN indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-jdk15.jar
  203. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-jdk15.jar.md5
  204. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-jdk15.jar.sha1
  205. BIN indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-sources.jar
  206. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-sources.jar.md5
  207. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5-sources.jar.sha1
  208. BIN indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5.jar
  209. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5.jar.md5
  210. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5.jar.sha1
  211. +306 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5.pom
  212. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5.pom.md5
  213. +1 −0 indexer-cli/src/test/repo/org/testng/testng/5.5/testng-5.5.pom.sha1
  214. BIN indexer-cli/src/test/repo/proptest/proptest-archetype/1.0/proptest-archetype-1.0.jar
  215. +16 −0 indexer-cli/src/test/repo/qdox/maven-metadata.xml
  216. +1 −0 indexer-cli/src/test/repo/qdox/maven-metadata.xml.md5
  217. BIN indexer-cli/src/test/repo/qdox/qdox/1.5/qdox-1.5.jar
  218. +1 −0 indexer-cli/src/test/repo/qdox/qdox/1.5/qdox-1.5.jar.md5
  219. +1 −0 indexer-cli/src/test/repo/qdox/qdox/1.5/qdox-1.5.jar.sha1
  220. +6 −0 indexer-cli/src/test/repo/qdox/qdox/1.5/qdox-1.5.pom
  221. +1 −0 indexer-cli/src/test/repo/qdox/qdox/1.5/qdox-1.5.pom.md5
  222. +1 −0 indexer-cli/src/test/repo/qdox/qdox/1.5/qdox-1.5.pom.sha1
  223. BIN indexer-cli/src/test/repo/qdox/qdox/1.6.1/qdox-1.6.1.jar
  224. +1 −0 indexer-cli/src/test/repo/qdox/qdox/1.6.1/qdox-1.6.1.jar.sha1
  225. +133 −0 indexer-cli/src/test/repo/qdox/qdox/1.6.1/qdox-1.6.1.pom
  226. +1 −0 indexer-cli/src/test/repo/qdox/qdox/1.6.1/qdox-1.6.1.pom.sha1
  227. BIN indexer-cli/src/test/repo/regexp/regexp/1.3/regexp-1.3.jar
  228. +1 −0 indexer-cli/src/test/repo/regexp/regexp/1.3/regexp-1.3.jar.sha1
  229. +6 −0 indexer-cli/src/test/repo/regexp/regexp/1.3/regexp-1.3.pom
  230. +1 −0 indexer-cli/src/test/repo/regexp/regexp/1.3/regexp-1.3.pom.sha1
  231. +4 −0 ...r-cli/src/test/resources/index-updater/server-root/legacy/nexus-maven-repository-index.properties
  232. BIN indexer-cli/src/test/resources/index-updater/server-root/legacy/nexus-maven-repository-index.zip
  233. BIN indexer-cli/src/test/resources/index-updater/server-root/nexus-maven-repository-index.gz
  234. +4 −0 indexer-cli/src/test/resources/index-updater/server-root/nexus-maven-repository-index.properties
  235. BIN indexer-cli/src/test/resources/index-updater/server-root/protected/nexus-maven-repository-index.gz
  236. +4 −0 ...li/src/test/resources/index-updater/server-root/protected/nexus-maven-repository-index.properties
  237. BIN indexer-cli/src/test/resources/index-updater/server-root/slow/nexus-maven-repository-index.gz
  238. +4 −0 ...xer-cli/src/test/resources/index-updater/server-root/slow/nexus-maven-repository-index.properties
  239. BIN indexer-cli/src/test/resources/repo-index/index/nexus-maven-repository-index.gz
  240. +6 −0 indexer-cli/src/test/resources/repo-index/index/nexus-maven-repository-index.properties
  241. BIN indexer-cli/src/test/resources/repo-index/index/nexus-maven-repository-index.zip
  242. BIN indexer-cli/src/test/resources/repo-index/index2/nexus-maven-repository-index.gz
  243. +6 −0 indexer-cli/src/test/resources/repo-index/index2/nexus-maven-repository-index.properties
  244. BIN indexer-cli/src/test/resources/repo-index/index2/nexus-maven-repository-index.zip
  245. +15 −0 indexer-cli/src/test/resources/testQueryCreatorNGSearch/case01.txt
  246. +15 −0 indexer-cli/src/test/resources/testQueryCreatorNGSearch/case02.txt
  247. +17 −0 indexer-cli/src/test/resources/testQueryCreatorNGSearch/case03.txt
  248. +15 −0 indexer-cli/src/test/resources/testQueryCreatorNGSearch/case04.txt
  249. +26 −0 indexer-cli/src/test/resources/testQueryCreatorNGSearch/case05.txt
  250. +12 −0 indexer-cli/src/test/resources/testQueryCreatorNGSearch/case06.txt
  251. +14 −42 indexer-core/pom.xml
  252. +0 −1 indexer-core/src/main/java/org/apache/maven/index/NexusIndexer.java
  253. +24 −2 pom.xml
View
@@ -35,6 +35,14 @@ under the License.
</description>
<dependencies>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-component-annotations</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ </dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-plexus</artifactId>
View
@@ -0,0 +1,2 @@
+This product contains software developed by Sonatype, Inc and Licensed to the Apache Software Foundation via a Software Grant.
+Copyright 2007-2010 Sonatype, Inc.
View
@@ -0,0 +1,27 @@
+Indexer Core Notes
+==================
+
+MINDEXER-2 related Index core changes
+-------------------------------------
+
+New locking semantics introduced to be able to cope with multithreaded processing. This mostly affects server-like apps integrating the indexer, not as much IDEs.
+
+IndexContext new methods:
+
+* commit/rollback -- for commiting changes, but also reopening readers/searchers if appropriate.
+* lock/unlock -- to perform shared locking, guaranteeing no reader/searcher reopen will occur.
+
+IteratorSearchResult/IteratorResultSet new methods:
+
+* both become Closeable. If you do NOT consume all of iterator (when automatic cleanup happens), you have to explicitly call result.close() to release locks!
+
+Others:
+
+* warmUp of readers/searchers added, currently a naive implementation, later we can refine it
+* smaller fixes
+
+
+Notes: if an app integrating Indexer Core did NOT tamper with indexingContexts directly (by using one of it's ctx.getIndexWriter(),
+ctx.getIndexReader() and ctx.getIndexSearcher()), it should almost not notice anything. The only change needed is to explicitly close
+non-consumed IteratorSearchResults. Otherwise, you have to adapt and manually fiddle with locking of contexts, or use proper API calls. In future, these
+methods and direct IndexingContext use within integrating applications will be highly discouraged!
View
@@ -0,0 +1,17 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+
View
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.maven.indexer</groupId>
+ <artifactId>maven-indexer</artifactId>
+ <version>5.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>indexer-cli</artifactId>
+
+ <name>Maven :: Indexer CLI</name>
+ <description>
+ Indexer CLI produces a CLI tool for indexing and publishing Maven repositories.
+ </description>
+
+ <!-- IMPORTANT! * WHEN YOU CHANGE DEPS MAKE SURE TO UPDATE SHADE CONFIG! * DON'T FORGET OTHERWISE YOU ARE RENDERING CLI
+ UNWORKABLE! -->
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.indexer</groupId>
+ <artifactId>indexer-artifact</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.indexer</groupId>
+ <artifactId>indexer-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- Plexus (as compile since it has to end up in CLI) -->
+ <dependency>
+ <groupId>org.sonatype.sisu</groupId>
+ <artifactId>sisu-inject-plexus</artifactId>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- Needed for CLI assembly only, to make it work in "standalone" CLI mode -->
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-cli</artifactId>
+ <version>1.2</version>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ <version>1.0</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- ZipFacade -->
+ <dependency>
+ <groupId>de.schlichtherle.truezip</groupId>
+ <artifactId>truezip-file</artifactId>
+ <version>${truezip.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>de.schlichtherle.truezip</groupId>
+ <artifactId>truezip-driver-zip</artifactId>
+ <version>${truezip.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- Test -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jmock</groupId>
+ <artifactId>jmock</artifactId>
+ <scope>test</scope>
+ <version>2.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>6.1.19</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-http-lightweight</artifactId>
+ <version>${wagon.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.3.3</version>
+ <executions>
+ <execution>
+ <id>jdk15</id>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <shadedArtifactAttached>false</shadedArtifactAttached>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.apache.maven.index.cli.NexusIndexerCli</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
+ <systemPropertyVariables>
+ <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
+ <indexerJar>${project.build.directory}/${project.artifactId}-${project.version}.jar</indexerJar>
+ <index-server>${index-server}</index-server>
+ </systemPropertyVariables>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>port-allocator-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>allocate-ports</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <ports>
+ <port>
+ <name>index-server</name>
+ </port>
+ </ports>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>README.md</exclude>
+ <exclude>src/test/repo/**</exclude>
+ <exclude>src/test/nexus-*/**</exclude>
+ <exclude>src/test/resources/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+ -->
+
+<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd">
+
+ <body>
+
+ <menu ref="parent"/>
+
+ <menu name="Overview">
+ <item name="Introduction" href="index.html"/>
+ <item name="JavaDocs" href="apidocs/index.html"/>
+ <item name="Source Xref" href="xref/index.html"/>
+ <!--item name="FAQ" href="faq.html"/-->
+ </menu>
+
+ <menu ref="reports"/>
+
+ </body>
+
+</project>
@@ -0,0 +1,8 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>brokenjar</groupId>
+ <artifactId>brokenjar</artifactId>
+ <version>1.0</version>
+
+</project>
Oops, something went wrong.

0 comments on commit 094c6f3

Please sign in to comment.