Permalink
Browse files

Move application archetypes to <http://github.com/jboss-jdf/jboss-as-…

  • Loading branch information...
1 parent ca4d002 commit c4e7065f34bb0f7eba1c6722cdae10d1d455c908 @pmuir pmuir committed Jul 10, 2012
Showing with 0 additions and 6,820 deletions.
  1. +0 −124 generate-blank.sh
  2. +0 −97 jboss-javaee6-webapp-archetype/pom.xml
  3. +0 −11 jboss-javaee6-webapp-archetype/release-procedure.txt
  4. +0 −58 jboss-javaee6-webapp-archetype/src/main/resources/META-INF/maven/archetype-metadata-blank.xml
  5. +0 −72 jboss-javaee6-webapp-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
  6. +0 −5 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/.factorypath
  7. +0 −10 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/.gitignore
  8. +0 −92 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/README.md
  9. +0 −289 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/pom.xml
  10. +0 −53 ...p-archetype/src/main/resources/archetype-resources/src/main/java/controller/MemberController.java
  11. +0 −51 ...ebapp-archetype/src/main/resources/archetype-resources/src/main/java/data/MemberListProducer.java
  12. +0 −81 ...s-javaee6-webapp-archetype/src/main/resources/archetype-resources/src/main/java/model/Member.java
  13. +0 −21 ...e6-webapp-archetype/src/main/resources/archetype-resources/src/main/java/rest/JaxRsActivator.java
  14. +0 −49 ...rchetype/src/main/resources/archetype-resources/src/main/java/rest/MemberResourceRESTService.java
  15. +0 −32 ...pp-archetype/src/main/resources/archetype-resources/src/main/java/service/MemberRegistration.java
  16. +0 −45 ...javaee6-webapp-archetype/src/main/resources/archetype-resources/src/main/java/util/Resources.java
  17. +0 −17 ...bapp-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
  18. +0 −2 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/src/main/resources/import.sql
  19. +0 −21 ...pp-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/__artifactId__-ds.xml
  20. +0 −9 ...javaee6-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
  21. +0 −14 ...-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
  22. +0 −43 ...-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/templates/default.xhtml
  23. +0 −10 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/index.html
  24. +0 −71 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/index.xhtml
  25. +0 −186 ...-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/css/screen.css
  26. BIN ...ebapp-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/asidebkg.png
  27. BIN ...-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/banner.png
  28. BIN ...-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/bkg-blkheader.png
  29. BIN ...chetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/dualbrand_as7eap.png
  30. BIN ...ain/resources/archetype-resources/src/main/webapp/resources/gfx/dualbrand_catapillarbutterfly.png
  31. BIN ...archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/dualbrand_logo.png
  32. BIN ...bapp-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/headerbkg.png
  33. BIN ...app-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/icon_large.png
  34. BIN ...pp-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/icon_medium.png
  35. BIN ...app-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/icon_small.png
  36. BIN ...e6-webapp-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/logo.png
  37. +0 −54 ...p-archetype/src/main/resources/archetype-resources/src/test/java/test/MemberRegistrationTest.java
  38. +0 −20 ...archetype/src/main/resources/archetype-resources/src/test/resources/META-INF/test-persistence.xml
  39. +0 −23 ...javaee6-webapp-archetype/src/main/resources/archetype-resources/src/test/resources/arquillian.xml
  40. +0 −21 jboss-javaee6-webapp-archetype/src/main/resources/archetype-resources/src/test/resources/test-ds.xml
  41. +0 −8 jboss-javaee6-webapp-archetype/src/test/resources/projects/basic/archetype.properties
  42. +0 −1 jboss-javaee6-webapp-archetype/src/test/resources/projects/basic/goal.txt
  43. +0 −8 jboss-javaee6-webapp-archetype/src/test/resources/projects/enterprise/archetype.properties
  44. +0 −1 jboss-javaee6-webapp-archetype/src/test/resources/projects/enterprise/goal.txt
  45. +0 −97 jboss-javaee6-webapp-blank-archetype/pom.xml
  46. +0 −11 jboss-javaee6-webapp-blank-archetype/release-procedure.txt
  47. +0 −61 jboss-javaee6-webapp-blank-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
  48. +0 −5 jboss-javaee6-webapp-blank-archetype/src/main/resources/archetype-resources/.factorypath
  49. +0 −10 jboss-javaee6-webapp-blank-archetype/src/main/resources/archetype-resources/.gitignore
  50. +0 −92 jboss-javaee6-webapp-blank-archetype/src/main/resources/archetype-resources/README.md
  51. +0 −289 jboss-javaee6-webapp-blank-archetype/src/main/resources/archetype-resources/pom.xml
  52. +0 −53 ...k-archetype/src/main/resources/archetype-resources/src/main/java/controller/MemberController.java
  53. +0 −51 ...blank-archetype/src/main/resources/archetype-resources/src/main/java/data/MemberListProducer.java
  54. +0 −81 ...ee6-webapp-blank-archetype/src/main/resources/archetype-resources/src/main/java/model/Member.java
  55. +0 −21 ...app-blank-archetype/src/main/resources/archetype-resources/src/main/java/rest/JaxRsActivator.java
  56. +0 −49 ...rchetype/src/main/resources/archetype-resources/src/main/java/rest/MemberResourceRESTService.java
  57. +0 −32 ...nk-archetype/src/main/resources/archetype-resources/src/main/java/service/MemberRegistration.java
  58. +0 −45 ...6-webapp-blank-archetype/src/main/resources/archetype-resources/src/main/java/util/Resources.java
  59. +0 −17 ...lank-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
  60. +0 −2 ...vaee6-webapp-blank-archetype/src/main/resources/archetype-resources/src/main/resources/import.sql
  61. +0 −21 ...nk-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/__artifactId__-ds.xml
  62. +0 −9 ...6-webapp-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
  63. +0 −14 ...p-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
  64. +0 −43 ...-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/templates/default.xhtml
  65. +0 −10 ...-javaee6-webapp-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/index.html
  66. +0 −71 ...javaee6-webapp-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/index.xhtml
  67. +0 −186 ...p-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/css/screen.css
  68. BIN ...blank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/asidebkg.png
  69. BIN ...p-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/banner.png
  70. BIN ...-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/bkg-blkheader.png
  71. BIN ...chetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/dualbrand_as7eap.png
  72. BIN ...ain/resources/archetype-resources/src/main/webapp/resources/gfx/dualbrand_catapillarbutterfly.png
  73. BIN ...archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/dualbrand_logo.png
  74. BIN ...lank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/headerbkg.png
  75. BIN ...ank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/icon_large.png
  76. BIN ...nk-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/icon_medium.png
  77. BIN ...ank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/icon_small.png
  78. BIN ...app-blank-archetype/src/main/resources/archetype-resources/src/main/webapp/resources/gfx/logo.png
  79. +0 −54 ...k-archetype/src/main/resources/archetype-resources/src/test/java/test/MemberRegistrationTest.java
  80. +0 −20 ...archetype/src/main/resources/archetype-resources/src/test/resources/META-INF/test-persistence.xml
  81. +0 −23 ...6-webapp-blank-archetype/src/main/resources/archetype-resources/src/test/resources/arquillian.xml
  82. +0 −21 ...aee6-webapp-blank-archetype/src/main/resources/archetype-resources/src/test/resources/test-ds.xml
  83. +0 −8 jboss-javaee6-webapp-blank-archetype/src/test/resources/projects/basic/archetype.properties
  84. +0 −1 jboss-javaee6-webapp-blank-archetype/src/test/resources/projects/basic/goal.txt
  85. +0 −8 jboss-javaee6-webapp-blank-archetype/src/test/resources/projects/enterprise/archetype.properties
  86. +0 −1 jboss-javaee6-webapp-blank-archetype/src/test/resources/projects/enterprise/goal.txt
  87. +0 −3 jboss-javaee6-webapp-ear-archetype/.gitignore
  88. +0 −10 jboss-javaee6-webapp-ear-archetype/build-readme.sh
  89. +0 −108 jboss-javaee6-webapp-ear-archetype/pom.xml
  90. +0 −13 jboss-javaee6-webapp-ear-archetype/release-procedure.txt
  91. +0 −110 jboss-javaee6-webapp-ear-archetype/src/main/resources/META-INF/maven/archetype-metadata-blank.xml
  92. +0 −128 jboss-javaee6-webapp-ear-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
  93. +0 −10 jboss-javaee6-webapp-ear-archetype/src/main/resources/archetype-resources/.gitignore
  94. +0 −123 jboss-javaee6-webapp-ear-archetype/src/main/resources/archetype-resources/README.md
  95. +0 −95 ...avaee6-webapp-ear-archetype/src/main/resources/archetype-resources/__rootArtifactId__-ear/pom.xml
  96. +0 −21 ...rchetype-resources/__rootArtifactId__-ear/src/main/application/META-INF/__rootArtifactId__-ds.xml
  97. +0 −5 ...6-webapp-ear-archetype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/.factorypath
  98. +0 −164 ...avaee6-webapp-ear-archetype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/pom.xml
  99. +0 −48 ...n/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/data/MemberListProducer.java
  100. +0 −78 ...ype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/model/Member.java
  101. +0 −32 ...esources/archetype-resources/__rootArtifactId__-ejb/src/main/java/service/MemberRegistration.java
  102. +0 −33 ...e/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/util/Resources.java
  103. +0 −3 ...c/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/resources/META-INF/beans.xml
  104. +0 −17 .../resources/archetype-resources/__rootArtifactId__-ejb/src/main/resources/META-INF/persistence.xml
  105. +0 −2 ...etype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/resources/import.sql
  106. +0 −53 ...sources/archetype-resources/__rootArtifactId__-ejb/src/test/java/test/MemberRegistrationTest.java
  107. +0 −20 ...urces/archetype-resources/__rootArtifactId__-ejb/src/test/resources/META-INF/test-persistence.xml
  108. +0 −23 ...e/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/test/resources/arquillian.xml
  109. +0 −21 ...type/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/test/resources/test-ds.xml
  110. +0 −75 ...avaee6-webapp-ear-archetype/src/main/resources/archetype-resources/__rootArtifactId__-web/pom.xml
  111. +0 −52 ...sources/archetype-resources/__rootArtifactId__-web/src/main/java/controller/MemberController.java
  112. +0 −18 .../main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/rest/JaxRsActivator.java
  113. +0 −46 ...rces/archetype-resources/__rootArtifactId__-web/src/main/java/rest/MemberResourceRESTService.java
  114. +0 −35 ...rc/main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/util/WebResources.java
  115. +0 −9 ...e/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/WEB-INF/beans.xml
  116. +0 −14 ...ain/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/WEB-INF/faces-config.xml
  117. +0 −43 ...ources/archetype-resources/__rootArtifactId__-web/src/main/webapp/WEB-INF/templates/default.xhtml
  118. +0 −7 ...rchetype/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/index.html
  119. +0 −71 ...chetype/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/index.xhtml
  120. +0 −186 ...ain/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/css/screen.css
  121. BIN ...n/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/asidebkg.png
  122. BIN ...ain/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/banner.png
  123. BIN ...ources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/bkg-blkheader.png
  124. BIN ...ces/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/dualbrand_as7eap.png
  125. BIN ...-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/dualbrand_catapillarbutterfly.png
  126. BIN ...urces/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/dualbrand_logo.png
  127. BIN .../resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/headerbkg.png
  128. BIN ...resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/icon_large.png
  129. BIN ...esources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/icon_medium.png
  130. BIN ...resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/icon_small.png
  131. BIN .../main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/logo.png
  132. +0 −149 jboss-javaee6-webapp-ear-archetype/src/main/resources/archetype-resources/pom.xml
  133. +0 −6 jboss-javaee6-webapp-ear-archetype/src/test/resources/projects/enterprise/archetype.properties
  134. +0 −1 jboss-javaee6-webapp-ear-archetype/src/test/resources/projects/enterprise/goal.txt
  135. +0 −6 jboss-javaee6-webapp-ear-archetype/src/test/resources/projects/multi/archetype.properties
  136. +0 −1 jboss-javaee6-webapp-ear-archetype/src/test/resources/projects/multi/goal.txt
  137. +0 −3 jboss-javaee6-webapp-ear-blank-archetype/.gitignore
  138. +0 −10 jboss-javaee6-webapp-ear-blank-archetype/build-readme.sh
  139. +0 −108 jboss-javaee6-webapp-ear-blank-archetype/pom.xml
  140. +0 −13 jboss-javaee6-webapp-ear-blank-archetype/release-procedure.txt
  141. +0 −113 jboss-javaee6-webapp-ear-blank-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
  142. +0 −10 jboss-javaee6-webapp-ear-blank-archetype/src/main/resources/archetype-resources/.gitignore
  143. +0 −123 jboss-javaee6-webapp-ear-blank-archetype/src/main/resources/archetype-resources/README.md
  144. +0 −95 ...-webapp-ear-blank-archetype/src/main/resources/archetype-resources/__rootArtifactId__-ear/pom.xml
  145. +0 −21 ...rchetype-resources/__rootArtifactId__-ear/src/main/application/META-INF/__rootArtifactId__-ds.xml
  146. +0 −5 ...pp-ear-blank-archetype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/.factorypath
  147. +0 −164 ...-webapp-ear-blank-archetype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/pom.xml
  148. +0 −48 ...n/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/data/MemberListProducer.java
  149. +0 −78 ...ype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/model/Member.java
  150. +0 −32 ...esources/archetype-resources/__rootArtifactId__-ejb/src/main/java/service/MemberRegistration.java
  151. +0 −33 ...e/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/util/Resources.java
  152. +0 −3 ...c/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/resources/META-INF/beans.xml
  153. +0 −17 .../resources/archetype-resources/__rootArtifactId__-ejb/src/main/resources/META-INF/persistence.xml
  154. +0 −2 ...etype/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/resources/import.sql
  155. +0 −53 ...sources/archetype-resources/__rootArtifactId__-ejb/src/test/java/test/MemberRegistrationTest.java
  156. +0 −20 ...urces/archetype-resources/__rootArtifactId__-ejb/src/test/resources/META-INF/test-persistence.xml
  157. +0 −23 ...e/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/test/resources/arquillian.xml
  158. +0 −21 ...type/src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/test/resources/test-ds.xml
  159. +0 −75 ...-webapp-ear-blank-archetype/src/main/resources/archetype-resources/__rootArtifactId__-web/pom.xml
  160. +0 −52 ...sources/archetype-resources/__rootArtifactId__-web/src/main/java/controller/MemberController.java
  161. +0 −18 .../main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/rest/JaxRsActivator.java
  162. +0 −46 ...rces/archetype-resources/__rootArtifactId__-web/src/main/java/rest/MemberResourceRESTService.java
  163. +0 −35 ...rc/main/resources/archetype-resources/__rootArtifactId__-web/src/main/java/util/WebResources.java
  164. +0 −9 ...e/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/WEB-INF/beans.xml
  165. +0 −14 ...ain/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/WEB-INF/faces-config.xml
  166. +0 −43 ...ources/archetype-resources/__rootArtifactId__-web/src/main/webapp/WEB-INF/templates/default.xhtml
  167. +0 −7 ...rchetype/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/index.html
  168. +0 −71 ...chetype/src/main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/index.xhtml
  169. +0 −186 ...ain/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/css/screen.css
  170. BIN ...n/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/asidebkg.png
  171. BIN ...ain/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/banner.png
  172. BIN ...ources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/bkg-blkheader.png
  173. BIN ...ces/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/dualbrand_as7eap.png
  174. BIN ...-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/dualbrand_catapillarbutterfly.png
  175. BIN ...urces/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/dualbrand_logo.png
  176. BIN .../resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/headerbkg.png
  177. BIN ...resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/icon_large.png
  178. BIN ...esources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/icon_medium.png
  179. BIN ...resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/icon_small.png
  180. BIN .../main/resources/archetype-resources/__rootArtifactId__-web/src/main/webapp/resources/gfx/logo.png
  181. +0 −149 jboss-javaee6-webapp-ear-blank-archetype/src/main/resources/archetype-resources/pom.xml
  182. +0 −6 jboss-javaee6-webapp-ear-blank-archetype/src/test/resources/projects/enterprise/archetype.properties
  183. +0 −1 jboss-javaee6-webapp-ear-blank-archetype/src/test/resources/projects/enterprise/goal.txt
  184. +0 −6 jboss-javaee6-webapp-ear-blank-archetype/src/test/resources/projects/multi/archetype.properties
  185. +0 −1 jboss-javaee6-webapp-ear-blank-archetype/src/test/resources/projects/multi/goal.txt
  186. +0 −27 release-process.md
  187. +0 −129 release-utils.sh
  188. +0 −106 release.sh
View
@@ -1,124 +0,0 @@
-#!/bin/sh
-
-set -o errexit
-
-SOURCE="${BASH_SOURCE[0]}"
-while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
-DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
-
-# DEFINE
-
-ARCHETYPES="jboss-javaee6-webapp-archetype jboss-javaee6-webapp-ear-archetype"
-
-# SCRIPT
-
-usage()
-{
-
-HUMAN_READABLE_ARCHETYPES=""
-i=0
-for archetype in $ARCHETYPES
-do
- if [ $i -ne 0 ]
- then
- HUMAN_READABLE_ARCHETYPES="${HUMAN_READABLE_ARCHETYPES}, "
- fi
- echo ""
- HUMAN_READABLE_ARCHETYPES="${HUMAN_READABLE_ARCHETYPES}${archetype}"
- i=$[$i+1]
-done
-
-
-cat << EOF
-usage: $0 options
-
-This script generates a "blanked" version of an archetype.
-
-The name of archetype directory must match the artifactId of the archetype. Arcehtypes are placed in $DIR with the suffix -blank
-
-OPTIONS:
- -a Generate a blank archetype for all archetypes, currently ${HUMAN_READABLE_ARCHETYPES}
- -n The name of the archetype to blank.
- -c Removes the blank archetypes
- -h Shows this message
-
-EOF
-}
-
-clean()
-{
- echo "**** Cleaning $DIR/*-blank-archetype"
- rm -rf $DIR/*-blank-archetype
-}
-
-blank()
-{
- ARCHETYPE_NAME=$1
- ARCHETYPE_BLANK_NAME=${ARCHETYPE_NAME//archetype/blank-archetype}
- ARCHETYPE_DIR=${DIR}/${ARCHETYPE_NAME}
- ARCHETYPE_BLANK_DIR="${DIR}/${ARCHETYPE_BLANK_NAME}"
-
-cat << EOF
-
-**** Generating blank version of ${ARCHETYPE_NAME} into ${ARCHETYPE_BLANK_DIR}
-**** Blank artifactId is ${ARCHETYPE_BLANK_NAME}
-
-EOF
-
- rm -rf ${ARCHETYPE_BLANK_DIR}
-
- cp -r ${ARCHETYPE_DIR} ${ARCHETYPE_BLANK_DIR}
-
- cd $ARCHETYPE_BLANK_DIR
-
- mv src/main/resources/META-INF/maven/archetype-metadata-blank.xml src/main/resources/META-INF/maven/archetype-metadata.xml
-
- perl -pi -e "s/${ARCHETYPE_NAME}/${ARCHETYPE_BLANK_NAME}/g" `find . -name pom.xml`
-
-}
-
-ALL=0
-CLEAN=0
-
-while getopts “ahcn:” OPTION
-do
- case $OPTION in
- a)
- ALL=1
- ;;
- h)
- usage
- exit
- ;;
- c)
- clean
- CLEAN=1
- ;;
- n)
- NAME=$OPTARG
- ;;
- [?])
- usage
- exit
- ;;
- esac
-done
-
-if [ $ALL -eq 1 ]
-then
- for archetype in $ARCHETYPES
- do
- blank $archetype
- done
-else
- if [ -z "$NAME"] && [ $CLEAN -ne 1 ]
- then
- echo "No archetype name defined"
- usage
- exit
- elif [ -n "$NAME" ]
- then
- blank $NAME
- fi
-fi
-
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>6-beta-2</version>
- <relativePath />
- </parent>
-
- <groupId>org.jboss.spec.archetypes</groupId>
- <artifactId>jboss-javaee6-webapp-archetype</artifactId>
- <version>7.1.1-SNAPSHOT</version>
- <packaging>maven-archetype</packaging>
-
- <name>Java EE 6 Webapp</name>
-
- <description>An archetype that generates a starter Java EE 6 webapp project for JBoss AS 7.1 (by default) or EAP 6 (if the "enterprise" property is true)</description>
-
- <url>http://jboss.org/jbossas</url>
-
- <developers>
- <developer>
- <name>Steven Boscarine</name>
- <email>stevenboscarine@gmail.com</email>
- </developer>
- <developer>
- <id>fbricon</id>
- <name>Fred Bricon</name>
- <email>fbricon@gmail.com</email>
- <organization>Red Hat, Inc.</organization>
- <organizationUrl>http://redhat.com/jboss</organizationUrl>
- <url>http://community.jboss.org/people/fbricon</url>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <name>Dan Allen</name>
- <email>dan.j.allen@gmail.com</email>
- <organization>JBoss, by Red Hat</organization>
- <organizationUrl>http://redhat.com/jboss</organizationUrl>
- <url>http://community.jboss.org/people/dan.j.allen</url>
- </developer>
- <developer>
- <name>Pete Muir</name>
- <email>pete.muir@jboss.org</email>
- <organization>Red Hat, Inc.</organization>
- <organizationUrl>http://redhat.com/jboss</organizationUrl>
- <url>http://in.relation.to/Bloggers/Pete</url>
- </developer>
- </developers>
-
-
- <build>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>true</filtering>
- </testResource>
- </testResources>
-
- <extensions>
- <extension>
- <groupId>org.apache.maven.archetype</groupId>
- <artifactId>archetype-packaging</artifactId>
- <version>2.1</version>
- </extension>
- </extensions>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-archetype-plugin</artifactId>
- <version>2.1</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <properties>
- <enterprise.available>false</enterprise.available>
- </properties>
-
-
- <profiles>
- <!-- Build with -Penterprise to test against an EAP repository -->
- <profile>
- <id>enterprise</id>
- <properties>
- <enterprise.available>true</enterprise.available>
- </properties>
- </profile>
- </profiles>
-
-</project>
@@ -1,11 +0,0 @@
-(Assume Q is the qualifier of the release, e.g., Beta1)
-
-1. Edit archetype-pom.xml and set release version
-2. Tag this
-3. Edit archetype-pom.xml and set the development version
-4. Checkout the tag
-5. Build the archetype
- ./create-archetype.sh
-6. Publish it
- cd target/archetype
- mvn clean deploy -DaltDeploymentRepository=jboss-releases-repository::default::https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="jboss-javaee6-webapp-src"
- xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <requiredProperties>
- <requiredProperty key="name">
- <defaultValue>Java EE 6 webapp project</defaultValue>
- </requiredProperty>
- <requiredProperty key="enterprise">
- <defaultValue>false</defaultValue>
- </requiredProperty>
- </requiredProperties>
- <fileSets>
- <fileSet encoding="UTF-8">
- <directory>src/main/java</directory>
- <excludes>
- <exclude>**/*</exclude>
- </excludes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>src/test/java</directory>
- <excludes>
- <exclude>**/*</exclude>
- </excludes>
- </fileSet>
- <fileSet encoding="UTF-8" filtered="true">
- <directory>src/test/resources</directory>
- <excludes>
- <include>**/*.xml</include>
- </excludes>
- </fileSet>
- <fileSet encoding="UTF-8" filtered="true">
- <directory>src/main/webapp</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>src/main/webapp/resources</directory>
- <excludes>
- <exclude>**/*</exclude>
- </excludes>
- </fileSet>
- <fileSet encoding="UTF-8" filtered="true">
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory></directory>
- <includes>
- <include>**/*.factorypath</include>
- <include>**/*.gitignore</include>
- </includes>
- </fileSet>
- </fileSets>
-</archetype-descriptor>
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="jboss-javaee6-webapp-src"
- xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <requiredProperties>
- <requiredProperty key="name">
- <defaultValue>Java EE 6 webapp project</defaultValue>
- </requiredProperty>
- <requiredProperty key="enterprise">
- <defaultValue>false</defaultValue>
- </requiredProperty>
- <requiredProperty key="jboss-bom-enterprise-version">
- <defaultValue>1.0.0.M12-redhat-1</defaultValue>
- </requiredProperty>
- </requiredProperties>
- <fileSets>
- <fileSet filtered="true" packaged="true" encoding="UTF-8">
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.java</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>src/main/webapp</directory>
- <includes>
- <include>**/*.html</include>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory>src/main/webapp</directory>
- <includes>
- <include>**/*.png</include>
- <include>**/*.xhtml</include>
- <include>**/*.css</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8" filtered="true">
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.sql</include>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" packaged="true" encoding="UTF-8">
- <directory>src/test/java</directory>
- <includes>
- <include>**/*.java</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8" filtered="true">
- <directory>src/test/resources</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </fileSet>
- <fileSet encoding="UTF-8">
- <directory></directory>
- <includes>
- <include>**/*.factorypath</include>
- <include>**/*.gitignore</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory></directory>
- <includes>
- <include>readme.md</include>
- <include>README.md</include>
- </includes>
- </fileSet>
- </fileSets>
-</archetype-descriptor>
@@ -1,5 +0,0 @@
-<factorypath>
- <factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
- <factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-jpamodelgen/1.2.0.Final/hibernate-jpamodelgen-1.2.0.Final.jar" enabled="true" runInBatchMode="false"/>
- <factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar" enabled="true" runInBatchMode="false"/>
-</factorypath>
@@ -1,10 +0,0 @@
-*~
-.classpath
-.project
-target
-.settings
-.DS_Store
-.faces-config.xml.jsfdia
-MANIFEST.MF
-.idea
-*.iml
Oops, something went wrong.

0 comments on commit c4e7065

Please sign in to comment.