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.

51 lines
4.0 KiB

  1. #variablies
  2. WF_MODULE_PATH=${JBOSS_HOME}'/modules'
  3. # #setup module of apache commons collections4
  4. echo 'Download jars of org.apache.commons.collections4=>'
  5. mkdir -p ${WF_MODULE_PATH}/org/apache/commons/collections4/main
  6. curl -# -o ${WF_MODULE_PATH}/org/apache/commons/collections4/main/commons-collections4-4.1.jar http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar
  7. cp ./module_collections4.xml ${WF_MODULE_PATH}/org/apache/commons/collections4/main/module.xml
  8. # #setup module of apache xmlbeans
  9. echo 'Download jars of org.apache.xmlbeans=>'
  10. mkdir -p ${WF_MODULE_PATH}/org/apache/xmlbeans/main
  11. curl -# -o ${WF_MODULE_PATH}/org/apache/xmlbeans/main/xmlbeans-2.6.0.jar http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/apache/xmlbeans/xmlbeans/2.6.0/xmlbeans-2.6.0.jar
  12. cp ./module_xmlbeans.xml ${WF_MODULE_PATH}/org/apache/xmlbeans/main/module.xml
  13. # #setup module of poi
  14. echo 'Download jars of org.apache.poi=>'
  15. mkdir -p ${WF_MODULE_PATH}/org/apache/poi/3.17
  16. curl -# -o ${WF_MODULE_PATH}/org/apache/poi/3.17/poi-3.17.jar http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/apache/poi/poi/3.17/poi-3.17.jar
  17. curl -# -o ${WF_MODULE_PATH}/org/apache/poi/3.17/poi-ooxml-3.17.jar http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/apache/poi/poi-ooxml/3.17/poi-ooxml-3.17.jar
  18. curl -# -o ${WF_MODULE_PATH}/org/apache/poi/3.17/poi-ooxml-schemas-3.17.jar http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/apache/poi/poi-ooxml-schemas/3.17/poi-ooxml-schemas-3.17.jar
  19. cp ./module_poi_317.xml ${WF_MODULE_PATH}/org/apache/poi/3.17/module.xml
  20. #setup default slot of poi module(default is 3.17)
  21. mkdir ${WF_MODULE_PATH}/org/apache/poi/main && cp ./module_poi.xml ${WF_MODULE_PATH}/org/apache/poi/main/module.xml
  22. #setup module of wanhai base
  23. echo 'Download jars of com.wanhai.base=>'
  24. mkdir -p ${WF_MODULE_PATH}/com/wanhai/base/main
  25. 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
  26. 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
  27. 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
  28. cp ./module_wanhai_base.xml ${WF_MODULE_PATH}/com/wanhai/base/main/module.xml
  29. #setup module of wanhai zk base
  30. echo 'Download jars of com.wanhai.zk=>'
  31. mkdir -p ${WF_MODULE_PATH}/com/wanhai/zk/main
  32. 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
  33. 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
  34. cp ./module_wanhai_zk.xml ${WF_MODULE_PATH}/com/wanhai/zk/main/module.xml
  35. #setup module of tml vo
  36. echo 'Download jars of com.wanhai.tml.vo=>'
  37. mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/vo/main
  38. 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
  39. 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
  40. cp ./module_tml_vo.xml ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/module.xml
  41. #setup module of tml bizbean
  42. echo 'Download jars of com.wanhai.tml.bizbean=>'
  43. mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main
  44. 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
  45. cp ./module_tml_bizbean.xml ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/module.xml