惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Martin Fowler
Martin Fowler
雷峰网
雷峰网
IT之家
IT之家
小众软件
小众软件
M
MIT News - Artificial intelligence
博客园 - 聂微东
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
C
Check Point Blog
云风的 BLOG
云风的 BLOG
腾讯CDC
H
Help Net Security
Y
Y Combinator Blog
I
InfoQ

博客园 - gcg0036

亚信仨月印象(国庆时再写) 博客搬家了! log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 模板引擎Crox用法大全(更新版) Apache Tomcat Maven Plugin MyEclipse 2015 CI 12 无限试用 sshe源码分析——权限管理的后台部分 sshe源码分析——全局架构 无聊的三月终于过去了 failed to initialize monitor thread 在Android项目中的测试类点击"run as JUnit test"出错 Interacting with Other Apps Saving Data Managing the Activity Lifecycle Adding the Action Bar Building Your First App The AndroidManifest.xml File handlebars简单用法 高性能跨语言模板引擎Crox
Apache Tomcat Maven Plugin 参数大全(Tomcat 6)
gcg0036 · 2015-04-12 · via 博客园 - gcg0036

tomcat6:deploy/deploy-only/redeploy/exploded/inplace
  1.Deploy a WAR to Tomcat.

  2.Deploy a WAR to Tomcat witjout forking the package lifecycle

  3.Redeploy a WAR in Tomcat. Deploy with forcing update flag to true

  4.Deploy an exploded WAR to Tomcat.

  5.Deploy a WAR in-place to Tomcat.

  Available parameters:

    charset (Default: ISO-8859-1)
      The URL encoding charset to use when communicating with Tomcat manager.

   contextFile

      The path of the Tomcat context XML file. This is not used for war
      deployment mode.

    ignorePackaging (Default: false)
      If set to true ignore if packaging of project is not 'war'.

    mode (Default: war)
      The deployment mode to use. This must be either war to deploy the war,
      context to deploy the context XML file, or both to deploy the war with the
      context XML file.

    password
      The password to use for deployment

    path (Default: /${project.artifactId})默认为项目名
      The webapp context path to use for the web application being run. This
      must always start with a forward-slash ('/').

    server
      The server id in settings.xml to use when authenticating with Tomcat
      manager, or null to use defaults of username admin and no password.

    tag
      The Tomcat webapp tag name to use.

    update (Default: false)
      Whether Tomcat should automatically undeploy webapps that already exist
      when deploying.

    url (Default: http://localhost:8080/manager)
      The full URL of the Tomcat manager instance to use.

    username
      The tomcat username to use for deployment

    warFile/warFile/warFile/warDirectory/warDirectory
      The path of the WAR file to deploy.

tomcat6:run/run-war/run-war-only
  1.Runs the current project as a dynamic web application using an embedded Tomcat
  server.

  2.Runs the current project as a packaged web application using an embedded
Tomcat server.

  3.Runs the current project as a packaged web application using an embedded
Tomcat server without forking the package cycle.

  Available parameters:

    addContextWarDependencies (Default: false)
      Will create a tomcat context for each dependencies of war type. To
      preserve backward compatibility it's false by default.

    additionalConfigFilesDir (Default: ${basedir}/src/main/tomcatconf)
      The directory contains additional configuration Files that copied in the
      Tomcat conf Directory.

    classesDir/无/无
      The classes directory for the web application being run.

    configurationDir
      The directory to create the Tomcat server configuration under.

    contextFile
      The path of the Tomcat context XML file.

    delegate (Default: true)/无/无
      Set the 'follow standard delegation model' flag used to configure our
      ClassLoader.

    fork (Default: false)
      Set this to true to allow Maven to continue to execute after invoking the
      run goal.

    httpsPort (Default: 0)
      The https port to run the Tomcat server on. By default it's 0 this means
      won't be started. The https connector will be started only for value > 0.

    ignorePackaging (Default: false)
      If set to true ignore if packaging of project is not 'war'.

    keystoreFile
      Override the default keystoreFile for the HTTPS connector (if enabled)

    keystorePass
      Override the default keystorePass for the HTTPS connector (if enabled)

    path (Default: /${project.artifactId})
      The webapp context path to use for the web application being run. This
      must always start with a forward-slash ('/').

    pluginArtifacts
      (no description available)

    port (Default: 8080)
      The port to run the Tomcat server on.

    serverXml
      server.xml to use Note if you use this you must configure in this file
      your webapp paths.

    systemProperties
      List of System properties to pass to the Tomcat Server.

    tomcatWebXml
      overriding the providing web.xml to run tomcat

    uriEncoding (Default: ISO-8859-1)
      The character encoding to use for decoding URIs.

    useSeparateTomcatClassLoader (Default: false)
      if true a new classLoader separated from maven core will be created to
      start tomcat.

    warSourceDirectory/warDirectory/warDirectory
      The web resources directory for the web application being run.

tomcat6:reload
  Reload a WAR in Tomcat.

  Available parameters:

    charset (Default: ISO-8859-1)
      The URL encoding charset to use when communicating with Tomcat manager.

    ignorePackaging (Default: false)
      If set to true ignore if packaging of project is not 'war'.

    password
      The password to use for deployment

    path (Default: /${project.artifactId})
      The webapp context path to use for the web application being run. This
      must always start with a forward-slash ('/').

    server
      The server id in settings.xml to use when authenticating with Tomcat
      manager, or null to use defaults of username admin and no password.

    url (Default: http://localhost:8080/manager)
      The full URL of the Tomcat manager instance to use.

    username
      The tomcat username to use for deployment

tomcat6:resources/   info/list/roles/    sessions/start/stop/   undeploy

  1.Lists JNDI resources in Tomcat.

  2.Lists information about the Tomcat version, OS, and JVM properties.

  3.Lists all the currently deployed web applications in Tomcat.

  4.Lists security roles in Tomcat.

  5.Lists session information for a WAR in Tomcat.

  Available parameters:

    charset (Default: ISO-8859-1)
      The URL encoding charset to use when communicating with Tomcat manager.

    password
      The password to use for deployment

    path (Default: /${project.artifactId})
      The webapp context path to use for the web application being run. This
      must always start with a forward-slash ('/').

    server
      The server id in settings.xml to use when authenticating with Tomcat
      manager, or null to use defaults of username admin and no password.

    url (Default: http://localhost:8080/manager)
      The full URL of the Tomcat manager instance to use.

    username
      The tomcat username to use for deployment.

    type/后面都无
      The class name of the resources to list, or null for all.

    无/无/无/无/后4个有 ignorePackaging (Default: false)
      If set to true ignore if packaging of project is not 'war'.

    最后1个有 failOnError (Default: true)
      Whether to fail the build if the web application cannot be undeployed.

tomcat6:shutdown
  Shuts down all possibly started embedded tomcat servers. This will be
  automatically down through a shutdown hook or you may call this Mojo to shut
  them down explictly.

  By default the shutdown goal is not bound to any phase. For integration tests
  you might want to bind it to post-integration-test.

  Available parameters:

    path (Default: /${project.artifactId})
      The webapp context path to use for the web application being run. This
      must always start with a forward-slash ('/').