Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Importing HEAD sources from https://svn.codehaus.org/groovy/gmaven

  • Loading branch information...
commit 8c6c548fde2d37648974ba00212030e6e5c1eebf 0 parents
user57 authored

Showing 478 changed files with 20,448 additions and 0 deletions. Show diff stats Hide diff stats

  1. +203 0 LICENSE.txt
  2. +61 0 README.txt
  3. +47 0 gmaven-archetypes/gmaven-archetype-basic/pom.xml
  4. +67 0 gmaven-archetypes/gmaven-archetype-basic/src/main/filtered-resources/archetype-resources/pom.xml
  5. +44 0 gmaven-archetypes/gmaven-archetype-basic/src/main/resources/META-INF/maven/archetype-metadata.xml
  6. +32 0 gmaven-archetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/main/groovy/Example.groovy
  7. +32 0 gmaven-archetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/main/groovy/Helper.java
  8. +35 0 ...archetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/test/groovy/ExampleTest.groovy
  9. +35 0 ...-archetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/test/groovy/HelperTest.groovy
  10. +47 0 gmaven-archetypes/gmaven-archetype-mojo/pom.xml
  11. +68 0 gmaven-archetypes/gmaven-archetype-mojo/src/main/filtered-resources/archetype-resources/pom.xml
  12. +44 0 gmaven-archetypes/gmaven-archetype-mojo/src/main/resources/META-INF/maven/archetype-metadata.xml
  13. +44 0 ...en-archetypes/gmaven-archetype-mojo/src/main/resources/archetype-resources/src/main/groovy/HelloMojo.groovy
  14. +110 0 gmaven-archetypes/pom.xml
  15. +46 0 gmaven-common/pom.xml
  16. +138 0 gmaven-common/src/main/java/org/codehaus/groovy/maven/common/ArtifactItem.java
  17. +143 0 gmaven-common/src/main/java/org/codehaus/groovy/maven/common/StreamPair.java
  18. +266 0 gmaven-common/src/main/java/org/codehaus/groovy/maven/common/SystemOutputHijacker.java
  19. +207 0 gmaven-common/src/test/java/org/codehaus/groovy/maven/common/SystemOutputHijackerTest.java
  20. +70 0 gmaven-examples/clean-maven-plugin/pom.xml
  21. +1 0  gmaven-examples/clean-maven-plugin/src/it/clean-1/goals.txt
  22. +48 0 gmaven-examples/clean-maven-plugin/src/it/clean-1/pom.xml
  23. +29 0 gmaven-examples/clean-maven-plugin/src/it/clean-1/setup.groovy
  24. +22 0 gmaven-examples/clean-maven-plugin/src/it/clean-1/validate.groovy
  25. +65 0 gmaven-examples/clean-maven-plugin/src/main/groovy/org/codehaus/groovy/maven/examples/clean/CleanMojo.groovy
  26. +85 0 gmaven-examples/install-maven-plugin/pom.xml
  27. +1 0  gmaven-examples/install-maven-plugin/src/it/install-1/goals.txt
  28. +58 0 gmaven-examples/install-maven-plugin/src/it/install-1/pom.xml
  29. +23 0 gmaven-examples/install-maven-plugin/src/it/install-1/setup.groovy
  30. +3 0  gmaven-examples/install-maven-plugin/src/it/install-1/src/main/java/test.java
  31. 0  gmaven-examples/install-maven-plugin/src/it/install-1/src/main/resources/test
  32. +23 0 gmaven-examples/install-maven-plugin/src/it/install-1/validate.groovy
  33. +94 0 ...examples/install-maven-plugin/src/main/groovy/org/codehaus/groovy/maven/examples/install/InstallMojo.groovy
  34. +145 0 ...s/install-maven-plugin/src/main/groovy/org/codehaus/groovy/maven/examples/install/InstallMojoSupport.groovy
  35. +83 0 gmaven-examples/pom.xml
  36. +53 0 gmaven-feature/gmaven-feature-api/pom.xml
  37. +30 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/Component.java
  38. +41 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ComponentException.java
  39. +319 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/Configuration.java
  40. +41 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ConfigurationException.java
  41. +40 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/Feature.java
  42. +41 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/FeatureException.java
  43. +46 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/Provider.java
  44. +41 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ProviderException.java
  45. +30 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ProviderLoader.java
  46. +34 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ProviderManager.java
  47. +40 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ProviderRegistry.java
  48. +34 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/ProviderSelector.java
  49. +117 0 gmaven-feature/gmaven-feature-api/src/main/java/org/codehaus/groovy/maven/feature/Version.java
  50. +49 0 gmaven-feature/gmaven-feature-support/pom.xml
  51. +59 0 ...eature/gmaven-feature-support/src/main/java/org/codehaus/groovy/maven/feature/support/ComponentSupport.java
  52. +172 0 ...-feature/gmaven-feature-support/src/main/java/org/codehaus/groovy/maven/feature/support/FeatureSupport.java
  53. +189 0 ...feature/gmaven-feature-support/src/main/java/org/codehaus/groovy/maven/feature/support/ProviderSupport.java
  54. +44 0 gmaven-feature/pom.xml
  55. +132 0 gmaven-legacy/groovy-maven-plugin/pom.xml
  56. +42 0 gmaven-legacy/groovy-maven-plugin/src/main/java/org/codehaus/groovy/maven/legacy/plugin/LegacyMojo.java
  57. +43 0 gmaven-legacy/pom.xml
  58. +64 0 gmaven-mojo-support/pom.xml
  59. +120 0 gmaven-mojo-support/src/main/groovy/org/codehaus/groovy/maven/mojo/support/ProcessLauncher.groovy
  60. +128 0 gmaven-mojo-support/src/main/groovy/org/codehaus/groovy/maven/mojo/support/ShellExecutor.groovy
  61. +91 0 gmaven-mojo/pom.xml
  62. +126 0 gmaven-mojo/src/main/groovy/org/codehaus/groovy/maven/mojo/GroovyMojo.groovy
  63. +54 0 gmaven-packaging/pom.xml
  64. +40 0 gmaven-packaging/src/it/common.xml
  65. +1 0  gmaven-packaging/src/it/gmaven-plugin-1/goals.txt
  66. +39 0 gmaven-packaging/src/it/gmaven-plugin-1/pom.xml
  67. +24 0 gmaven-packaging/src/it/gmaven-plugin-1/validate.groovy
  68. +1 0  gmaven-packaging/src/it/groovy-jar-1/goals.txt
  69. +39 0 gmaven-packaging/src/it/groovy-jar-1/pom.xml
  70. +24 0 gmaven-packaging/src/it/groovy-jar-1/validate.groovy
  71. +147 0 gmaven-packaging/src/main/resources/META-INF/plexus/components.xml
  72. +270 0 gmaven-plugin/pom.xml
  73. +1 0  gmaven-plugin/src/it/anttasks-1/goals.txt
  74. +80 0 gmaven-plugin/src/it/anttasks-1/pom.xml
  75. +23 0 gmaven-plugin/src/it/anttasks-1/src/test/groovy/test.groovy
  76. +21 0 gmaven-plugin/src/it/anttasks-1/validate.groovy
  77. +131 0 gmaven-plugin/src/it/common.xml
  78. +37 0 gmaven-plugin/src/it/compile/common.xml
  79. +1 0  gmaven-plugin/src/it/compile/compile-1/goals.txt
  80. +61 0 gmaven-plugin/src/it/compile/compile-1/pom.xml
  81. +25 0 gmaven-plugin/src/it/compile/compile-1/src/main/groovy/Hello.groovy
  82. +27 0 gmaven-plugin/src/it/compile/compile-1/src/main/groovy/HelloSupport.groovy
  83. +18 0 gmaven-plugin/src/it/compile/compile-1/src/main/groovy/sayhello.groovy
  84. +33 0 gmaven-plugin/src/it/compile/compile-1/validate.groovy
  85. +1 0  gmaven-plugin/src/it/compile/compile-2/goals.txt
  86. +65 0 gmaven-plugin/src/it/compile/compile-2/pom.xml
  87. +25 0 gmaven-plugin/src/it/compile/compile-2/src/custom/groovy/DoNotCompileMe.groovy
  88. +27 0 gmaven-plugin/src/it/compile/compile-2/src/custom/groovy/HelloSupport.groovy
  89. +27 0 gmaven-plugin/src/it/compile/compile-2/src/custom/groovy/sayhello.groovy
  90. +25 0 gmaven-plugin/src/it/compile/compile-2/src/main/groovy/DoNotCompileMe.groovy
  91. +33 0 gmaven-plugin/src/it/compile/compile-2/validate.groovy
  92. +2 0  gmaven-plugin/src/it/compile/compile-3/goals.txt
  93. +47 0 gmaven-plugin/src/it/compile/compile-3/pom.xml
  94. +27 0 gmaven-plugin/src/it/compile/compile-3/src/main/groovy/HelloSupport.groovy
  95. +27 0 gmaven-plugin/src/it/compile/compile-3/src/main/groovy/sayhello.groovy
  96. +33 0 gmaven-plugin/src/it/compile/compile-3/validate.groovy
  97. +1 0  gmaven-plugin/src/it/compile/compile-4/goals.txt
  98. +93 0 gmaven-plugin/src/it/compile/compile-4/pom.xml
  99. 0  gmaven-plugin/src/it/compile/compile-4/src/main/groovy/Hello.groovy
  100. +27 0 gmaven-plugin/src/it/compile/compile-4/src/main/groovy/HelloSupport.groovy
  101. +27 0 gmaven-plugin/src/it/compile/compile-4/src/main/groovy/sayhello.groovy
  102. +1 0  gmaven-plugin/src/it/compile/generate-stubs-1/goals.txt
  103. +107 0 gmaven-plugin/src/it/compile/generate-stubs-1/pom.xml
  104. +25 0 gmaven-plugin/src/it/compile/generate-stubs-1/src/main/groovy/testing/CrackPipe.groovy
  105. +30 0 gmaven-plugin/src/it/compile/generate-stubs-1/src/main/groovy/testing/CrackPipeSupport.java
  106. +30 0 gmaven-plugin/src/it/compile/generate-stubs-1/src/main/groovy/testing/DarkCrystal.groovy
  107. +21 0 gmaven-plugin/src/it/compile/generate-stubs-1/src/main/groovy/testing/HelloScript.groovy
  108. +26 0 gmaven-plugin/src/it/compile/generate-stubs-1/src/main/groovy/testing/YellowTubularSwimmingThingy.java
  109. +1 0  gmaven-plugin/src/it/compile/generate-stubs-2/goals.txt
  110. +73 0 gmaven-plugin/src/it/compile/generate-stubs-2/pom.xml
  111. +25 0 gmaven-plugin/src/it/compile/generate-stubs-2/src/main/groovy/testing/CrackPipe.groovy
  112. +30 0 gmaven-plugin/src/it/compile/generate-stubs-2/src/main/groovy/testing/CrackPipeSupport.java
  113. +30 0 gmaven-plugin/src/it/compile/generate-stubs-2/src/main/groovy/testing/DarkCrystal.groovy
  114. +26 0 gmaven-plugin/src/it/compile/generate-stubs-2/src/main/groovy/testing/YellowTubularSwimmingThingy.java
  115. +21 0 gmaven-plugin/src/it/compile/generate-stubs-2/validate.groovy
  116. +1 0  gmaven-plugin/src/it/compile/mixed-compile-1/goals.txt
  117. +70 0 gmaven-plugin/src/it/compile/mixed-compile-1/pom.xml
  118. +28 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/main/groovy/mgroovy186/Child.groovy
  119. +32 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/main/groovy/mgroovy186/Parent.java
  120. +25 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/main/groovy/testing/CrackPipe.groovy
  121. +30 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/main/groovy/testing/CrackPipeSupport.java
  122. +30 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/main/groovy/testing/DarkCrystal.groovy
  123. +26 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/main/groovy/testing/YellowTubularSwimmingThingy.java
  124. +34 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/test/groovy/mgroovy186/ChildTest.groovy
  125. +35 0 gmaven-plugin/src/it/compile/mixed-compile-1/src/test/groovy/testing/SmokeTest.groovy
  126. +1 0  gmaven-plugin/src/it/compile/mixed-compile-2/goals.txt
  127. +70 0 gmaven-plugin/src/it/compile/mixed-compile-2/pom.xml
  128. +25 0 gmaven-plugin/src/it/compile/mixed-compile-2/src/main/groovy/testing/CrackPipe.groovy
  129. +30 0 gmaven-plugin/src/it/compile/mixed-compile-2/src/main/groovy/testing/CrackPipeSupport.java
  130. +30 0 gmaven-plugin/src/it/compile/mixed-compile-2/src/main/groovy/testing/DarkCrystal.groovy
  131. +26 0 gmaven-plugin/src/it/compile/mixed-compile-2/src/main/groovy/testing/YellowTubularSwimmingThingy.java
  132. +35 0 gmaven-plugin/src/it/compile/mixed-compile-2/src/test/groovy/testing/SmokeTest.groovy
  133. +1 0  gmaven-plugin/src/it/compile/test-compile-1/goals.txt
  134. +68 0 gmaven-plugin/src/it/compile/test-compile-1/pom.xml
  135. +28 0 gmaven-plugin/src/it/compile/test-compile-1/src/test/groovy/SimpleTest.groovy
  136. +30 0 gmaven-plugin/src/it/compile/test-compile-1/src/test/groovy/TestSupport.groovy
  137. +21 0 gmaven-plugin/src/it/compile/test-compile-1/validate.groovy
  138. +1 0  gmaven-plugin/src/it/compile/test-compile-2/goals.txt
  139. +80 0 gmaven-plugin/src/it/compile/test-compile-2/pom.xml
  140. +30 0 gmaven-plugin/src/it/compile/test-compile-2/src/main/java/foo/Bar.java
  141. 0  gmaven-plugin/src/it/compile/test-compile-2/src/main/resources/main.txt
  142. +31 0 gmaven-plugin/src/it/compile/test-compile-2/src/test/groovy/foo/BarTest.groovy
  143. 0  gmaven-plugin/src/it/compile/test-compile-2/src/test/resources/test.txt
  144. +21 0 gmaven-plugin/src/it/compile/test-compile-2/validate.groovy
  145. +1 0  gmaven-plugin/src/it/compile/test-compile-3/goals.txt
  146. +73 0 gmaven-plugin/src/it/compile/test-compile-3/pom.xml
  147. +30 0 gmaven-plugin/src/it/compile/test-compile-3/src/main/java/foo/Bar.java
  148. 0  gmaven-plugin/src/it/compile/test-compile-3/src/main/resources/main.txt
  149. +31 0 gmaven-plugin/src/it/compile/test-compile-3/src/test/groovy/foo/BarTest.groovy
  150. 0  gmaven-plugin/src/it/compile/test-compile-3/src/test/resources/test.txt
  151. +21 0 gmaven-plugin/src/it/compile/test-compile-3/validate.groovy
  152. +1 0  gmaven-plugin/src/it/compile/test-compile-4/goals.txt
  153. +81 0 gmaven-plugin/src/it/compile/test-compile-4/pom.xml
  154. +28 0 gmaven-plugin/src/it/compile/test-compile-4/src/test/groovy/SimpleTest.groovy
  155. +30 0 gmaven-plugin/src/it/compile/test-compile-4/src/test/groovy/TestSupport.groovy
  156. +37 0 gmaven-plugin/src/it/execute/common.xml
  157. +1 0  gmaven-plugin/src/it/execute/execute-defaults/goals.txt
  158. +103 0 gmaven-plugin/src/it/execute/execute-defaults/pom.xml
  159. +1 0  gmaven-plugin/src/it/execute/execute-file-1/goals.txt
  160. +58 0 gmaven-plugin/src/it/execute/execute-file-1/pom.xml
  161. +29 0 gmaven-plugin/src/it/execute/execute-file-1/src/main/groovy/HelloSupport.groovy
  162. +29 0 gmaven-plugin/src/it/execute/execute-file-1/src/main/groovy/sayhello.groovy
  163. +1 0  gmaven-plugin/src/it/execute/execute-file-2/goals.txt
  164. +50 0 gmaven-plugin/src/it/execute/execute-file-2/pom.xml
  165. +27 0 gmaven-plugin/src/it/execute/execute-file-2/src/main/groovy/HelloSupport.groovy
  166. +27 0 gmaven-plugin/src/it/execute/execute-file-2/src/main/groovy/sayhello.groovy
  167. +1 0  gmaven-plugin/src/it/execute/execute-inline-1/goals.txt
  168. +68 0 gmaven-plugin/src/it/execute/execute-inline-1/pom.xml
  169. +1 0  gmaven-plugin/src/it/execute/execute-inline-2/goals.txt
  170. +64 0 gmaven-plugin/src/it/execute/execute-inline-2/pom.xml
  171. +27 0 gmaven-plugin/src/it/execute/execute-inline-2/src/main/groovy/HelloSupport.groovy
  172. +1 0  gmaven-plugin/src/it/execute/execute-props-1/goals.txt
  173. +83 0 gmaven-plugin/src/it/execute/execute-props-1/pom.xml
  174. +1 0  gmaven-plugin/src/it/execute/execute-props-2/goals.txt
  175. +86 0 gmaven-plugin/src/it/execute/execute-props-2/pom.xml
  176. +21 0 gmaven-plugin/src/it/execute/execute-props-2/test.properties
  177. +1 0  gmaven-plugin/src/it/execute/execute-props-3/goals.txt
  178. +105 0 gmaven-plugin/src/it/execute/execute-props-3/pom.xml
  179. +1 0  gmaven-plugin/src/it/execute/execute-props-4/goals.txt
  180. +102 0 gmaven-plugin/src/it/execute/execute-props-4/pom.xml
  181. +21 0 gmaven-plugin/src/it/execute/execute-props-4/test.properties
  182. +1 0  gmaven-plugin/src/it/execute/execute-props-5/goals.txt
  183. +79 0 gmaven-plugin/src/it/execute/execute-props-5/module/pom.xml
  184. +49 0 gmaven-plugin/src/it/execute/execute-props-5/pom.xml
  185. +21 0 gmaven-plugin/src/it/execute/execute-props-5/test.properties
  186. +1 0  gmaven-plugin/src/it/execute/execute-props-6/goals.txt
  187. +127 0 gmaven-plugin/src/it/execute/execute-props-6/pom.xml
  188. +26 0 gmaven-plugin/src/it/execute/execute-props-6/test.properties
  189. +22 0 gmaven-plugin/src/it/execute/execute-props-6/validate.groovy
  190. +1 0  gmaven-plugin/src/it/execute/execute-source/goals.txt
  191. +84 0 gmaven-plugin/src/it/execute/execute-source/pom.xml
  192. +18 0 gmaven-plugin/src/it/execute/execute-source/src/main/groovy/test.groovy
  193. +1 0  gmaven-plugin/src/it/expansion-1/goals.txt
  194. +72 0 gmaven-plugin/src/it/expansion-1/pom.xml
  195. +21 0 gmaven-plugin/src/it/expansion-1/validate.groovy
  196. +1 0  gmaven-plugin/src/it/plexus-descriptor-1/goals.txt
  197. +74 0 gmaven-plugin/src/it/plexus-descriptor-1/pom.xml
  198. +32 0 gmaven-plugin/src/it/plexus-descriptor-1/src/main/groovy/ComponentA.groovy
  199. +32 0 gmaven-plugin/src/it/plexus-descriptor-1/src/main/groovy/testing/ComponentB.groovy
  200. +21 0 gmaven-plugin/src/it/plexus-descriptor-1/validate.groovy
  201. +63 0 gmaven-plugin/src/it/script-libraries/app/pom.xml
  202. +1 0  gmaven-plugin/src/it/script-libraries/goals.txt
  203. +40 0 gmaven-plugin/src/it/script-libraries/library/pom.xml
  204. +24 0 gmaven-plugin/src/it/script-libraries/library/src/main/resources/AppImpl.groovy
  205. +30 0 gmaven-plugin/src/it/script-libraries/library/src/main/resources/AppSupport.groovy
  206. +31 0 gmaven-plugin/src/it/script-libraries/library/src/main/resources/util/Utils.groovy
  207. +40 0 gmaven-plugin/src/it/script-libraries/pom.xml
  208. +116 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/CompileState.java
  209. +157 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/CompilerMojoSupport.java
  210. +69 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/ComponentMojoSupport.java
  211. +323 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/MojoSupport.java
  212. +216 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/ProviderMojoSupport.java
  213. +209 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/compile/AbstractCompileMojo.java
  214. +74 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/compile/CompileMojo.java
  215. +93 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/compile/TestCompileMojo.java
  216. +385 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/execute/ExecuteMojo.java
  217. +251 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/execute/ExpressionEvaluatorImpl.java
  218. +168 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/execute/GroovyMavenProjectAdapter.java
  219. +622 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/execute/MavenProjectDelegateAdapter.java
  220. +41 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/execute/Source.java
  221. +68 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/execute/SourceConverter.java
  222. +178 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/stubgen/AbstractGenerateStubsMojo.java
  223. +73 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/stubgen/GenerateStubsMojo.java
  224. +73 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/stubgen/GenerateTestStubsMojo.java
  225. +69 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/tools/ConsoleMojo.java
  226. +152 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/tools/ProvidersMojo.java
  227. +149 0 gmaven-plugin/src/main/java/org/codehaus/groovy/maven/plugin/tools/ShellMojo.java
  228. +69 0 gmaven-plugin/src/main/resources/META-INF/plexus/components.xml
  229. +209 0 gmaven-runtime/gmaven-runtime-1.0/pom.xml
  230. +155 0 ...n-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/ClassCompilerFeature.java
  231. +184 0 ...en-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/ClassFactoryFeature.java
  232. +95 0 gmaven-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/ConsoleFeature.java
  233. +69 0 gmaven-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/ProviderImpl.java
  234. +108 0 ...-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/ScriptExecutorFeature.java
  235. +78 0 gmaven-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/ShellFeature.java
  236. +148 0 ...en-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/StubCompilerFeature.java
  237. +40 0 ...-runtime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/TraceSanitizerFeature.java
  238. +68 0 ...ntime/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/stubgen/ModelFactoryImpl.java
  239. +253 0 ...time/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/stubgen/ParserFactoryImpl.java
  240. +50 0 ...me/gmaven-runtime-1.0/src/main/java/org/codehaus/groovy/maven/runtime/v1_0/stubgen/RendererFactoryImpl.java
  241. +55 0 ...e/gmaven-runtime-1.0/src/test/java/org/codehaus/groovy/maven/runtime/v1_0/stubgen/ModelFactoryImplTest.java
  242. +90 0 ...maven-runtime-1.0/src/test/java/org/codehaus/groovy/maven/runtime/v1_0/stubgen/RendererFactoryImplTest.java
  243. +43 0 ...gmaven-runtime-1.0/src/test/resources/org/codehaus/groovy/maven/runtime/v1_0/stubgen/SimpleInterface.groovy
  244. +27 0 ...me/gmaven-runtime-1.0/src/test/resources/org/codehaus/groovy/maven/runtime/v1_0/stubgen/SimpleScript.groovy
  245. +240 0 ...time/gmaven-runtime-1.0/src/test/resources/org/codehaus/groovy/maven/runtime/v1_0/stubgen/SimpleTest.groovy
  246. +77 0 gmaven-runtime/gmaven-runtime-1.5/pom.xml
  247. +170 0 ...n-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/ClassCompilerFeature.java
  248. +184 0 ...en-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/ClassFactoryFeature.java
  249. +95 0 gmaven-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/ConsoleFeature.java
  250. +69 0 gmaven-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/ProviderImpl.java
  251. +107 0 ...-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/ScriptExecutorFeature.java
  252. +169 0 gmaven-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/ShellFeature.java
  253. +148 0 ...en-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/StubCompilerFeature.java
  254. +40 0 ...-runtime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/TraceSanitizerFeature.java
  255. +59 0 ...ntime/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/stubgen/ModelFactoryImpl.java
  256. +260 0 ...time/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/stubgen/ParserFactoryImpl.java
  257. +50 0 ...me/gmaven-runtime-1.5/src/main/java/org/codehaus/groovy/maven/runtime/v1_5/stubgen/RendererFactoryImpl.java
  258. +55 0 ...e/gmaven-runtime-1.5/src/test/java/org/codehaus/groovy/maven/runtime/v1_5/stubgen/ModelFactoryImplTest.java
  259. +90 0 ...maven-runtime-1.5/src/test/java/org/codehaus/groovy/maven/runtime/v1_5/stubgen/RendererFactoryImplTest.java
  260. +43 0 ...gmaven-runtime-1.5/src/test/resources/org/codehaus/groovy/maven/runtime/v1_5/stubgen/SimpleInterface.groovy
  261. +27 0 ...me/gmaven-runtime-1.5/src/test/resources/org/codehaus/groovy/maven/runtime/v1_5/stubgen/SimpleScript.groovy
  262. +239 0 ...time/gmaven-runtime-1.5/src/test/resources/org/codehaus/groovy/maven/runtime/v1_5/stubgen/SimpleTest.groovy
  263. +101 0 gmaven-runtime/gmaven-runtime-1.6/pom.xml
  264. +173 0 ...n-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/ClassCompilerFeature.java
  265. +184 0 ...en-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/ClassFactoryFeature.java
  266. +95 0 gmaven-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/ConsoleFeature.java
  267. +69 0 gmaven-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/ProviderImpl.java
  268. +107 0 ...-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/ScriptExecutorFeature.java
  269. +169 0 gmaven-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/ShellFeature.java
  270. +148 0 ...en-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/StubCompilerFeature.java
  271. +40 0 ...-runtime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/TraceSanitizerFeature.java
  272. +59 0 ...ntime/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/ModelFactoryImpl.java
  273. +253 0 ...time/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/ParserFactoryImpl.java
  274. +50 0 ...me/gmaven-runtime-1.6/src/main/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/RendererFactoryImpl.java
  275. +31 0 ...maven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/AnnotationRenderingTest.java
  276. +31 0 ...ime/gmaven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/ClassRenderingTest.java
  277. +31 0 ...time/gmaven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/EnumRenderingTest.java
  278. +31 0 .../gmaven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/GenericsRenderingTest.java
  279. +31 0 ...gmaven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/InterfaceRenderingTest.java
  280. +89 0 ...me/gmaven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/RendererTestSupport.java
  281. +31 0 ...me/gmaven-runtime-1.6/src/test/java/org/codehaus/groovy/maven/runtime/v1_6/stubgen/ScriptRenderingTest.java
  282. +34 0 ...gmaven-runtime-1.6/src/test/resources/org/codehaus/groovy/maven/runtime/v1_6/stubgen/annotations.groovy.txt
  283. +239 0 ...ime/gmaven-runtime-1.6/src/test/resources/org/codehaus/groovy/maven/runtime/v1_6/stubgen/classes.groovy.txt
  284. +50 0 ...ntime/gmaven-runtime-1.6/src/test/resources/org/codehaus/groovy/maven/runtime/v1_6/stubgen/enums.groovy.txt
  285. +26 0 ...me/gmaven-runtime-1.6/src/test/resources/org/codehaus/groovy/maven/runtime/v1_6/stubgen/generics.groovy.txt
  286. +43 0 .../gmaven-runtime-1.6/src/test/resources/org/codehaus/groovy/maven/runtime/v1_6/stubgen/interfaces.groovy.txt
  287. +27 0 ...ime/gmaven-runtime-1.6/src/test/resources/org/codehaus/groovy/maven/runtime/v1_6/stubgen/scripts.groovy.txt
  288. +44 0 gmaven-runtime/gmaven-runtime-api/pom.xml
  289. +68 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/ClassCompiler.java
  290. +41 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/ClassFactory.java
  291. +33 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/Console.java
  292. +36 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/ScriptExecutor.java
  293. +60 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/Shell.java
  294. +33 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/StubCompiler.java
  295. +47 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/TraceSanitizer.java
  296. +28 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/util/Callable.java
  297. +124 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/util/ClassSource.java
  298. +46 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/util/Compiler.java
  299. +28 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/util/MagicAttribute.java
  300. +31 0 gmaven-runtime/gmaven-runtime-api/src/main/java/org/codehaus/groovy/maven/runtime/util/ResourceLoader.java
  301. +84 0 gmaven-runtime/gmaven-runtime-loader/pom.xml
  302. +123 0 ...ime/gmaven-runtime-loader/src/main/java/org/codehaus/groovy/maven/runtime/loader/DefaultProviderLoader.java
  303. +125 0 ...me/gmaven-runtime-loader/src/main/java/org/codehaus/groovy/maven/runtime/loader/DefaultProviderManager.java
  304. +91 0 ...e/gmaven-runtime-loader/src/main/java/org/codehaus/groovy/maven/runtime/loader/DefaultProviderRegistry.java
  305. +269 0 ...e/gmaven-runtime-loader/src/main/java/org/codehaus/groovy/maven/runtime/loader/DefaultProviderSelector.java
  306. +38 0 .../gmaven-runtime-loader/src/main/java/org/codehaus/groovy/maven/runtime/loader/artifact/ArtifactHandler.java
Sorry, we could not display the entire diff because too many files (478) changed.
203 LICENSE.txt
... ... @@ -0,0 +1,203 @@
  1 +
  2 + Apache License
  3 + Version 2.0, January 2004
  4 + http://www.apache.org/licenses/
  5 +
  6 + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  7 +
  8 + 1. Definitions.
  9 +
  10 + "License" shall mean the terms and conditions for use, reproduction,
  11 + and distribution as defined by Sections 1 through 9 of this document.
  12 +
  13 + "Licensor" shall mean the copyright owner or entity authorized by
  14 + the copyright owner that is granting the License.
  15 +
  16 + "Legal Entity" shall mean the union of the acting entity and all
  17 + other entities that control, are controlled by, or are under common
  18 + control with that entity. For the purposes of this definition,
  19 + "control" means (i) the power, direct or indirect, to cause the
  20 + direction or management of such entity, whether by contract or
  21 + otherwise, or (ii) ownership of fifty percent (50%) or more of the
  22 + outstanding shares, or (iii) beneficial ownership of such entity.
  23 +
  24 + "You" (or "Your") shall mean an individual or Legal Entity
  25 + exercising permissions granted by this License.
  26 +
  27 + "Source" form shall mean the preferred form for making modifications,
  28 + including but not limited to software source code, documentation
  29 + source, and configuration files.
  30 +
  31 + "Object" form shall mean any form resulting from mechanical
  32 + transformation or translation of a Source form, including but
  33 + not limited to compiled object code, generated documentation,
  34 + and conversions to other media types.
  35 +
  36 + "Work" shall mean the work of authorship, whether in Source or
  37 + Object form, made available under the License, as indicated by a
  38 + copyright notice that is included in or attached to the work
  39 + (an example is provided in the Appendix below).
  40 +
  41 + "Derivative Works" shall mean any work, whether in Source or Object
  42 + form, that is based on (or derived from) the Work and for which the
  43 + editorial revisions, annotations, elaborations, or other modifications
  44 + represent, as a whole, an original work of authorship. For the purposes
  45 + of this License, Derivative Works shall not include works that remain
  46 + separable from, or merely link (or bind by name) to the interfaces of,
  47 + the Work and Derivative Works thereof.
  48 +
  49 + "Contribution" shall mean any work of authorship, including
  50 + the original version of the Work and any modifications or additions
  51 + to that Work or Derivative Works thereof, that is intentionally
  52 + submitted to Licensor for inclusion in the Work by the copyright owner
  53 + or by an individual or Legal Entity authorized to submit on behalf of
  54 + the copyright owner. For the purposes of this definition, "submitted"
  55 + means any form of electronic, verbal, or written communication sent
  56 + to the Licensor or its representatives, including but not limited to
  57 + communication on electronic mailing lists, source code control systems,
  58 + and issue tracking systems that are managed by, or on behalf of, the
  59 + Licensor for the purpose of discussing and improving the Work, but
  60 + excluding communication that is conspicuously marked or otherwise
  61 + designated in writing by the copyright owner as "Not a Contribution."
  62 +
  63 + "Contributor" shall mean Licensor and any individual or Legal Entity
  64 + on behalf of whom a Contribution has been received by Licensor and
  65 + subsequently incorporated within the Work.
  66 +
  67 + 2. Grant of Copyright License. Subject to the terms and conditions of
  68 + this License, each Contributor hereby grants to You a perpetual,
  69 + worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  70 + copyright license to reproduce, prepare Derivative Works of,
  71 + publicly display, publicly perform, sublicense, and distribute the
  72 + Work and such Derivative Works in Source or Object form.
  73 +
  74 + 3. Grant of Patent License. Subject to the terms and conditions of
  75 + this License, each Contributor hereby grants to You a perpetual,
  76 + worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  77 + (except as stated in this section) patent license to make, have made,
  78 + use, offer to sell, sell, import, and otherwise transfer the Work,
  79 + where such license applies only to those patent claims licensable
  80 + by such Contributor that are necessarily infringed by their
  81 + Contribution(s) alone or by combination of their Contribution(s)
  82 + with the Work to which such Contribution(s) was submitted. If You
  83 + institute patent litigation against any entity (including a
  84 + cross-claim or counterclaim in a lawsuit) alleging that the Work
  85 + or a Contribution incorporated within the Work constitutes direct
  86 + or contributory patent infringement, then any patent licenses
  87 + granted to You under this License for that Work shall terminate
  88 + as of the date such litigation is filed.
  89 +
  90 + 4. Redistribution. You may reproduce and distribute copies of the
  91 + Work or Derivative Works thereof in any medium, with or without
  92 + modifications, and in Source or Object form, provided that You
  93 + meet the following conditions:
  94 +
  95 + (a) You must give any other recipients of the Work or
  96 + Derivative Works a copy of this License; and
  97 +
  98 + (b) You must cause any modified files to carry prominent notices
  99 + stating that You changed the files; and
  100 +
  101 + (c) You must retain, in the Source form of any Derivative Works
  102 + that You distribute, all copyright, patent, trademark, and
  103 + attribution notices from the Source form of the Work,
  104 + excluding those notices that do not pertain to any part of
  105 + the Derivative Works; and
  106 +
  107 + (d) If the Work includes a "NOTICE" text file as part of its
  108 + distribution, then any Derivative Works that You distribute must
  109 + include a readable copy of the attribution notices contained
  110 + within such NOTICE file, excluding those notices that do not
  111 + pertain to any part of the Derivative Works, in at least one
  112 + of the following places: within a NOTICE text file distributed
  113 + as part of the Derivative Works; within the Source form or
  114 + documentation, if provided along with the Derivative Works; or,
  115 + within a display generated by the Derivative Works, if and
  116 + wherever such third-party notices normally appear. The contents
  117 + of the NOTICE file are for informational purposes only and
  118 + do not modify the License. You may add Your own attribution
  119 + notices within Derivative Works that You distribute, alongside
  120 + or as an addendum to the NOTICE text from the Work, provided
  121 + that such additional attribution notices cannot be construed
  122 + as modifying the License.
  123 +
  124 + You may add Your own copyright statement to Your modifications and
  125 + may provide additional or different license terms and conditions
  126 + for use, reproduction, or distribution of Your modifications, or
  127 + for any such Derivative Works as a whole, provided Your use,
  128 + reproduction, and distribution of the Work otherwise complies with
  129 + the conditions stated in this License.
  130 +
  131 + 5. Submission of Contributions. Unless You explicitly state otherwise,
  132 + any Contribution intentionally submitted for inclusion in the Work
  133 + by You to the Licensor shall be under the terms and conditions of
  134 + this License, without any additional terms or conditions.
  135 + Notwithstanding the above, nothing herein shall supersede or modify
  136 + the terms of any separate license agreement you may have executed
  137 + with Licensor regarding such Contributions.
  138 +
  139 + 6. Trademarks. This License does not grant permission to use the trade
  140 + names, trademarks, service marks, or product names of the Licensor,
  141 + except as required for reasonable and customary use in describing the
  142 + origin of the Work and reproducing the content of the NOTICE file.
  143 +
  144 + 7. Disclaimer of Warranty. Unless required by applicable law or
  145 + agreed to in writing, Licensor provides the Work (and each
  146 + Contributor provides its Contributions) on an "AS IS" BASIS,
  147 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  148 + implied, including, without limitation, any warranties or conditions
  149 + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  150 + PARTICULAR PURPOSE. You are solely responsible for determining the
  151 + appropriateness of using or redistributing the Work and assume any
  152 + risks associated with Your exercise of permissions under this License.
  153 +
  154 + 8. Limitation of Liability. In no event and under no legal theory,
  155 + whether in tort (including negligence), contract, or otherwise,
  156 + unless required by applicable law (such as deliberate and grossly
  157 + negligent acts) or agreed to in writing, shall any Contributor be
  158 + liable to You for damages, including any direct, indirect, special,
  159 + incidental, or consequential damages of any character arising as a
  160 + result of this License or out of the use or inability to use the
  161 + Work (including but not limited to damages for loss of goodwill,
  162 + work stoppage, computer failure or malfunction, or any and all
  163 + other commercial damages or losses), even if such Contributor
  164 + has been advised of the possibility of such damages.
  165 +
  166 + 9. Accepting Warranty or Additional Liability. While redistributing
  167 + the Work or Derivative Works thereof, You may choose to offer,
  168 + and charge a fee for, acceptance of support, warranty, indemnity,
  169 + or other liability obligations and/or rights consistent with this
  170 + License. However, in accepting such obligations, You may act only
  171 + on Your own behalf and on Your sole responsibility, not on behalf
  172 + of any other Contributor, and only if You agree to indemnify,
  173 + defend, and hold each Contributor harmless for any liability
  174 + incurred by, or claims asserted against, such Contributor by reason
  175 + of your accepting any such warranty or additional liability.
  176 +
  177 + END OF TERMS AND CONDITIONS
  178 +
  179 + APPENDIX: How to apply the Apache License to your work.
  180 +
  181 + To apply the Apache License to your work, attach the following
  182 + boilerplate notice, with the fields enclosed by brackets "[]"
  183 + replaced with your own identifying information. (Don't include
  184 + the brackets!) The text should be enclosed in the appropriate
  185 + comment syntax for the file format. We also recommend that a
  186 + file or class name and description of purpose be included on the
  187 + same "printed page" as the copyright notice for easier
  188 + identification within third-party archives.
  189 +
  190 + Copyright [yyyy] [name of copyright owner]
  191 +
  192 + Licensed under the Apache License, Version 2.0 (the "License");
  193 + you may not use this file except in compliance with the License.
  194 + You may obtain a copy of the License at
  195 +
  196 + http://www.apache.org/licenses/LICENSE-2.0
  197 +
  198 + Unless required by applicable law or agreed to in writing, software
  199 + distributed under the License is distributed on an "AS IS" BASIS,
  200 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  201 + See the License for the specific language governing permissions and
  202 + limitations under the License.
  203 +
61 README.txt
... ... @@ -0,0 +1,61 @@
  1 +$Id$
  2 +
  3 +Building
  4 +========
  5 +
  6 +Simply run Maven ;-)
  7 +
  8 + mvn install
  9 +
  10 +
  11 +Integration Testing
  12 +===================
  13 +
  14 +To invoke integration tests using the SHITTY plugin you need to:
  15 +
  16 + mvn -Dit
  17 +
  18 +
  19 +Site Generation
  20 +===============
  21 +
  22 +You need to perform a full build first, before site generation will function correctly:
  23 +
  24 + mvn install site
  25 +
  26 +To generate the full site locally for review:
  27 +
  28 + mvn install site-deploy -DstageDistributionUrl=file:`pwd`/dist
  29 +
  30 +NOTE: Looks like something is whacky somewhere, and you will *need* to
  31 + run the site goals with the install goal for the gmaven-examples
  32 + site to generate correctly.
  33 +
  34 +Release Muck
  35 +============
  36 +
  37 +NOTE: This does not really work ATM, not sure why... but release:prepare barfs
  38 + while tagging, so have to finish up the rest of the details by hand.
  39 + Hopefully for the next release I'll get this sorted out... or write my
  40 + own damn plugin to deal with this crap.
  41 +
  42 +First sanity check:
  43 +
  44 + mvn -Drelease release:prepare -DdryRun | tee release-prepare-dry.log
  45 +
  46 +If all looks happy, first clean up:
  47 +
  48 + mvn release:clean
  49 + rm *.log
  50 +
  51 +And then:
  52 +
  53 + mvn -Drelease release:prepare | tee release-prepare.log
  54 + mvn -Drelease release:perform | tee release-perform.log
  55 +
  56 +NOTE: It appears that release:prepare needs -Dusername=xxx and -Dpassword=xxx to
  57 + work correctly... :-(
  58 +
  59 +The generated website is not deployed as part of the release process ATM, so
  60 +keep the release tree around and run site build from there.
  61 +
47 gmaven-archetypes/gmaven-archetype-basic/pom.xml
... ... @@ -0,0 +1,47 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Copyright (C) 2006-2007 the original author or authors.
  4 +
  5 + Licensed under the Apache License, Version 2.0 (the "License");
  6 + you may not use this file except in compliance with the License.
  7 + You may obtain a copy of the License at
  8 +
  9 + http://www.apache.org/licenses/LICENSE-2.0
  10 +
  11 + Unless required by applicable law or agreed to in writing, software
  12 + distributed under the License is distributed on an "AS IS" BASIS,
  13 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 + See the License for the specific language governing permissions and
  15 + limitations under the License.
  16 +-->
  17 +
  18 +<!-- $Id$ -->
  19 +
  20 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  21 +
  22 + <modelVersion>4.0.0</modelVersion>
  23 +
  24 + <parent>
  25 + <groupId>org.codehaus.groovy.maven.archetypes</groupId>
  26 + <artifactId>gmaven-archetypes</artifactId>
  27 + <version>1.1-SNAPSHOT</version>
  28 + </parent>
  29 +
  30 + <name>GMaven Archetypes :: Basic</name>
  31 + <artifactId>gmaven-archetype-basic</artifactId>
  32 + <packaging>maven-archetype</packaging>
  33 +
  34 + <build>
  35 + <plugins>
  36 + <plugin>
  37 + <groupId>org.codehaus.mojo</groupId>
  38 + <artifactId>build-helper-maven-plugin</artifactId>
  39 + </plugin>
  40 + <plugin>
  41 + <groupId>org.apache.maven.plugins</groupId>
  42 + <artifactId>maven-antrun-plugin</artifactId>
  43 + </plugin>
  44 + </plugins>
  45 + </build>
  46 +
  47 +</project>
67 gmaven-archetypes/gmaven-archetype-basic/src/main/filtered-resources/archetype-resources/pom.xml
... ... @@ -0,0 +1,67 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +##
  3 +## Copyright (C) 2006-2008 the original author or authors.
  4 +##
  5 +## Licensed under the Apache License, Version 2.0 (the "License");
  6 +## you may not use this file except in compliance with the License.
  7 +## You may obtain a copy of the License at
  8 +##
  9 +## http://www.apache.org/licenses/LICENSE-2.0
  10 +##
  11 +## Unless required by applicable law or agreed to in writing, software
  12 +## distributed under the License is distributed on an "AS IS" BASIS,
  13 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 +## See the License for the specific language governing permissions and
  15 +## limitations under the License.
  16 +##
  17 +## $Id$
  18 +##
  19 +<!--
  20 + Generated from archetype; please customize.
  21 +-->
  22 +
  23 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  24 +
  25 + <modelVersion>4.0.0</modelVersion>
  26 +
  27 + <groupId>${groupId}</groupId>
  28 + <artifactId>${artifactId}</artifactId>
  29 + <name>${name}</name>
  30 + <version>${version}</version>
  31 +
  32 + <dependencies>
  33 + <dependency>
  34 + <groupId>org.codehaus.groovy.maven.runtime</groupId>
  35 + <artifactId>gmaven-runtime-1.6</artifactId>
  36 + <version>@project.version@</version>
  37 + </dependency>
  38 +
  39 + <dependency>
  40 + <groupId>junit</groupId>
  41 + <artifactId>junit</artifactId>
  42 + <version>3.8.1</version>
  43 + <scope>test</scope>
  44 + </dependency>
  45 + </dependencies>
  46 +
  47 + <build>
  48 + <plugins>
  49 + <plugin>
  50 + <groupId>org.codehaus.groovy.maven</groupId>
  51 + <artifactId>gmaven-plugin</artifactId>
  52 + <version>@project.version@</version>
  53 + <executions>
  54 + <execution>
  55 + <goals>
  56 + <goal>generateStubs</goal>
  57 + <goal>compile</goal>
  58 + <goal>generateTestStubs</goal>
  59 + <goal>testCompile</goal>
  60 + </goals>
  61 + </execution>
  62 + </executions>
  63 + </plugin>
  64 + </plugins>
  65 + </build>
  66 +
  67 +</project>
44 gmaven-archetypes/gmaven-archetype-basic/src/main/resources/META-INF/maven/archetype-metadata.xml
... ... @@ -0,0 +1,44 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Copyright (C) 2006-2007 the original author or authors.
  4 +
  5 + Licensed under the Apache License, Version 2.0 (the "License");
  6 + you may not use this file except in compliance with the License.
  7 + You may obtain a copy of the License at
  8 +
  9 + http://www.apache.org/licenses/LICENSE-2.0
  10 +
  11 + Unless required by applicable law or agreed to in writing, software
  12 + distributed under the License is distributed on an "AS IS" BASIS,
  13 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 + See the License for the specific language governing permissions and
  15 + limitations under the License.
  16 +-->
  17 +
  18 +<!-- $Id$ -->
  19 +
  20 +<archetype-descriptor name="basic">
  21 + <requiredProperties>
  22 + <requiredProperty key="name">
  23 + <defaultValue>Example Project</defaultValue>
  24 + </requiredProperty>
  25 + </requiredProperties>
  26 +
  27 + <fileSets>
  28 + <fileSet filtered="true" packaged="true" encoding="UTF-8">
  29 + <directory>src/main/groovy</directory>
  30 + <includes>
  31 + <include>**/*.groovy</include>
  32 + <include>**/*.java</include>
  33 + </includes>
  34 + </fileSet>
  35 +
  36 + <fileSet filtered="true" packaged="true" encoding="UTF-8">
  37 + <directory>src/test/groovy</directory>
  38 + <includes>
  39 + <include>**/*.groovy</include>
  40 + <include>**/*.java</include>
  41 + </includes>
  42 + </fileSet>
  43 + </fileSets>
  44 +</archetype-descriptor>
32 ...-archetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/main/groovy/Example.groovy
... ... @@ -0,0 +1,32 @@
  1 +##
  2 +## Copyright (C) 2006-2008 the original author or authors.
  3 +##
  4 +## Licensed under the Apache License, Version 2.0 (the "License");
  5 +## you may not use this file except in compliance with the License.
  6 +## You may obtain a copy of the License at
  7 +##
  8 +## http://www.apache.org/licenses/LICENSE-2.0
  9 +##
  10 +## Unless required by applicable law or agreed to in writing, software
  11 +## distributed under the License is distributed on an "AS IS" BASIS,
  12 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 +## See the License for the specific language governing permissions and
  14 +## limitations under the License.
  15 +##
  16 +## $Id$
  17 +##
  18 +//
  19 +// Generated from archetype; please customize.
  20 +//
  21 +
  22 +package ${package}
  23 +
  24 +/**
  25 + * Example Groovy class.
  26 + */
  27 +class Example
  28 +{
  29 + def show() {
  30 + println 'Hello World'
  31 + }
  32 +}
32 gmaven-archetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/main/groovy/Helper.java
... ... @@ -0,0 +1,32 @@
  1 +##
  2 +## Copyright (C) 2006-2008 the original author or authors.
  3 +##
  4 +## Licensed under the Apache License, Version 2.0 (the "License");
  5 +## you may not use this file except in compliance with the License.
  6 +## You may obtain a copy of the License at
  7 +##
  8 +## http://www.apache.org/licenses/LICENSE-2.0
  9 +##
  10 +## Unless required by applicable law or agreed to in writing, software
  11 +## distributed under the License is distributed on an "AS IS" BASIS,
  12 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 +## See the License for the specific language governing permissions and
  14 +## limitations under the License.
  15 +##
  16 +## $Id$
  17 +##
  18 +//
  19 +// Generated from archetype; please customize.
  20 +//
  21 +
  22 +package ${package};
  23 +
  24 +/**
  25 + * Example Java class.
  26 + */
  27 +public class Helper
  28 +{
  29 + public void help(final Example example) {
  30 + example.show();
  31 + }
  32 +}
35 ...hetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/test/groovy/ExampleTest.groovy
... ... @@ -0,0 +1,35 @@
  1 +##
  2 +## Copyright (C) 2006-2008 the original author or authors.
  3 +##
  4 +## Licensed under the Apache License, Version 2.0 (the "License");
  5 +## you may not use this file except in compliance with the License.
  6 +## You may obtain a copy of the License at
  7 +##
  8 +## http://www.apache.org/licenses/LICENSE-2.0
  9 +##
  10 +## Unless required by applicable law or agreed to in writing, software
  11 +## distributed under the License is distributed on an "AS IS" BASIS,
  12 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 +## See the License for the specific language governing permissions and
  14 +## limitations under the License.
  15 +##
  16 +## $Id$
  17 +##
  18 +//
  19 +// Generated from archetype; please customize.
  20 +//
  21 +
  22 +package ${package}
  23 +
  24 +import groovy.util.GroovyTestCase
  25 +
  26 +/**
  27 + * Tests for the {@link Example} class.
  28 + */
  29 +class ExampleTest
  30 + extends GroovyTestCase
  31 +{
  32 + void testShow() {
  33 + new Example().show()
  34 + }
  35 +}
35 ...chetypes/gmaven-archetype-basic/src/main/resources/archetype-resources/src/test/groovy/HelperTest.groovy
... ... @@ -0,0 +1,35 @@
  1 +##
  2 +## Copyright (C) 2006-2008 the original author or authors.
  3 +##
  4 +## Licensed under the Apache License, Version 2.0 (the "License");
  5 +## you may not use this file except in compliance with the License.
  6 +## You may obtain a copy of the License at
  7 +##
  8 +## http://www.apache.org/licenses/LICENSE-2.0
  9 +##
  10 +## Unless required by applicable law or agreed to in writing, software
  11 +## distributed under the License is distributed on an "AS IS" BASIS,
  12 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 +## See the License for the specific language governing permissions and
  14 +## limitations under the License.
  15 +##
  16 +## $Id$
  17 +##
  18 +//
  19 +// Generated from archetype; please customize.
  20 +//
  21 +
  22 +package ${package}
  23 +
  24 +import groovy.util.GroovyTestCase
  25 +
  26 +/**
  27 + * Tests for the {@link Helper} class.
  28 + */
  29 +class HelperTest
  30 + extends GroovyTestCase
  31 +{
  32 + void testHelp() {
  33 + new Helper().help(new Example())
  34 + }
  35 +}
47 gmaven-archetypes/gmaven-archetype-mojo/pom.xml
... ... @@ -0,0 +1,47 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Copyright (C) 2006-2007 the original author or authors.
  4 +
  5 + Licensed under the Apache License, Version 2.0 (the "License");
  6 + you may not use this file except in compliance with the License.
  7 + You may obtain a copy of the License at
  8 +
  9 + http://www.apache.org/licenses/LICENSE-2.0
  10 +
  11 + Unless required by applicable law or agreed to in writing, software
  12 + distributed under the License is distributed on an "AS IS" BASIS,
  13 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 + See the License for the specific language governing permissions and
  15 + limitations under the License.
  16 +-->
  17 +
  18 +<!-- $Id$ -->
  19 +
  20 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  21 +
  22 + <modelVersion>4.0.0</modelVersion>
  23 +
  24 + <parent>
  25 + <groupId>org.codehaus.groovy.maven.archetypes</groupId>
  26 + <artifactId>gmaven-archetypes</artifactId>
  27 + <version>1.1-SNAPSHOT</version>
  28 + </parent>
  29 +
  30 + <name>GMaven Archetypes :: Mojo</name>
  31 + <artifactId>gmaven-archetype-mojo</artifactId>
  32 + <packaging>maven-archetype</packaging>
  33 +
  34 + <build>
  35 + <plugins>
  36 + <plugin>
  37 + <groupId>org.codehaus.mojo</groupId>
  38 + <artifactId>build-helper-maven-plugin</artifactId>
  39 + </plugin>
  40 + <plugin>
  41 + <groupId>org.apache.maven.plugins</groupId>
  42 + <artifactId>maven-antrun-plugin</artifactId>
  43 + </plugin>
  44 + </plugins>
  45 + </build>
  46 +
  47 +</project>
68 gmaven-archetypes/gmaven-archetype-mojo/src/main/filtered-resources/archetype-resources/pom.xml
... ... @@ -0,0 +1,68 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +##
  3 +## Copyright (C) 2006-2008 the original author or authors.
  4 +##
  5 +## Licensed under the Apache License, Version 2.0 (the "License");
  6 +## you may not use this file except in compliance with the License.
  7 +## You may obtain a copy of the License at
  8 +##
  9 +## http://www.apache.org/licenses/LICENSE-2.0
  10 +##
  11 +## Unless required by applicable law or agreed to in writing, software
  12 +## distributed under the License is distributed on an "AS IS" BASIS,
  13 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 +## See the License for the specific language governing permissions and
  15 +## limitations under the License.
  16 +##
  17 +## $Id$
  18 +##
  19 +<!--
  20 + Generated from archetype; please customize.
  21 +-->
  22 +
  23 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  24 +
  25 + <modelVersion>4.0.0</modelVersion>
  26 +
  27 + <groupId>${groupId}</groupId>
  28 + <artifactId>${artifactId}</artifactId>
  29 + <name>${name}</name>
  30 + <version>${version}</version>
  31 + <packaging>maven-plugin</packaging>
  32 +
  33 + <dependencies>
  34 + <dependency>
  35 + <groupId>org.codehaus.groovy.maven</groupId>
  36 + <artifactId>gmaven-mojo</artifactId>
  37 + <version>@project.version@</version>
  38 + </dependency>
  39 +
  40 + <dependency>
  41 + <groupId>junit</groupId>
  42 + <artifactId>junit</artifactId>
  43 + <version>3.8.1</version>
  44 + <scope>test</scope>
  45 + </dependency>
  46 + </dependencies>
  47 +
  48 + <build>
  49 + <plugins>
  50 + <plugin>
  51 + <groupId>org.codehaus.groovy.maven</groupId>
  52 + <artifactId>gmaven-plugin</artifactId>
  53 + <version>@project.version@</version>
  54 + <executions>
  55 + <execution>
  56 + <goals>
  57 + <goal>generateStubs</goal>
  58 + <goal>compile</goal>
  59 + <goal>generateTestStubs</goal>
  60 + <goal>testCompile</goal>
  61 + </goals>
  62 + </execution>
  63 + </executions>
  64 + </plugin>
  65 + </plugins>
  66 + </build>
  67 +
  68 +</project>
44 gmaven-archetypes/gmaven-archetype-mojo/src/main/resources/META-INF/maven/archetype-metadata.xml
... ... @@ -0,0 +1,44 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Copyright (C) 2006-2007 the original author or authors.
  4 +
  5 + Licensed under the Apache License, Version 2.0 (the "License");
  6 + you may not use this file except in compliance with the License.
  7 + You may obtain a copy of the License at
  8 +
  9 + http://www.apache.org/licenses/LICENSE-2.0
  10 +
  11 + Unless required by applicable law or agreed to in writing, software
  12 + distributed under the License is distributed on an "AS IS" BASIS,
  13 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 + See the License for the specific language governing permissions and
  15 + limitations under the License.
  16 +-->
  17 +
  18 +<!-- $Id$ -->
  19 +
  20 +<archetype-descriptor name="basic">
  21 + <requiredProperties>
  22 + <requiredProperty key="name">
  23 + <defaultValue>Example Maven Plugin</defaultValue>
  24 + </requiredProperty>
  25 + </requiredProperties>
  26 +
  27 + <fileSets>
  28 + <fileSet filtered="true" packaged="true" encoding="UTF-8">
  29 + <directory>src/main/groovy</directory>
  30 + <includes>
  31 + <include>**/*.groovy</include>
  32 + <include>**/*.java</include>
  33 + </includes>
  34 + </fileSet>
  35 +
  36 + <fileSet filtered="true" packaged="true" encoding="UTF-8">
  37 + <directory>src/test/groovy</directory>
  38 + <includes>
  39 + <include>**/*.groovy</include>
  40 + <include>**/*.java</include>
  41 + </includes>
  42 + </fileSet>
  43 + </fileSets>
  44 +</archetype-descriptor>
44 ...archetypes/gmaven-archetype-mojo/src/main/resources/archetype-resources/src/main/groovy/HelloMojo.groovy
... ... @@ -0,0 +1,44 @@
  1 +##
  2 +## Copyright (C) 2006-2008 the original author or authors.
  3 +##
  4 +## Licensed under the Apache License, Version 2.0 (the "License");
  5 +## you may not use this file except in compliance with the License.
  6 +## You may obtain a copy of the License at
  7 +##
  8 +## http://www.apache.org/licenses/LICENSE-2.0
  9 +##
  10 +## Unless required by applicable law or agreed to in writing, software
  11 +## distributed under the License is distributed on an "AS IS" BASIS,
  12 +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 +## See the License for the specific language governing permissions and
  14 +## limitations under the License.
  15 +##
  16 +## $Id$
  17 +##
  18 +//
  19 +// Generated from archetype; please customize.
  20 +//
  21 +
  22 +package ${package}
  23 +
  24 +import org.codehaus.groovy.maven.mojo.GroovyMojo
  25 +
  26 +/**
  27 + * Example Maven2 Groovy Mojo.
  28 + *
  29 + * @goal hello
  30 + */
  31 +class HelloMojo
  32 + extends GroovyMojo
  33 +{
  34 + /**
  35 + * The hello message to display.
  36 + *
  37 + * @parameter expression="${message}" default-value="Hello World"
  38 + */
  39 + String message
  40 +
  41 + void execute() {
  42 + println "${message}"
  43 + }
  44 +}
110 gmaven-archetypes/pom.xml
... ... @@ -0,0 +1,110 @@
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!--
  3 + Copyright (C) 2006-2007 the original author or authors.
  4 +
  5 + Licensed under the Apache License, Version 2.0 (the "License");
  6 + you may not use this file except in compliance with the License.
  7 + You may obtain a copy of the License at
  8 +
  9 + http://www.apache.org/licenses/LICENSE-2.0
  10 +
  11 + Unless required by applicable law or agreed to in writing, software
  12 + distributed under the License is distributed on an "AS IS" BASIS,
  13 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14 + See the License for the specific language governing permissions and
  15 + limitations under the License.
  16 +-->
  17 +
  18 +<!-- $Id$ -->
  19 +
  20 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  21 +
  22 + <modelVersion>4.0.0</modelVersion>
  23 +
  24 + <parent>
  25 + <groupId>org.codehaus.groovy.maven</groupId>
  26 + <artifactId>gmaven</artifactId>
  27 + <version>1.1-SNAPSHOT</version>
  28 + </parent>
  29 +
  30 + <groupId>org.codehaus.groovy.maven.archetypes</groupId>
  31 + <name>GMaven Archetypes</name>
  32 + <artifactId>gmaven-archetypes</artifactId>
  33 + <packaging>pom</packaging>
  34 +
  35 + <modules>
  36 + <module>gmaven-archetype-basic</module>
  37 + <module>gmaven-archetype-mojo</module>
  38 + </modules>
  39 +
  40 + <build>
  41 + <extensions>
  42 + <extension>
  43 + <groupId>org.apache.maven.archetype</groupId>
  44 + <artifactId>archetype-packaging</artifactId>
  45 + <version>2.0-alpha-2</version>
  46 + </extension>
  47 + </extensions>
  48 +
  49 + <pluginManagement>
  50 + <plugins>
  51 + <!--
  52 + HACK: For some reason maven-archetype-plugin 2.0-alpha-2's artifact hndler for the maven-archetype
  53 + packaging is not getting resolved properly, causing the archive to be installed with a
  54 + .maven-archetype extention instead of .jar. So force a .jar artifact to be installed.
  55 + -->
  56 +
  57 + <plugin>