zoukankan      html  css  js  c++  java
  • Cargo java下的自动化部署工具

    Mission

    Cargo is a thin wrapper that allows you to manipulate Java EE containers in a standard way.  

    Tools

    Cargo provides the following Tools and APIs:

    • A Java API to start/stop/configure Java Containers and deploy modules into them.
    • A Java API to parse/create/merge Java EE Modules
    • Ant tasks and Maven 2/Maven 3 plugins.
      • Intellij IDEA and Netbeans plugins are in the sandbox.

    Usage

    Cargo is often used to deploy applications to containers from test APIs (such as JUnit), ANT or Maven builds. Cargo can install the container and dependencies needed for your deployment as well. Please find below the links to our Quick Start guides:

    Development Status

    Current Versions

    click in the status column to get release notes:

    Version

    Status

    Comments

    1.2.0

    (tick)

    Released on 24/01/2012

    All released versions are available here.

    Container Support

    List of supported containers and the extensions that are implemented for each container (Java API, Ant tasks and Maven2/Maven3 plugin). The specified version is the version of the associated Cargo module where the feature was first made available (for example 0.2 for the Maven2 plugin means version 0.2 of the Cargo Maven 2 extension release). Click on a container's name to see a detailed list of features it supports.

    Container

    Java API (version)

    Ant tasks (version)

    Maven 2 plugin (version)

    Geronimo 1.x

    (tick)

    0.8

    (tick)

    0.8

    (tick)

    0.8

    Geronimo 2.x

    (tick)

    1.0.4

    (tick)

    1.0.4

    (tick)

    1.0.4

    Glassfish 2.x

    (tick)

    1.0.1

    (tick)

    1.0.1

    (tick)

    1.0.1

    Glassfish 3.x

    (tick)

    1.0.1

    (tick)

    1.0.1

    (tick)

    1.0.1

    JBoss 3.x

    (tick)

    0.7

    (tick)

    0.7

    (tick)

    0.7

    JBoss 4.x

    (tick)

    0.7

    (tick)

    0.7

    (tick)

    0.7

    JBoss 4.2.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    JBoss 5.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    JBoss 5.1.x

    (tick)

    1.0.1

    (tick)

    1.0.1

    (tick)

    1.0.1

    JBoss 6.x

    (tick)

    1.0.1

    (tick)

    1.0.1

    (tick)

    1.0.1

    JBoss 6.1.x

    (tick)

    1.1.3

    (tick)

    1.1.3

    (tick)

    1.1.3

    JBoss 7.x

    (tick)

    1.1.2

    (tick)

    1.1.2

    (tick)

    1.1.2

    JBoss 7.1.x

    (tick)

    1.1.4

    (tick)

    1.1.4

    (tick)

    1.1.4

    Jetty 4.x

    (tick)

    0.1

    (tick)

    1.0

    (tick)

    0.2

    Jetty 5.x

    (tick)

    0.8

    (tick)

    1.0

    (tick)

    0.2

    Jetty 6.x

    (tick)

    0.8

    (tick)

    1.0

    (tick)

    0.2

    Jetty 7.x

    (tick)

    1.0.1

    (tick)

    1.0.1

    (tick)

    1.0.1

    Jetty 8.x

    (tick)

    1.1.3

    (tick)

    1.1.3

    (tick)

    1.1.3

    jo! 1.x

    (tick)

    0.5

    (tick)

    0.5

    (tick)

    0.1

    JOnAS 4.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    JOnAS 5.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    JRun 4.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    Oc4J 9.x

    (tick)

    0.3

    (tick)

    0.3

    (tick)

    0.3

    Oc4j 10.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    Resin 2.x

    (tick)

    0.1

    (tick)

    0.1

    (tick)

    0.1

    Resin 3.x

    (tick)

    0.1

    (tick)

    0.1

    (tick)

    0.1

    Resin 3.1.x(tick)

    1.2.0
    (tick)

    1.2.0
    (tick)

    1.2.0

    Tomcat 4.x

    (tick)

    0.1

    (tick)

    0.1

    (tick)

    0.1

    Tomcat 5.x

    (tick)

    0.1

    (tick)

    0.1

    (tick)

    0.1

    Tomcat 6.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    Tomcat 7.x

    (tick)

    1.0.2

    (tick)

    1.0.2

    (tick)

    1.0.2

    WebLogic 8.x

    (tick)

    0.3

    (tick)

    0.3

    (tick)

    0.1

    WebLogic 9.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    WebLogic 10.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    WebLogic 10.3.x

    (tick)

    1.0

    (tick)

    1.0

    (tick)

    1.0

    • 等级: 三星会员
    • 性别:
    • 文章: 228
    • 积分: 324
    • 来自: 杭州
       发表时间:2011-01-30  
    我其实不是很理解大家为什么觉得用上了Maven就成了牛人

    其实Maven就是一个插件平台+一个生命周期理论

    我认为只要关注Maven的每一个人,都能根据Sonatype提供的文档达到足够入门的程度——不要过分追求技术化,比如动不动就自行开发插件啥的

    我这个帖子的初衷还是讨论插件——Maven的两大核心之一。
    当然了,如果大家有闲情,也可以讨论下这个生命周期理论下的相关心得
    返回顶楼
    0
    • unsid
    • 等级: 一星会员
    • 性别:
    • 文章: 232
    • 积分: 100
    • 来自: 北京
       发表时间:2011-01-31  
    itstarting 写道
    unsid 写道
    再推荐俩
    cobertura,生成测试覆盖率报告的
    cargo,自动部署到远程服务器的



    第一个有点意思,学习下
    第二个感觉意义不大,真部署的话,还是手动部署的放心,而平时顶多就是集成调试下


    比如你定时每天凌晨3点由hudson执行任务,从svn检出代码,编译,测试,生成报告,把报告发到程序员邮箱里,然后程序打包,将包部署到测试服务器,重启服务器这一串过程

    第二天程序员一早上习惯性先首邮件,发现测试有错误修改代码,然后再点点测试服务器上的最新版本系统,没问题就开始今日的代码编写,如果没有cargo,靠maven deploy插件命令只能把包部署到私服上,不能到指定服务器的指定目录,整个链条到最后一步就断了。 



    We also encourage you to report success and failures on different versions of those containers in the Tested on section. Moreover, some containers are tested dialy on the Codehaus Cargo Continous Integration System; for these the container's page also shows which version is tested.

  • 相关阅读:
    61. Rotate List
    60. Permutation Sequence
    59. Spiral Matrix II
    57. Insert Interval
    18多校8th
    2019山东省赛总结
    二分图——poj2239
    二分图匹配——poj1469
    二分图——poj2446匈牙利算法
    思维构造,建图——cf1159E
  • 原文地址:https://www.cnblogs.com/lexus/p/2342179.html
Copyright © 2011-2022 走看看