tetra 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +3 -1
  3. data/lib/template/bashrc +10 -0
  4. data/lib/template/bundled/apache-ant-1.9.7/CONTRIBUTORS +422 -0
  5. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/INSTALL +0 -0
  6. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/KEYS +0 -0
  7. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/LICENSE +0 -0
  8. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/NOTICE +1 -1
  9. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/README +0 -0
  10. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/WHATSNEW +247 -4
  11. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/ant +5 -3
  12. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/ant.bat +0 -0
  13. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/ant.cmd +0 -0
  14. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antRun +0 -0
  15. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antRun.bat +0 -0
  16. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antRun.pl +0 -3
  17. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/antenv.cmd +0 -0
  18. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/complete-ant-cmd.pl +11 -10
  19. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/envset.cmd +0 -0
  20. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/lcp.bat +0 -0
  21. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/runant.pl +0 -3
  22. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/runant.py +9 -6
  23. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/bin/runrc.cmd +0 -0
  24. data/lib/template/bundled/apache-ant-1.9.7/contributors.xml +1691 -0
  25. data/lib/template/bundled/apache-ant-1.9.7/etc/ant-bootstrap.jar +0 -0
  26. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/changelog.xsl +0 -0
  27. data/lib/template/bundled/apache-ant-1.9.7/etc/checkstyle/checkstyle-frames-sortby-check.xsl +367 -0
  28. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/checkstyle/checkstyle-frames.xsl +0 -0
  29. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/checkstyle/checkstyle-text.xsl +0 -0
  30. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/checkstyle/checkstyle-xdoc.xsl +0 -0
  31. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/coverage-frames.xsl +0 -2
  32. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/jdepend-frames.xsl +0 -2
  33. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/jdepend.xsl +0 -0
  34. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/junit-frames-xalan1.xsl +0 -0
  35. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/junit-frames.xsl +18 -1
  36. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/junit-noframes.xsl +18 -1
  37. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/log.xsl +0 -0
  38. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/maudit-frames.xsl +0 -1
  39. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/mmetrics-frames.xsl +0 -3
  40. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/etc/tagdiff.xsl +0 -0
  41. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/fetch.xml +0 -0
  42. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/get-m2.xml +0 -0
  43. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/README +0 -0
  44. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-antlr.jar +0 -0
  45. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-antlr.pom +3 -3
  46. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-apache-bcel.jar +0 -0
  47. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-bcel.pom +3 -3
  48. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-bsf.jar +0 -0
  49. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-bsf.pom +3 -3
  50. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-log4j.jar +0 -0
  51. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-log4j.pom +3 -3
  52. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-oro.jar +0 -0
  53. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-oro.pom +3 -3
  54. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-regexp.jar +0 -0
  55. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-regexp.pom +3 -3
  56. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-resolver.jar +0 -0
  57. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-resolver.pom +3 -3
  58. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-xalan2.jar +0 -0
  59. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-apache-xalan2.pom +3 -3
  60. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-commons-logging.jar +0 -0
  61. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-commons-logging.pom +3 -3
  62. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-commons-net.jar +0 -0
  63. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-commons-net.pom +3 -3
  64. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jai.jar +0 -0
  65. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jai.pom +3 -3
  66. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-javamail.jar +0 -0
  67. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-javamail.pom +3 -3
  68. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jdepend.jar +0 -0
  69. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jdepend.pom +3 -3
  70. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jmf.jar +0 -0
  71. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jmf.pom +3 -3
  72. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-jsch.jar +0 -0
  73. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-jsch.pom +3 -3
  74. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-junit.jar +0 -0
  75. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-junit.pom +3 -3
  76. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-junit4.jar +0 -0
  77. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-junit4.pom +71 -71
  78. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-launcher.jar +0 -0
  79. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-launcher.pom +2 -2
  80. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-netrexx.jar +0 -0
  81. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-netrexx.pom +3 -3
  82. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-parent.pom +4 -4
  83. data/lib/template/bundled/apache-ant-1.9.7/lib/ant-swing.jar +0 -0
  84. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-swing.pom +3 -3
  85. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-testutil.jar +0 -0
  86. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant-testutil.pom +3 -3
  87. data/lib/template/bundled/apache-ant-1.9.7/lib/ant.jar +0 -0
  88. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/ant.pom +3 -3
  89. data/lib/template/bundled/{apache-ant-1.9.4 → apache-ant-1.9.7}/lib/libraries.properties +0 -0
  90. data/lib/template/bundled/apache-ant-1.9.7/patch.xml +48 -0
  91. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/LICENSE +29 -23
  92. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/NOTICE +1 -1
  93. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/README.txt +5 -3
  94. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/bin/m2.conf +0 -0
  95. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/bin/mvn +51 -9
  96. data/lib/template/bundled/{apache-maven-3.2.5/bin/mvn.bat → apache-maven-3.3.9/bin/mvn.cmd} +50 -69
  97. data/lib/template/bundled/apache-maven-3.3.9/bin/mvnDebug +41 -0
  98. data/lib/template/bundled/apache-maven-3.3.9/bin/mvnDebug.cmd +31 -0
  99. data/lib/template/bundled/apache-maven-3.3.9/bin/mvnyjp +42 -0
  100. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/boot/plexus-classworlds-2.5.2.jar +0 -0
  101. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/conf/logging/simplelogger.properties +0 -0
  102. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/conf/settings.xml +0 -0
  103. data/lib/template/bundled/apache-maven-3.3.9/conf/toolchains.xml +103 -0
  104. data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-api-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-api-1.0.2.v20150114.jar} +0 -0
  105. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-api.license +0 -0
  106. data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-connector-basic-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-connector-basic-1.0.2.v20150114.jar} +0 -0
  107. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-connector-basic.license +0 -0
  108. data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-impl-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-impl-1.0.2.v20150114.jar} +0 -0
  109. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-impl.license +0 -0
  110. data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-spi-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-spi-1.0.2.v20150114.jar} +0 -0
  111. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-spi.license +0 -0
  112. data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-transport-wagon-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-transport-wagon-1.0.2.v20150114.jar} +0 -0
  113. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-transport-wagon.license +0 -0
  114. data/lib/template/bundled/{apache-maven-3.2.5/lib/aether-util-1.0.0.v20140518.jar → apache-maven-3.3.9/lib/aether-util-1.0.2.v20150114.jar} +0 -0
  115. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aether-util.license +0 -0
  116. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/aopalliance-1.0.jar +0 -0
  117. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/cdi-api-1.0.jar +0 -0
  118. data/lib/template/bundled/apache-maven-3.3.9/lib/cdi-api.license +410 -0
  119. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/commons-cli-1.2.jar +0 -0
  120. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/commons-io-2.2.jar +0 -0
  121. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/commons-lang-2.6.jar +0 -0
  122. data/lib/template/bundled/apache-maven-3.3.9/lib/commons-lang3-3.4.jar +0 -0
  123. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-aether-provider.license → apache-maven-3.3.9/lib/commons-lang3.license} +0 -0
  124. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/ext/README.txt +0 -0
  125. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/guava-18.0.jar +0 -0
  126. data/lib/template/bundled/apache-maven-3.3.9/lib/guice-4.0-no_aop.jar +0 -0
  127. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/javax.inject-1.jar +0 -0
  128. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsoup-1.7.2.jar +0 -0
  129. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsoup.license +15 -16
  130. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsr250-api-1.0.jar +0 -0
  131. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/jsr250-api.license +0 -0
  132. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-aether-provider-3.3.9.jar +0 -0
  133. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-artifact.license → apache-maven-3.3.9/lib/maven-aether-provider.license} +0 -0
  134. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-artifact-3.3.9.jar +0 -0
  135. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-compat.license → apache-maven-3.3.9/lib/maven-artifact.license} +0 -0
  136. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-builder-support-3.3.9.jar +0 -0
  137. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-core.license → apache-maven-3.3.9/lib/maven-builder-support.license} +0 -0
  138. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-compat-3.3.9.jar +0 -0
  139. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-embedder.license → apache-maven-3.3.9/lib/maven-compat.license} +0 -0
  140. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-core-3.3.9.jar +0 -0
  141. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-model-builder.license → apache-maven-3.3.9/lib/maven-core.license} +0 -0
  142. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-embedder-3.3.9.jar +0 -0
  143. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-model.license → apache-maven-3.3.9/lib/maven-embedder.license} +0 -0
  144. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-model-3.3.9.jar +0 -0
  145. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-model-builder-3.3.9.jar +0 -0
  146. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-plugin-api.license → apache-maven-3.3.9/lib/maven-model-builder.license} +0 -0
  147. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-repository-metadata.license → apache-maven-3.3.9/lib/maven-model.license} +0 -0
  148. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-plugin-api-3.3.9.jar +0 -0
  149. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-settings-builder.license → apache-maven-3.3.9/lib/maven-plugin-api.license} +0 -0
  150. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-repository-metadata-3.3.9.jar +0 -0
  151. data/lib/template/bundled/{apache-maven-3.2.5/lib/maven-settings.license → apache-maven-3.3.9/lib/maven-repository-metadata.license} +0 -0
  152. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-settings-3.3.9.jar +0 -0
  153. data/lib/template/bundled/apache-maven-3.3.9/lib/maven-settings-builder-3.3.9.jar +0 -0
  154. data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-file.license → apache-maven-3.3.9/lib/maven-settings-builder.license} +0 -0
  155. data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-http-shared.license → apache-maven-3.3.9/lib/maven-settings.license} +0 -0
  156. data/lib/template/bundled/apache-maven-3.3.9/lib/org.eclipse.sisu.inject-0.3.2.jar +0 -0
  157. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/org.eclipse.sisu.inject.license +0 -0
  158. data/lib/template/bundled/apache-maven-3.3.9/lib/org.eclipse.sisu.plexus-0.3.2.jar +0 -0
  159. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/org.eclipse.sisu.plexus.license +0 -0
  160. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/plexus-cipher-1.7.jar +0 -0
  161. data/lib/template/bundled/apache-maven-3.3.9/lib/plexus-cipher.license +410 -0
  162. data/lib/template/bundled/apache-maven-3.3.9/lib/plexus-component-annotations-1.6.jar +0 -0
  163. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/plexus-interpolation-1.21.jar +0 -0
  164. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/plexus-sec-dispatcher-1.3.jar +0 -0
  165. data/lib/template/bundled/apache-maven-3.3.9/lib/plexus-sec-dispatcher.license +410 -0
  166. data/lib/template/bundled/{apache-maven-3.2.5/lib/plexus-utils-3.0.20.jar → apache-maven-3.3.9/lib/plexus-utils-3.0.22.jar} +0 -0
  167. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/slf4j-api-1.7.5.jar +0 -0
  168. data/lib/template/bundled/apache-maven-3.3.9/lib/slf4j-api.license +370 -0
  169. data/lib/template/bundled/{apache-maven-3.2.5 → apache-maven-3.3.9}/lib/slf4j-simple-1.7.5.jar +0 -0
  170. data/lib/template/bundled/apache-maven-3.3.9/lib/slf4j-simple.license +370 -0
  171. data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-file-2.8.jar → apache-maven-3.3.9/lib/wagon-file-2.10.jar} +0 -0
  172. data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-http.license → apache-maven-3.3.9/lib/wagon-file.license} +0 -0
  173. data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-http-2.8-shaded.jar → apache-maven-3.3.9/lib/wagon-http-2.10-shaded.jar} +0 -0
  174. data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-http-shared-2.10.jar +0 -0
  175. data/lib/template/bundled/{apache-maven-3.2.5/lib/wagon-provider-api.license → apache-maven-3.3.9/lib/wagon-http-shared.license} +0 -0
  176. data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-http.license +202 -0
  177. data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-provider-api-2.10.jar +0 -0
  178. data/lib/template/bundled/apache-maven-3.3.9/lib/wagon-provider-api.license +202 -0
  179. data/lib/tetra/facades/bash.rb +8 -2
  180. data/lib/tetra/kit.rb +1 -1
  181. data/lib/tetra/version.rb +1 -1
  182. data/spec/data/commons-collections4-4.1-src.tar.gz +0 -0
  183. data/spec/data/commons-collections4-4.1-src.zip +0 -0
  184. data/spec/lib/coarse/generate_all_subcommand_spec.rb +5 -5
  185. data/spec/lib/coarse/generate_spec_subcommand_spec.rb +2 -2
  186. data/spec/lib/coarse/init_subcommand_spec.rb +6 -6
  187. data/spec/lib/fine/project_spec.rb +1 -1
  188. data/spec/lib/fine/tar_spec.rb +2 -2
  189. data/spec/lib/fine/unzip_spec.rb +2 -2
  190. metadata +179 -170
  191. data/lib/template/bundled/apache-ant-1.9.4/etc/ant-bootstrap.jar +0 -0
  192. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-antlr.jar +0 -0
  193. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-apache-bcel.jar +0 -0
  194. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-commons-net.jar +0 -0
  195. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jai.jar +0 -0
  196. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-javamail.jar +0 -0
  197. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jdepend.jar +0 -0
  198. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jmf.jar +0 -0
  199. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-jsch.jar +0 -0
  200. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-junit.jar +0 -0
  201. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-junit4.jar +0 -0
  202. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-launcher.jar +0 -0
  203. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-netrexx.jar +0 -0
  204. data/lib/template/bundled/apache-ant-1.9.4/lib/ant-swing.jar +0 -0
  205. data/lib/template/bundled/apache-ant-1.9.4/lib/ant.jar +0 -0
  206. data/lib/template/bundled/apache-maven-3.2.5/bin/mvnDebug +0 -200
  207. data/lib/template/bundled/apache-maven-3.2.5/bin/mvnDebug.bat +0 -200
  208. data/lib/template/bundled/apache-maven-3.2.5/bin/mvnyjp +0 -207
  209. data/lib/template/bundled/apache-maven-3.2.5/lib/cdi-api.license +0 -445
  210. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-aether-provider-3.2.5.jar +0 -0
  211. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-artifact-3.2.5.jar +0 -0
  212. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-compat-3.2.5.jar +0 -0
  213. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-core-3.2.5.jar +0 -0
  214. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-embedder-3.2.5.jar +0 -0
  215. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-model-3.2.5.jar +0 -0
  216. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-model-builder-3.2.5.jar +0 -0
  217. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-plugin-api-3.2.5.jar +0 -0
  218. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-repository-metadata-3.2.5.jar +0 -0
  219. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-settings-3.2.5.jar +0 -0
  220. data/lib/template/bundled/apache-maven-3.2.5/lib/maven-settings-builder-3.2.5.jar +0 -0
  221. data/lib/template/bundled/apache-maven-3.2.5/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
  222. data/lib/template/bundled/apache-maven-3.2.5/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
  223. data/lib/template/bundled/apache-maven-3.2.5/lib/plexus-cipher.license +0 -445
  224. data/lib/template/bundled/apache-maven-3.2.5/lib/plexus-component-annotations-1.5.5.jar +0 -0
  225. data/lib/template/bundled/apache-maven-3.2.5/lib/plexus-sec-dispatcher.license +0 -445
  226. data/lib/template/bundled/apache-maven-3.2.5/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
  227. data/lib/template/bundled/apache-maven-3.2.5/lib/slf4j-api.license +0 -190
  228. data/lib/template/bundled/apache-maven-3.2.5/lib/slf4j-simple.license +0 -190
  229. data/lib/template/bundled/apache-maven-3.2.5/lib/wagon-http-shared-2.8.jar +0 -0
  230. data/lib/template/bundled/apache-maven-3.2.5/lib/wagon-provider-api-2.8.jar +0 -0
  231. data/spec/data/commons-collections-3.2.1-src.tar.gz +0 -0
  232. data/spec/data/commons-collections-3.2.1-src.zip +0 -0
@@ -22,7 +22,7 @@
22
22
  -------------------
23
23
 
24
24
  JDK:
25
- 1.6 or above (this is to execute Maven - it still allows you to build against 1.3
25
+ 1.7 or above (this is to execute Maven - it still allows you to build against 1.3
26
26
  and prior JDK's).
27
27
  Memory:
28
28
  No minimum requirement.
@@ -31,8 +31,10 @@
31
31
  that, additional disk space will be used for your local Maven repository. The size
32
32
  of your local repository will vary depending on usage but expect at least 500MB.
33
33
  Operating System:
34
- No minimum requirement. Start up scripts are included as shell scripts and Windows
35
- batch files.
34
+ Windows:
35
+ Windows 2000 or above.
36
+ Unix based systems (Linux, Solaris and Mac OS X) and others:
37
+ No minimum requirement.
36
38
 
37
39
  Installing Maven
38
40
  ----------------
@@ -57,33 +57,33 @@ case "`uname`" in
57
57
  #
58
58
  # Look for the Apple JDKs first to preserve the existing behaviour, and then look
59
59
  # for the new JDKs provided by Oracle.
60
- #
60
+ #
61
61
  if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then
62
62
  #
63
63
  # Apple JDKs
64
64
  #
65
65
  export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
66
66
  fi
67
-
67
+
68
68
  if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
69
69
  #
70
70
  # Apple JDKs
71
71
  #
72
72
  export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
73
73
  fi
74
-
74
+
75
75
  if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
76
76
  #
77
77
  # Oracle JDKs
78
78
  #
79
79
  export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
80
- fi
80
+ fi
81
81
 
82
82
  if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then
83
83
  #
84
84
  # Apple JDKs
85
85
  #
86
- export JAVA_HOME=/usr/libexec/java_home
86
+ export JAVA_HOME=`/usr/libexec/java_home`
87
87
  fi
88
88
  ;;
89
89
  esac
@@ -145,7 +145,12 @@ if [ -z "$JAVA_HOME" ]; then
145
145
  # readlink(1) is not available as standard on Solaris 10.
146
146
  readLink=`which readlink`
147
147
  if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
148
- javaExecutable="`readlink -f \"$javaExecutable\"`"
148
+ if $darwin ; then
149
+ javaHome="`dirname \"$javaExecutable\"`"
150
+ javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
151
+ else
152
+ javaExecutable="`readlink -f \"$javaExecutable\"`"
153
+ fi
149
154
  javaHome="`dirname \"$javaExecutable\"`"
150
155
  javaHome=`expr "$javaHome" : '\(.*\)/bin'`
151
156
  JAVA_HOME="$javaHome"
@@ -189,14 +194,51 @@ if $cygwin; then
189
194
  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
190
195
  fi
191
196
 
192
- # Provide a "standardized" way to retrieve the CLI args that will
197
+ # traverses directory structure from process work directory to filesystem root
198
+ # first directory with .mvn subdirectory is considered project base directory
199
+ find_maven_basedir() {
200
+ local basedir
201
+ local wdir
202
+ basedir="$(pwd)"
203
+ wdir="$(pwd)"
204
+ while [ "$wdir" != '/' ] ; do
205
+ if [ -d "$wdir"/.mvn ] ; then
206
+ basedir=$wdir
207
+ break
208
+ fi
209
+ wdir="$(cd "$wdir/.."; pwd)"
210
+ done
211
+ echo "${basedir}"
212
+ }
213
+
214
+ # concatenates all lines of a file
215
+ concat_lines() {
216
+ if [ -f "$1" ]; then
217
+ echo "$(tr -s '\n' ' ' < "$1")"
218
+ fi
219
+ }
220
+
221
+ MAVEN_PROJECTBASEDIR="${MAVEN_BASEDIR:-$(find_maven_basedir)}"
222
+ MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
223
+
224
+ # For Cygwin, switch project base directory path to Windows format before
225
+ # executing Maven. Otherwise this will cause Maven not to consider it.
226
+ if $cygwin; then
227
+ [ -n "$MAVEN_PROJECTBASEDIR" ] &&
228
+ MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
229
+ fi
230
+
231
+ export MAVEN_PROJECTBASEDIR
232
+
233
+ # Provide a "standardized" way to retrieve the CLI args that will
193
234
  # work with both Windows and non-Windows executions.
194
- MAVEN_CMD_LINE_ARGS="$@"
235
+ MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
195
236
  export MAVEN_CMD_LINE_ARGS
196
237
 
197
238
  exec "$JAVACMD" \
198
239
  $MAVEN_OPTS \
240
+ $MAVEN_DEBUG_OPTS \
199
241
  -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
200
242
  "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
201
- "-Dmaven.home=${M2_HOME}" \
243
+ "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
202
244
  ${CLASSWORLDS_LAUNCHER} "$@"
@@ -43,14 +43,17 @@ if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
43
43
 
44
44
  @REM Execute a user defined script before this one
45
45
  if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
46
+ @REM check for pre script, once with legacy .bat ending and once with .cmd ending
46
47
  if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
48
+ if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
47
49
  :skipRcPre
48
50
 
51
+ @setlocal
52
+
49
53
  set ERROR_CODE=0
50
54
 
51
- @REM set local scope for the variables with windows NT shell
52
- if "%OS%"=="Windows_NT" @setlocal
53
- if "%OS%"=="WINNT" @setlocal
55
+ @REM To isolate internal variables from possible post scripts, we use another setlocal
56
+ @setlocal
54
57
 
55
58
  @REM ==== START VALIDATION ====
56
59
  if not "%JAVA_HOME%" == "" goto OkJHome
@@ -76,8 +79,7 @@ goto error
76
79
  :chkMHome
77
80
  if not "%M2_HOME%"=="" goto valMHome
78
81
 
79
- if "%OS%"=="Windows_NT" SET "M2_HOME=%~dp0.."
80
- if "%OS%"=="WINNT" SET "M2_HOME=%~dp0.."
82
+ SET "M2_HOME=%~dp0.."
81
83
  if not "%M2_HOME%"=="" goto valMHome
82
84
 
83
85
  echo.
@@ -90,12 +92,12 @@ goto error
90
92
  :valMHome
91
93
 
92
94
  :stripMHome
93
- if not "_%M2_HOME:~-1%"=="_\" goto checkMBat
95
+ if not "_%M2_HOME:~-1%"=="_\" goto checkMCmd
94
96
  set "M2_HOME=%M2_HOME:~0,-1%"
95
97
  goto stripMHome
96
98
 
97
- :checkMBat
98
- if exist "%M2_HOME%\bin\mvn.bat" goto init
99
+ :checkMCmd
100
+ if exist "%M2_HOME%\bin\mvn.cmd" goto init
99
101
 
100
102
  echo.
101
103
  echo Error: M2_HOME is set to an invalid directory. >&2
@@ -107,91 +109,70 @@ goto error
107
109
  @REM ==== END VALIDATION ====
108
110
 
109
111
  :init
110
- @REM Decide how to startup depending on the version of windows
111
112
 
112
- @REM -- Windows NT with Novell Login
113
- if "%OS%"=="WINNT" goto WinNTNovell
113
+ set MAVEN_CMD_LINE_ARGS=%*
114
114
 
115
- @REM -- Win98ME
116
- if NOT "%OS%"=="Windows_NT" goto Win9xArg
115
+ @REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
116
+ @REM Fallback to current working directory if not found.
117
117
 
118
- :WinNTNovell
118
+ set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
119
+ IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
119
120
 
120
- @REM -- 4NT shell
121
- if "%@eval[2+2]" == "4" goto 4NTArgs
121
+ set EXEC_DIR=%CD%
122
+ set WDIR=%EXEC_DIR%
123
+ :findBaseDir
124
+ IF EXIST "%WDIR%\.mvn" goto baseDirFound
125
+ cd ..
126
+ IF "%WDIR%"=="%CD%" goto baseDirNotFound
127
+ set WDIR=%CD%
128
+ goto findBaseDir
122
129
 
123
- @REM -- Regular WinNT shell
124
- set MAVEN_CMD_LINE_ARGS=%*
125
- goto endInit
126
-
127
- @REM The 4NT Shell from jp software
128
- :4NTArgs
129
- set MAVEN_CMD_LINE_ARGS=%$
130
- goto endInit
131
-
132
- :Win9xArg
133
- @REM Slurp the command line arguments. This loop allows for an unlimited number
134
- @REM of agruments (up to the command line limit, anyway).
135
- set MAVEN_CMD_LINE_ARGS=
136
- :Win9xApp
137
- if %1a==a goto endInit
138
- set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
139
- shift
140
- goto Win9xApp
141
-
142
- @REM Reaching here means variables are defined and arguments have been captured
143
- :endInit
144
- SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
130
+ :baseDirFound
131
+ set MAVEN_PROJECTBASEDIR=%WDIR%
132
+ cd "%EXEC_DIR%"
133
+ goto endDetectBaseDir
145
134
 
146
- @REM -- 4NT shell
147
- if "%@eval[2+2]" == "4" goto 4NTCWJars
135
+ :baseDirNotFound
136
+ if "_%EXEC_DIR:~-1%"=="_\" set EXEC_DIR=%EXEC_DIR:~0,-1%
148
137
 
149
- @REM -- Regular WinNT shell
150
- for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
151
- goto runm2
138
+ set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
139
+ cd "%EXEC_DIR%"
140
+
141
+ :endDetectBaseDir
142
+
143
+ IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
144
+
145
+ @setlocal EnableExtensions EnableDelayedExpansion
146
+ for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
147
+ @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
148
+
149
+ :endReadAdditionalConfig
152
150
 
153
- @REM The 4NT Shell from jp software
154
- :4NTCWJars
155
- for %%i in ("%M2_HOME%\boot\plexus-classworlds-*") do set CLASSWORLDS_JAR="%%i"
156
- goto runm2
151
+ SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
152
+
153
+ for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
157
154
 
158
- @REM Start MAVEN2
159
- :runm2
160
155
  set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
161
- %MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
156
+
157
+ %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
162
158
  if ERRORLEVEL 1 goto error
163
159
  goto end
164
160
 
165
161
  :error
166
- if "%OS%"=="Windows_NT" @endlocal
167
- if "%OS%"=="WINNT" @endlocal
168
162
  set ERROR_CODE=1
169
163
 
170
164
  :end
171
- @REM set local scope for the variables with windows NT shell
172
- if "%OS%"=="Windows_NT" goto endNT
173
- if "%OS%"=="WINNT" goto endNT
174
-
175
- @REM For old DOS remove the set variables from ENV - we assume they were not set
176
- @REM before we started - at least we don't leave any baggage around
177
- set MAVEN_JAVA_EXE=
178
- set MAVEN_CMD_LINE_ARGS=
179
- goto postExec
180
-
181
- :endNT
182
165
  @endlocal & set ERROR_CODE=%ERROR_CODE%
183
166
 
184
- :postExec
185
-
186
167
  if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
168
+ @REM check for post script, once with legacy .bat ending and once with .cmd ending
187
169
  if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
170
+ if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
188
171
  :skipRcPost
189
172
 
190
- @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
173
+ @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
191
174
  if "%MAVEN_BATCH_PAUSE%" == "on" pause
192
175
 
193
176
  if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
194
177
 
195
- cmd /C exit /B %ERROR_CODE%
196
-
197
-
178
+ exit /B %ERROR_CODE%
@@ -0,0 +1,41 @@
1
+ #!/bin/sh
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
+
21
+ # ----------------------------------------------------------------------------
22
+ # Maven2 Start Up Batch script
23
+ #
24
+ # Required ENV vars:
25
+ # ------------------
26
+ # JAVA_HOME - location of a JDK home dir
27
+ #
28
+ # Optional ENV vars
29
+ # -----------------
30
+ # M2_HOME - location of maven2's installed home dir
31
+ # MAVEN_OPTS - parameters passed to the Java VM when running Maven
32
+ # e.g. to debug Maven itself, use
33
+ # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34
+ # MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35
+ # ----------------------------------------------------------------------------
36
+
37
+ MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"
38
+
39
+ echo Preparing to Execute Maven in Debug Mode
40
+
41
+ env MAVEN_OPTS="$MAVEN_OPTS" MAVEN_DEBUG_OPTS="$MAVEN_DEBUG_OPTS" $(dirname $0)/mvn "$@"
@@ -0,0 +1,31 @@
1
+ @REM ----------------------------------------------------------------------------
2
+ @REM Licensed to the Apache Software Foundation (ASF) under one
3
+ @REM or more contributor license agreements. See the NOTICE file
4
+ @REM distributed with this work for additional information
5
+ @REM regarding copyright ownership. The ASF licenses this file
6
+ @REM to you under the Apache License, Version 2.0 (the
7
+ @REM "License"); you may not use this file except in compliance
8
+ @REM with the License. You may obtain a copy of the License at
9
+ @REM
10
+ @REM http://www.apache.org/licenses/LICENSE-2.0
11
+ @REM
12
+ @REM Unless required by applicable law or agreed to in writing,
13
+ @REM software distributed under the License is distributed on an
14
+ @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ @REM KIND, either express or implied. See the License for the
16
+ @REM specific language governing permissions and limitations
17
+ @REM under the License.
18
+ @REM ----------------------------------------------------------------------------
19
+
20
+ @REM ----------------------------------------------------------------------------
21
+ @REM Maven2 Start Up Batch script to run mvn.cmd with the following additional
22
+ @REM Java VM settings:
23
+ @REM
24
+ @REM -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
25
+ @REM
26
+ @REM ----------------------------------------------------------------------------
27
+
28
+ @setlocal
29
+ @set MAVEN_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
30
+
31
+ @call "%~dp0"mvn.cmd %*
@@ -0,0 +1,42 @@
1
+ #!/bin/sh
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
+
21
+ # ----------------------------------------------------------------------------
22
+ # Maven2 Start Up Batch script
23
+ #
24
+ # Required ENV vars:
25
+ # ------------------
26
+ # JAVA_HOME - location of a JDK home dir
27
+ #
28
+ # Optional ENV vars
29
+ # -----------------
30
+ # M2_HOME - location of maven2's installed home dir
31
+ # MAVEN_OPTS - parameters passed to the Java VM when running Maven
32
+ # e.g. to debug Maven itself, use
33
+ # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34
+ # MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35
+ # ----------------------------------------------------------------------------
36
+
37
+ if [ ! -f "$YJPLIB" ]; then
38
+ echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
39
+ exit 1
40
+ fi
41
+
42
+ env MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS" $(dirname $0)/mvn "$@"
@@ -0,0 +1,103 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+ Licensed to the Apache Software Foundation (ASF) under one
5
+ or more contributor license agreements. See the NOTICE file
6
+ distributed with this work for additional information
7
+ regarding copyright ownership. The ASF licenses this file
8
+ to you under the Apache License, Version 2.0 (the
9
+ "License"); you may not use this file except in compliance
10
+ with the License. You may obtain a copy of the License at
11
+
12
+ http://www.apache.org/licenses/LICENSE-2.0
13
+
14
+ Unless required by applicable law or agreed to in writing,
15
+ software distributed under the License is distributed on an
16
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, either express or implied. See the License for the
18
+ specific language governing permissions and limitations
19
+ under the License.
20
+ -->
21
+
22
+ <!--
23
+ | This is the toolchains file for Maven. It can be specified at two levels:
24
+ |
25
+ | 1. User Level. This toolchains.xml file provides configuration for a single user,
26
+ | and is normally provided in ${user.home}/.m2/toolchains.xml.
27
+ |
28
+ | NOTE: This location can be overridden with the CLI option:
29
+ |
30
+ | -t /path/to/user/toolchains.xml
31
+ |
32
+ | 2. Global Level. This toolchains.xml file provides configuration for all Maven
33
+ | users on a machine (assuming they're all using the same Maven
34
+ | installation). It's normally provided in
35
+ | ${maven.home}/conf/toolchains.xml.
36
+ |
37
+ | NOTE: This location can be overridden with the CLI option:
38
+ |
39
+ | -gt /path/to/global/toolchains.xml
40
+ |
41
+ | The sections in this sample file are intended to give you a running start at
42
+ | getting the most out of your Maven installation.
43
+ |-->
44
+ <toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
45
+ xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 http://maven.apache.org/xsd/toolchains-1.1.0.xsd">
46
+
47
+ <!--
48
+ | With toolchains you can refer to installations on your system. This
49
+ | way you don't have to hardcode paths in your pom.xml.
50
+ |
51
+ | Every toolchain consist of 3 elements:
52
+ | * type: the type of tool. An often used value is 'jdk'. Toolchains-aware
53
+ | plugins should document which type you must use.
54
+ |
55
+ | * provides: A list of key/value-pairs.
56
+ | Based on the toolchain-configuration in the pom.xml Maven will search for
57
+ | matching <provides/> configuration. You can decide for yourself which key-value
58
+ | pairs to use. Often used keys are 'version', 'vendor' and 'arch'. By default
59
+ | the version has a special meaning. If you configured in the pom.xml '1.5'
60
+ | Maven will search for 1.5 and above.
61
+ |
62
+ | * configuration: Additional configuration for this tool.
63
+ | Look for documentation of the toolchains-aware plugin which configuration elements
64
+ | can be used.
65
+ |
66
+ | See also http://maven.apache.org/guides/mini/guide-using-toolchains.html
67
+ |
68
+ | General example
69
+
70
+ <toolchain>
71
+ <type/>
72
+ <provides>
73
+ <version>1.0</version>
74
+ </provides>
75
+ <configuration/>
76
+ </toolchain>
77
+
78
+ | JDK examples
79
+
80
+ <toolchain>
81
+ <type>jdk</type>
82
+ <provides>
83
+ <version>1.5</version>
84
+ <vendor>sun</vendor>
85
+ </provides>
86
+ <configuration>
87
+ <jdkHome>/path/to/jdk/1.5</jdkHome>
88
+ </configuration>
89
+ </toolchain>
90
+ <toolchain>
91
+ <type>jdk</type>
92
+ <provides>
93
+ <version>1.6</version>
94
+ <vendor>sun</vendor>
95
+ </provides>
96
+ <configuration>
97
+ <jdkHome>/path/to/jdk/1.6</jdkHome>
98
+ </configuration>
99
+ </toolchain>
100
+
101
+ -->
102
+
103
+ </toolchains>