• mvn deploy tongweb-embed-7.0.E.5_P3 依赖上传


    1. [root@localhost tongweb-embed-7.0.E.5_P3]# ls
    2. deployMavenJar.bat deployMavenJar.sh installMavenJar.bat installMavenJar.sh lib start_with_umask_template.sh
    3. [root@localhost tongweb-embed-7.0.E.5_P3]# ls lib/
    4. tongweb-embed-7.0.E.5_P3.jar tongweb-javax-el-3.0.0.jar tongweb-spring-boot-data-jdbc-starter-2.x-7.0.E.5_P3.jar
    5. tongweb-embed-javax-7.0.E.5_P3.jar tongweb-javax-jsp-2.1.jar tongweb-spring-boot-maven-plugin-7.0.E.5_P3.jar
    6. tongweb-embed.pom tongweb-javax-security-auth-message-api-1.1.0.jar tongweb-spring-boot-maven-plugin.pom
    7. tongweb-embed-servlet-7.0.E.5_P3.jar tongweb-javax-servlet-4.0.0.jar tongweb-spring-boot-starter-1.x-7.0.E.5_P3.jar
    8. tongweb-embed-websocket-7.0.E.5_P3.jar tongweb-javax-websocket-1.1.jar tongweb-spring-boot-starter-2.x-7.0.E.5_P3.jar
    9. tongweb-gmjsse-7.0.0.jar tongweb-jaxws-api-2.3.1.jar tongweb-spring-boot-websocket-1.x-7.0.E.5_P3.jar
    10. tongweb-gmjsse.pom tongweb-jsp-7.0.E.5_P3.jar tongweb-spring-boot-websocket-2.x-7.0.E.5_P3.jar
    11. tongweb-gmssl-1.0.0.jar tongweb-plugin.jar tongweb-websocket-starter1.x.pom
    12. tongweb-javax-annotation-1.2.jar tongweb-spring-boot-data-jdbc-starter-1.x-7.0.E.5_P3.jar tongweb-websocket-starter2.x.pom

    执行命令:  上传中央仓库

    sh deployMavenJar.sh "http://172.16.10.1:8082/repository/thirdparty/"  "thirdparty"

    1. [root@localhost tongweb-embed-7.0.E.5_P3]# cat deployMavenJar.sh
    2. #!/bin/sh
    3. DIRNAME=`pwd`
    4. ulimit -n 65536 >/dev/null 2>&1
    5. ulimit -c unlimited
    6. # resolve links - $0 may be a softlink
    7. PRG="$0"
    8. while [ -h "$PRG" ]; do
    9. ls=`ls -ld "$PRG"`
    10. link=`expr "$ls" : '.*-> \(.*\)$'`
    11. if expr "$link" : '/.*' > /dev/null; then
    12. PRG="$link"
    13. else
    14. PRG=`dirname "$PRG"`/"$link"
    15. fi
    16. done
    17. # Get standard environment variables
    18. PRGDIR=`dirname "$PRG"`
    19. EMBED_HOME=`cd ${PRGDIR}/ && pwd`
    20. URL="$1"
    21. if [[ -z "$URL" ]];
    22. then
    23. echo Please enter the [url] of the repository to deploy.
    24. echo Syntax:
    25. echo deployMavenJar.bat [url] [sid]
    26. echo url : the url of the repository to deploy
    27. echo sid : id to map on server section of settings.xml, you can find it in settings.xml "setting->servers->server"
    28. echo NOTE: You should either specify username/password OR privateKey/passphrase in settings.xml, since these pairings are used together.
    29. echo Examples:
    30. echo deployMavenJar.bat "http://127.0.0.1:8081/nexus/content/repositories/central/" "central"
    31. exit
    32. fi
    33. SID="$2"
    34. if [[ -z "$SID" ]];
    35. then
    36. echo Please enter [sid] to map on server section of settings.xml
    37. echo Syntax:
    38. echo deployMavenJar.bat [url] [sid]
    39. echo url : the url of the repository to deploy
    40. echo sid : id to map on server section of settings.xml, you can find it in settings.xml "setting->servers->server"
    41. echo NOTE: You should either specify username/password OR privateKey/passphrase in settings.xml, since these pairings are used together.
    42. echo Examples:
    43. echo deployMavenJar.bat "http://127.0.0.1:8081/nexus/content/repositories/central/" "central"
    44. fi
    45. mvn deploy:deploy-file -DpomFile=${EMBED_HOME}/lib/tongweb-spring-boot-maven-plugin.pom -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-maven-plugin -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=%EMBED_HOME%/lib/tongweb-spring-boot-maven-plugin-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    46. mvn deploy:deploy-file -DpomFile=${EMBED_HOME}/lib/tongweb-embed.pom -DgroupId=com.tongweb -DartifactId=tongweb-embed -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-embed-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    47. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-jsp -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-jsp-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    48. mvn deploy:deploy-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-data-jdbc-starter-1.x -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-data-jdbc-starter-1.x-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    49. mvn deploy:deploy-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-data-jdbc-starter-2.x -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-data-jdbc-starter-2.x-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    50. mvn deploy:deploy-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-starter-1.x -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-starter-1.x-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    51. mvn deploy:deploy-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-starter-2.x -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-starter-2.x-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    52. mvn deploy:deploy-file -DpomFile=${EMBED_HOME}/lib/tongweb-websocket-starter1.x.pom -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-websocket-1.x -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-websocket-1.x-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    53. mvn deploy:deploy-file -DpomFile=${EMBED_HOME}/lib/tongweb-websocket-starter2.x.pom -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-websocket-2.x -Dversion=7.0.E.5_P3 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-websocket-2.x-7.0.E.5_P3.jar -DrepositoryId=${SID} -Durl=${URL}
    54. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-websocket -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-websocket-7.0.E.5_P3.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    55. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-gmssl -Dversion=1.0.0 -Dpackaging=jar -Dfile=${EMBED_HOME}/lib/tongweb-gmssl-1.0.0.jar -DrepositoryId=${SID} -Durl=${URL}
    56. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-javax -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-javax-7.0.E.5_P3.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    57. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-servlet -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-servlet-7.0.E.5_P3.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    58. mvn deploy:deploy-file -DpomFile=${EMBED_HOME}/lib/tongweb-gmjsse.pom -DgroupId=com.tongweb -DartifactId=tongweb-gmjsse -Dversion=7.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-gmjsse-7.0.0.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    59. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-annotation -Dversion=1.2 -Dfile=${EMBED_HOME}/lib/tongweb-javax-annotation-1.2.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    60. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-el -Dversion=3.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-javax-el-3.0.0.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    61. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-websocket -Dversion=1.1 -Dfile=${EMBED_HOME}/lib/tongweb-javax-websocket-1.1.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    62. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-servlet -Dversion=4.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-javax-servlet-4.0.0.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    63. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-jsp -Dversion=2.1 -Dfile=${EMBED_HOME}/lib/tongweb-javax-jsp-2.1.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    64. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-jaxws-api -Dversion=2.3.1 -Dfile=${EMBED_HOME}/lib/tongweb-jaxws-api-2.3.1.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}
    65. mvn deploy:deploy-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-security-auth-message-api -Dversion=1.1.0 -Dfile=${EMBED_HOME}/lib/tongweb-javax-security-auth-message-api-1.1.0.jar -Dpackaging=jar -DrepositoryId=${SID} -Durl=${URL}[root@localhost tongweb-embed-7.0.E.5_P3]#

    上传本地仓库

    1. [root@localhost tongweb-embed-7.0.E.5_P3]# cat installMavenJar.sh
    2. #!/bin/sh
    3. DIRNAME=`pwd`
    4. ulimit -n 65536 >/dev/null 2>&1
    5. ulimit -c unlimited
    6. # resolve links - $0 may be a softlink
    7. PRG="$0"
    8. while [ -h "$PRG" ]; do
    9. ls=`ls -ld "$PRG"`
    10. link=`expr "$ls" : '.*-> \(.*\)$'`
    11. if expr "$link" : '/.*' > /dev/null; then
    12. PRG="$link"
    13. else
    14. PRG=`dirname "$PRG"`/"$link"
    15. fi
    16. done
    17. # Get standard environment variables
    18. PRGDIR=`dirname "$PRG"`
    19. EMBED_HOME=`cd ${PRGDIR}/ && pwd`
    20. mvn install:install-file -DpomFile=${EMBED_HOME}/lib/tongweb-spring-boot-maven-plugin.pom -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-maven-plugin -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-maven-plugin-7.0.E.5_P3.jar -Dpackaging=jar
    21. mvn install:install-file -DpomFile=${EMBED_HOME}/lib/tongweb-embed.pom -DgroupId=com.tongweb -DartifactId=tongweb-embed -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-7.0.E.5_P3.jar -Dpackaging=jar
    22. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-jsp -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-jsp-7.0.E.5_P3.jar -Dpackaging=jar
    23. mvn install:install-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-data-jdbc-starter-1.x -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-data-jdbc-starter-1.x-7.0.E.5_P3.jar -Dpackaging=jar
    24. mvn install:install-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-data-jdbc-starter-2.x -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-data-jdbc-starter-2.x-7.0.E.5_P3.jar -Dpackaging=jar
    25. mvn install:install-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-starter-1.x -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-starter-1.x-7.0.E.5_P3.jar -Dpackaging=jar
    26. mvn install:install-file -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-starter-2.x -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-starter-2.x-7.0.E.5_P3.jar -Dpackaging=jar
    27. mvn install:install-file -DpomFile=${EMBED_HOME}/lib/tongweb-websocket-starter1.x.pom -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-websocket-1.x -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-websocket-1.x-7.0.E.5_P3.jar -Dpackaging=jar
    28. mvn install:install-file -DpomFile=${EMBED_HOME}/lib/tongweb-websocket-starter2.x.pom -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-websocket-2.x -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-spring-boot-websocket-2.x-7.0.E.5_P3.jar -Dpackaging=jar
    29. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-websocket -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-websocket-7.0.E.5_P3.jar -Dpackaging=jar
    30. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-gmssl -Dversion=1.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-gmssl-1.0.0.jar -Dpackaging=jar
    31. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-javax -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-javax-7.0.E.5_P3.jar -Dpackaging=jar
    32. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-servlet -Dversion=7.0.E.5_P3 -Dfile=${EMBED_HOME}/lib/tongweb-embed-servlet-7.0.E.5_P3.jar -Dpackaging=jar
    33. mvn install:install-file -DpomFile=${EMBED_HOME}/lib/tongweb-gmjsse.pom -DgroupId=com.tongweb -DartifactId=tongweb-gmjsse -Dversion=7.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-gmjsse-7.0.0.jar -Dpackaging=jar
    34. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-annotation -Dversion=1.2 -Dfile=${EMBED_HOME}/lib/tongweb-javax-annotation-1.2.jar -Dpackaging=jar
    35. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-el -Dversion=3.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-javax-el-3.0.0.jar -Dpackaging=jar
    36. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-websocket -Dversion=1.1 -Dfile=${EMBED_HOME}/lib/tongweb-javax-websocket-1.1.jar -Dpackaging=jar
    37. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-servlet -Dversion=4.0.0 -Dfile=${EMBED_HOME}/lib/tongweb-javax-servlet-4.0.0.jar -Dpackaging=jar
    38. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-jsp -Dversion=2.1 -Dfile=${EMBED_HOME}/lib/tongweb-javax-jsp-2.1.jar -Dpackaging=jar
    39. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-jaxws-api -Dversion=2.3.1 -Dfile=${EMBED_HOME}/lib/tongweb-jaxws-api-2.3.1.jar -Dpackaging=jar
    40. mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-javax-security-auth-message-api -Dversion=1.1.0 -Dfile=${EMBED_HOME}/lib/tongweb-javax-security-auth-message-api-1.1.0.jar -Dpackaging=jar

    依赖jar文件 

    https://download.csdn.net/download/Michaelwubo/88421414

    【国产化信创实践】TongWeb集成SpringBoot_tongweb部署springboot项目-CSDN博客

  • 相关阅读:
    Day-06 基于 Docker 安装 Nginx 镜像
    some和filter、map的区别
    基于php 进行每半小时钉钉预警
    SpringBoot项目创建及运行
    【深度学习框架】torch.norm函数详解用法
    网课答案公众号搭建!小白教程!内附网课题库接口
    21. 合并两个有序链表 (Python 实现)
    【MySQL】视图、函数、存储过程优缺点
    [附源码]Python计算机毕业设计SSM竞赛报名管理系统(程序+LW)
    去哪里找自媒体视频剪辑中的视频素材?
  • 原文地址:https://blog.csdn.net/Michaelwubo/article/details/133805282