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
@@ -1,200 +0,0 @@
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
- if [ -z "$MAVEN_SKIP_RC" ] ; then
42
-
43
- if [ -f /etc/mavenrc ] ; then
44
- . /etc/mavenrc
45
- fi
46
-
47
- if [ -f "$HOME/.mavenrc" ] ; then
48
- . "$HOME/.mavenrc"
49
- fi
50
-
51
- fi
52
-
53
- # OS specific support. $var _must_ be set to either true or false.
54
- cygwin=false;
55
- darwin=false;
56
- mingw=false
57
- case "`uname`" in
58
- CYGWIN*) cygwin=true ;;
59
- MINGW*) mingw=true;;
60
- Darwin*) darwin=true
61
- #
62
- # Look for the Apple JDKs first to preserve the existing behaviour, and then look
63
- # for the new JDKs provided by Oracle.
64
- #
65
- if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then
66
- #
67
- # Apple JDKs
68
- #
69
- export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
70
- fi
71
-
72
- if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
73
- #
74
- # Apple JDKs
75
- #
76
- export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
77
- fi
78
-
79
- if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
80
- #
81
- # Oracle JDKs
82
- #
83
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
84
- fi
85
- ;;
86
- esac
87
-
88
- if [ -z "$JAVA_HOME" ] ; then
89
- if [ -r /etc/gentoo-release ] ; then
90
- JAVA_HOME=`java-config --jre-home`
91
- fi
92
- fi
93
-
94
- if [ -z "$M2_HOME" ] ; then
95
- ## resolve links - $0 may be a link to maven's home
96
- PRG="$0"
97
-
98
- # need this for relative symlinks
99
- while [ -h "$PRG" ] ; do
100
- ls=`ls -ld "$PRG"`
101
- link=`expr "$ls" : '.*-> \(.*\)$'`
102
- if expr "$link" : '/.*' > /dev/null; then
103
- PRG="$link"
104
- else
105
- PRG="`dirname "$PRG"`/$link"
106
- fi
107
- done
108
-
109
- saveddir=`pwd`
110
-
111
- M2_HOME=`dirname "$PRG"`/..
112
-
113
- # make it fully qualified
114
- M2_HOME=`cd "$M2_HOME" && pwd`
115
-
116
- cd "$saveddir"
117
- # echo Using m2 at $M2_HOME
118
- fi
119
-
120
- # For Cygwin, ensure paths are in UNIX format before anything is touched
121
- if $cygwin ; then
122
- [ -n "$M2_HOME" ] &&
123
- M2_HOME=`cygpath --unix "$M2_HOME"`
124
- [ -n "$JAVA_HOME" ] &&
125
- JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
126
- [ -n "$CLASSPATH" ] &&
127
- CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
128
- fi
129
-
130
- # For Migwn, ensure paths are in UNIX format before anything is touched
131
- if $mingw ; then
132
- [ -n "$M2_HOME" ] &&
133
- M2_HOME="`(cd "$M2_HOME"; pwd)`"
134
- [ -n "$JAVA_HOME" ] &&
135
- JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
136
- # TODO classpath?
137
- fi
138
-
139
- if [ -z "$JAVA_HOME" ]; then
140
- javaExecutable="`which javac`"
141
- if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
142
- # readlink(1) is not available as standard on Solaris 10.
143
- readLink=`which readlink`
144
- if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
145
- javaExecutable="`readlink -f \"$javaExecutable\"`"
146
- javaHome="`dirname \"$javaExecutable\"`"
147
- javaHome=`expr "$javaHome" : '\(.*\)/bin'`
148
- JAVA_HOME="$javaHome"
149
- export JAVA_HOME
150
- fi
151
- fi
152
- fi
153
-
154
- if [ -z "$JAVACMD" ] ; then
155
- if [ -n "$JAVA_HOME" ] ; then
156
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
157
- # IBM's JDK on AIX uses strange locations for the executables
158
- JAVACMD="$JAVA_HOME/jre/sh/java"
159
- else
160
- JAVACMD="$JAVA_HOME/bin/java"
161
- fi
162
- else
163
- JAVACMD="`which java`"
164
- fi
165
- fi
166
-
167
- if [ ! -x "$JAVACMD" ] ; then
168
- echo "Error: JAVA_HOME is not defined correctly." >&2
169
- echo " We cannot execute $JAVACMD" >&2
170
- exit 1
171
- fi
172
-
173
- if [ -z "$JAVA_HOME" ] ; then
174
- echo "Warning: JAVA_HOME environment variable is not set."
175
- fi
176
-
177
- CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
178
-
179
- # For Cygwin, switch paths to Windows format before running java
180
- if $cygwin; then
181
- [ -n "$M2_HOME" ] &&
182
- M2_HOME=`cygpath --path --windows "$M2_HOME"`
183
- [ -n "$JAVA_HOME" ] &&
184
- JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
185
- [ -n "$CLASSPATH" ] &&
186
- CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
187
- fi
188
-
189
- # Provide a "standardized" way to retrieve the CLI args that will
190
- # work with both Windows and non-Windows executions.
191
- MAVEN_CMD_LINE_ARGS="$@"
192
- export MAVEN_CMD_LINE_ARGS
193
-
194
- exec "$JAVACMD" \
195
- $MAVEN_OPTS \
196
- $MAVEN_DEBUG_OPTS \
197
- -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
198
- "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
199
- "-Dmaven.home=${M2_HOME}" \
200
- ${CLASSWORLDS_LAUNCHER} "$@"
@@ -1,200 +0,0 @@
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
22
- @REM
23
- @REM Required ENV vars:
24
- @REM JAVA_HOME - location of a JDK home dir
25
- @REM
26
- @REM Optional ENV vars
27
- @REM M2_HOME - location of maven2's installed home dir
28
- @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
- @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
- @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
- @REM e.g. to debug Maven itself, use
32
- @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
- @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
- @REM ----------------------------------------------------------------------------
35
-
36
- @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
- @echo off
38
- @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
- @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
40
-
41
- @echo Preparing to Execute Maven in Debug Mode
42
-
43
- @REM set %HOME% to equivalent of $HOME
44
- if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
45
-
46
- @REM Execute a user defined script before this one
47
- if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
48
- if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
49
- :skipRcPre
50
-
51
- set ERROR_CODE=0
52
-
53
- @REM set local scope for the variables with windows NT shell
54
- if "%OS%"=="Windows_NT" @setlocal
55
- if "%OS%"=="WINNT" @setlocal
56
-
57
- set MAVEN_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
58
-
59
- @REM ==== START VALIDATION ====
60
- if not "%JAVA_HOME%" == "" goto OkJHome
61
-
62
- echo.
63
- echo Error: JAVA_HOME not found in your environment. >&2
64
- echo Please set the JAVA_HOME variable in your environment to match the >&2
65
- echo location of your Java installation >&2
66
- echo.
67
- goto error
68
-
69
- :OkJHome
70
- if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
71
-
72
- echo.
73
- echo Error: JAVA_HOME is set to an invalid directory. >&2
74
- echo JAVA_HOME = "%JAVA_HOME%" >&2
75
- echo Please set the JAVA_HOME variable in your environment to match the >&2
76
- echo location of your Java installation >&2
77
- echo.
78
- goto error
79
-
80
- :chkMHome
81
- if not "%M2_HOME%"=="" goto valMHome
82
-
83
- if "%OS%"=="Windows_NT" SET "M2_HOME=%~dp0.."
84
- if "%OS%"=="WINNT" SET "M2_HOME=%~dp0.."
85
- if not "%M2_HOME%"=="" goto valMHome
86
-
87
- echo.
88
- echo Error: M2_HOME not found in your environment. >&2
89
- echo Please set the M2_HOME variable in your environment to match the >&2
90
- echo location of the Maven installation >&2
91
- echo.
92
- goto error
93
-
94
- :valMHome
95
-
96
- :stripMHome
97
- if not "_%M2_HOME:~-1%"=="_\" goto checkMBat
98
- set "M2_HOME=%M2_HOME:~0,-1%"
99
- goto stripMHome
100
-
101
- :checkMBat
102
- if exist "%M2_HOME%\bin\mvn.bat" goto init
103
-
104
- echo.
105
- echo Error: M2_HOME is set to an invalid directory. >&2
106
- echo M2_HOME = "%M2_HOME%" >&2
107
- echo Please set the M2_HOME variable in your environment to match the >&2
108
- echo location of the Maven installation >&2
109
- echo.
110
- goto error
111
- @REM ==== END VALIDATION ====
112
-
113
- :init
114
- @REM Decide how to startup depending on the version of windows
115
-
116
- @REM -- Windows NT with Novell Login
117
- if "%OS%"=="WINNT" goto WinNTNovell
118
-
119
- @REM -- Win98ME
120
- if NOT "%OS%"=="Windows_NT" goto Win9xArg
121
-
122
- :WinNTNovell
123
-
124
- @REM -- 4NT shell
125
- if "%@eval[2+2]" == "4" goto 4NTArgs
126
-
127
- @REM -- Regular WinNT shell
128
- set MAVEN_CMD_LINE_ARGS=%*
129
- goto endInit
130
-
131
- @REM The 4NT Shell from jp software
132
- :4NTArgs
133
- set MAVEN_CMD_LINE_ARGS=%$
134
- goto endInit
135
-
136
- :Win9xArg
137
- @REM Slurp the command line arguments. This loop allows for an unlimited number
138
- @REM of agruments (up to the command line limit, anyway).
139
- set MAVEN_CMD_LINE_ARGS=
140
- :Win9xApp
141
- if %1a==a goto endInit
142
- set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
143
- shift
144
- goto Win9xApp
145
-
146
- @REM Reaching here means variables are defined and arguments have been captured
147
- :endInit
148
- SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
149
-
150
- @REM -- 4NT shell
151
- if "%@eval[2+2]" == "4" goto 4NTCWJars
152
-
153
- @REM -- Regular WinNT shell
154
- for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
155
- goto runm2
156
-
157
- @REM The 4NT Shell from jp software
158
- :4NTCWJars
159
- for %%i in ("%M2_HOME%\boot\plexus-classworlds-*") do set CLASSWORLDS_JAR="%%i"
160
- goto runm2
161
-
162
- @REM Start MAVEN2
163
- :runm2
164
- set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
165
- %MAVEN_JAVA_EXE% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
166
- if ERRORLEVEL 1 goto error
167
- goto end
168
-
169
- :error
170
- if "%OS%"=="Windows_NT" @endlocal
171
- if "%OS%"=="WINNT" @endlocal
172
- set ERROR_CODE=1
173
-
174
- :end
175
- @REM set local scope for the variables with windows NT shell
176
- if "%OS%"=="Windows_NT" goto endNT
177
- if "%OS%"=="WINNT" goto endNT
178
-
179
- @REM For old DOS remove the set variables from ENV - we assume they were not set
180
- @REM before we started - at least we don't leave any baggage around
181
- set MAVEN_JAVA_EXE=
182
- set MAVEN_CMD_LINE_ARGS=
183
- goto postExec
184
-
185
- :endNT
186
- @endlocal & set ERROR_CODE=%ERROR_CODE%
187
-
188
- :postExec
189
-
190
- if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
191
- if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
192
- :skipRcPost
193
-
194
- @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
195
- if "%MAVEN_BATCH_PAUSE%" == "on" pause
196
-
197
- if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
198
-
199
- exit /B %ERROR_CODE%
200
-
@@ -1,207 +0,0 @@
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
- QUOTED_ARGS=""
38
- while [ "$1" != "" ] ; do
39
-
40
- QUOTED_ARGS="$QUOTED_ARGS \"$1\""
41
- shift
42
-
43
- done
44
-
45
- if [ -z "$MAVEN_SKIP_RC" ] ; then
46
-
47
- if [ -f /etc/mavenrc ] ; then
48
- . /etc/mavenrc
49
- fi
50
-
51
- if [ -f "$HOME/.mavenrc" ] ; then
52
- . "$HOME/.mavenrc"
53
- fi
54
-
55
- fi
56
-
57
- # OS specific support. $var _must_ be set to either true or false.
58
- cygwin=false;
59
- darwin=false;
60
- mingw=false
61
- case "`uname`" in
62
- CYGWIN*) cygwin=true ;;
63
- MINGW*) mingw=true;;
64
- Darwin*) darwin=true
65
- #
66
- # Look for the Apple JDKs first to preserve the existing behaviour, and then look
67
- # for the new JDKs provided by Oracle.
68
- #
69
- if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then
70
- #
71
- # Apple JDKs
72
- #
73
- export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
74
- fi
75
-
76
- if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then
77
- #
78
- # Apple JDKs
79
- #
80
- export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
81
- fi
82
-
83
- if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then
84
- #
85
- # Oracle JDKs
86
- #
87
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home
88
- fi
89
- ;;
90
- esac
91
-
92
- if [ -z "$JAVA_HOME" ] ; then
93
- if [ -r /etc/gentoo-release ] ; then
94
- JAVA_HOME=`java-config --jre-home`
95
- fi
96
- fi
97
-
98
- if [ -z "$M2_HOME" ] ; then
99
- ## resolve links - $0 may be a link to maven's home
100
- PRG="$0"
101
-
102
- # need this for relative symlinks
103
- while [ -h "$PRG" ] ; do
104
- ls=`ls -ld "$PRG"`
105
- link=`expr "$ls" : '.*-> \(.*\)$'`
106
- if expr "$link" : '/.*' > /dev/null; then
107
- PRG="$link"
108
- else
109
- PRG="`dirname "$PRG"`/$link"
110
- fi
111
- done
112
-
113
- saveddir=`pwd`
114
-
115
- M2_HOME=`dirname "$PRG"`/..
116
-
117
- # make it fully qualified
118
- M2_HOME=`cd "$M2_HOME" && pwd`
119
-
120
- cd "$saveddir"
121
- # echo Using m2 at $M2_HOME
122
- fi
123
-
124
- # For Cygwin, ensure paths are in UNIX format before anything is touched
125
- if $cygwin ; then
126
- [ -n "$M2_HOME" ] &&
127
- M2_HOME=`cygpath --unix "$M2_HOME"`
128
- [ -n "$JAVA_HOME" ] &&
129
- JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
130
- [ -n "$CLASSPATH" ] &&
131
- CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
132
- fi
133
-
134
- # For Migwn, ensure paths are in UNIX format before anything is touched
135
- if $mingw ; then
136
- [ -n "$M2_HOME" ] &&
137
- M2_HOME="`(cd "$M2_HOME"; pwd)`"
138
- [ -n "$JAVA_HOME" ] &&
139
- JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
140
- # TODO classpath?
141
- fi
142
-
143
- if [ -z "$JAVA_HOME" ]; then
144
- javaExecutable="`which javac`"
145
- if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
146
- # readlink(1) is not available as standard on Solaris 10.
147
- readLink=`which readlink`
148
- if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
149
- javaExecutable="`readlink -f \"$javaExecutable\"`"
150
- javaHome="`dirname \"$javaExecutable\"`"
151
- javaHome=`expr "$javaHome" : '\(.*\)/bin'`
152
- JAVA_HOME="$javaHome"
153
- export JAVA_HOME
154
- fi
155
- fi
156
- fi
157
-
158
- if [ -z "$JAVACMD" ] ; then
159
- if [ -n "$JAVA_HOME" ] ; then
160
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
161
- # IBM's JDK on AIX uses strange locations for the executables
162
- JAVACMD="$JAVA_HOME/jre/sh/java"
163
- else
164
- JAVACMD="$JAVA_HOME/bin/java"
165
- fi
166
- else
167
- JAVACMD="`which java`"
168
- fi
169
- fi
170
-
171
- if [ ! -x "$JAVACMD" ] ; then
172
- echo "Error: JAVA_HOME is not defined correctly." >&2
173
- echo " We cannot execute $JAVACMD" >&2
174
- exit 1
175
- fi
176
-
177
- if [ -z "$JAVA_HOME" ] ; then
178
- echo "Warning: JAVA_HOME environment variable is not set."
179
- fi
180
-
181
- CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
182
-
183
- # For Cygwin, switch paths to Windows format before running java
184
- if $cygwin; then
185
- [ -n "$M2_HOME" ] &&
186
- M2_HOME=`cygpath --path --windows "$M2_HOME"`
187
- [ -n "$JAVA_HOME" ] &&
188
- JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
189
- [ -n "$CLASSPATH" ] &&
190
- CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
191
- fi
192
-
193
- if [ ! -f "$YJPLIB" ]; then
194
- echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
195
- exit 1
196
- fi
197
-
198
- MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS"
199
-
200
- exec "$JAVACMD" \
201
- $MAVEN_OPTS \
202
- -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
203
- "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
204
- "-Dmaven.home=${M2_HOME}" \
205
- ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS
206
-
207
-