You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
9.2 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. #variablies
  2. WF_MODULE_PATH=${JBOSS_HOME}'/modules'
  3. #setup module google gson(2.7)
  4. echo 'Download jars of google gson =>'
  5. mkdir -p ${WF_MODULE_PATH}/com/google/gson/main
  6. curl -# -o ${WF_MODULE_PATH}/com/google/gson/main/gson-2.7.jar http://central.maven.org/maven2/com/google/code/gson/gson/2.7/gson-2.7.jar
  7. cp ./module_gson.xml ${WF_MODULE_PATH}/com/google/gson/main/module.xml
  8. #setup module of apache commons-logging (1.1.3)
  9. echo 'Download jars of commons-logging =>'
  10. mkdir -p ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3
  11. curl -# -o ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3/commons-logging-1.1.3.jar http://central.maven.org/maven2/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
  12. cp ./module_commons_logging_113.xml ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3/module.xml
  13. #setup default slot of apache commons-logging(default is 1.1.3)
  14. mkdir ${WF_MODULE_PATH}/org/apache/commons/main && cp ./module_commons_logging.xml ${WF_MODULE_PATH}/org/apache/commons/main/module.xml
  15. #setup module of apache commons-net(3.6)
  16. echo 'Download jars of commons-net =>'
  17. mkdir -p ${WF_MODULE_PATH}/org/apache/commons/net/main
  18. curl -# -o ${WF_MODULE_PATH}/org/apache/commons/net/main/commons-net-3.6.jar http://central.maven.org/maven2/commons-net/commons-net/3.6/commons-net-3.6.jar
  19. cp ./module_commons_net.xml ${WF_MODULE_PATH}/org/apache/commons/net/main/module.xml
  20. #setup module of apache commons-digester(1.6)
  21. echo 'Download jars of commons-digester =>'
  22. mkdir -p ${WF_MODULE_PATH}/org/apache/commons/digester/main
  23. curl -# -o ${WF_MODULE_PATH}/org/apache/commons/digester/main/commons-digester.jar http://central.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
  24. cp ./module_commons_digester.xml ${WF_MODULE_PATH}/org/apache/commons/digester/main/module.xml
  25. #setup module of groovy(2.4.7)
  26. echo 'Download jars of groovy=>'
  27. mkdir -p ${WF_MODULE_PATH}/org/codehaus/groovy/main
  28. curl -# -o ${WF_MODULE_PATH}/org/codehaus/groovy/main/groovy-all-2.4.7.jar http://central.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar
  29. cp ./module_groovy.xml ${WF_MODULE_PATH}/org/codehaus/groovy/main/module.xml
  30. #setup module of google zxing(3.2.1)
  31. echo 'Download jars of google zxing=>'
  32. mkdir -p ${WF_MODULE_PATH}/com/google/zxing/main
  33. curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/javase-3.2.1.jar http://central.maven.org/maven2/com/google/zxing/javase/3.2.1/javase-3.2.1.jar
  34. curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/jcommander-1.48.jar http://central.maven.org/maven2/com/beust/jcommander/1.48/jcommander-1.48.jar
  35. curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/core-3.2.1.jar http://central.maven.org/maven2/com/google/zxing/core/3.2.1/core-3.2.1.jar
  36. cp ./module_zxing.xml ${WF_MODULE_PATH}/com/google/zxing/main/module.xml
  37. #setup module of qrgen(2.0)
  38. echo 'Download jars of qrgen=>'
  39. mkdir -p ${WF_MODULE_PATH}/net/glxn/qrgen/main
  40. curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/javase-2.0.jar http://central.maven.org/maven2/net/glxn/qrgen/javase/2.0/javase-2.0.jar
  41. curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/core-2.0.jar http://central.maven.org/maven2/net/glxn/qrgen/core/2.0/core-2.0.jar
  42. curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/jfreesvg-2.1.jar http://central.maven.org/maven2/org/jfree/jfreesvg/2.1/jfreesvg-2.1.jar
  43. cp ./module_qrgen.xml ${WF_MODULE_PATH}/net/glxn/qrgen/main/module.xml
  44. #setup module of sentry(1.7.3)
  45. echo 'Download jars of sentry=>'
  46. mkdir -p ${WF_MODULE_PATH}/io/sentry/main
  47. curl -# -o ${WF_MODULE_PATH}/io/sentry/main/sentry-1.7.3.jar http://central.maven.org/maven2/io/sentry/sentry/1.7.3/sentry-1.7.3.jar
  48. curl -# -o ${WF_MODULE_PATH}/io/sentry/main/jackson-core-2.8.7.jar http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.8.7/jackson-core-2.8.7.jar
  49. curl -# -o ${WF_MODULE_PATH}/io/sentry/main/slf4j-api-1.7.24.jar http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.24/slf4j-api-1.7.24.jar
  50. cp ./module_sentry.xml ${WF_MODULE_PATH}/io/sentry/main/module.xml
  51. #setup module of springframework(4.0.6)
  52. echo 'Download jars of springframework=>'
  53. mkdir -p ${WF_MODULE_PATH}/org/springframework/4.0.6
  54. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/aopalliance-1.0.jar http://central.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
  55. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-tx-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-tx/4.0.6.RELEASE/spring-tx-4.0.6.RELEASE.jar
  56. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-context-support-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-context-support/4.0.6.RELEASE/spring-context-support-4.0.6.RELEASE.jar
  57. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-jdbc-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-jdbc/4.0.6.RELEASE/spring-jdbc-4.0.6.RELEASE.jar
  58. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-webmvc-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-webmvc/4.0.6.RELEASE/spring-webmvc-4.0.6.RELEASE.jar
  59. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-web-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-web/4.0.6.RELEASE/spring-web-4.0.6.RELEASE.jar
  60. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-aop-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-aop/4.0.6.RELEASE/spring-aop-4.0.6.RELEASE.jar
  61. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-expression-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-expression/4.0.6.RELEASE/spring-expression-4.0.6.RELEASE.jar
  62. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-context-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-context/4.0.6.RELEASE/spring-context-4.0.6.RELEASE.jar
  63. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-core-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-core/4.0.6.RELEASE/spring-core-4.0.6.RELEASE.jar
  64. curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-beans-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-beans/4.0.6.RELEASE/spring-beans-4.0.6.RELEASE.jar
  65. cp ./module_spring_406.xml ${WF_MODULE_PATH}/org/springframework/4.0.6/module.xml
  66. #setup default slot of springframework module(default is 4.0.6)
  67. mkdir ${WF_MODULE_PATH}/org/springframework/main && cp ./module_spring.xml ${WF_MODULE_PATH}/org/springframework/main/module.xml
  68. #setup module of jasperreports(4.6.1)
  69. echo 'Download jars of jasperreports=>'
  70. mkdir -p ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1
  71. curl -# -o ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1/jasperreports-6.4.1.jar http://central.maven.org/maven2/net/sf/jasperreports/jasperreports/6.4.1/jasperreports-6.4.1.jar
  72. cp ./module_jasperreports_641.xml ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1/module.xml
  73. #setup default slot of jasperreports module(default is 6.4.1)
  74. mkdir ${WF_MODULE_PATH}/net/sf/jasperreports/main && cp ./module_jasperreports.xml ${WF_MODULE_PATH}/net/sf/jasperreports/main/module.xml
  75. #setup module of wanhai base
  76. echo 'Download jars of com.wanhai.base=>'
  77. mkdir -p ${WF_MODULE_PATH}/com/wanhai/base/main
  78. curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-utility.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-utility/1.0.0/whl-utility-1.0.0.jar
  79. curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-security-fake.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-security/1.0.0/whl-security-1.0.0.jar
  80. curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-biz.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-biz/1.0.0/whl-biz-1.0.0.jar
  81. cp ./module_wanhai_base.xml ${WF_MODULE_PATH}/com/wanhai/base/main/module.xml
  82. #setup module of wanhai zk base
  83. echo 'Download jars of com.wanhai.zk=>'
  84. mkdir -p ${WF_MODULE_PATH}/com/wanhai/zk/main
  85. curl -# -o ${WF_MODULE_PATH}/com/wanhai/zk/main/whl-zk-template.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/zk/whl-template/1.0.0/whl-template-1.0.0.jar
  86. curl -# -o ${WF_MODULE_PATH}/com/wanhai/zk/main/whl-zk-base.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/zk/whl-zk-base/1.0.0/whl-zk-base-1.0.0.jar
  87. cp ./module_wanhai_zk.xml ${WF_MODULE_PATH}/com/wanhai/zk/main/module.xml
  88. #setup module of tml base
  89. #setup module of tml vo
  90. echo 'Download jars of com.wanhai.tml.vo=>'
  91. mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/vo/main
  92. curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/whl-vo-sec.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-vo-sec/0.1.0/whl-vo-sec-0.1.0.jar
  93. curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/whl-vo-tml.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-vo-tml/0.1.0/whl-vo-tml-0.1.0.jar
  94. cp ./module_tml_vo.xml ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/module.xml
  95. #setup module of tml bizbean
  96. echo 'Download jars of com.wanhai.tml.bizbean=>'
  97. mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main
  98. curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/whl-biztml.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-biztml/0.1.0/whl-biztml-0.1.0.jar
  99. cp ./module_tml_bizbean.xml ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/module.xml