Apache Tomcat Maven Plugin parameter Daquan (Tomcat 6)

Source: Internet
Author: User
Tags tag name apache tomcat

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 a 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 isn't used for war
Deployment mode.

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

Mode (Default:war)
The deployment mode to use. This must is 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}) defaults to project name
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.

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 a embedded Tomcat
Server.

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

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

Available Parameters:

Addcontextwardependencies (Default:false)
Would 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, copied in the
Tomcat conf Directory.

classesdir/None/None
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)/none/None
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 of the Tomcat server on. By default It's 0 this means
Won ' t be started. The HTTPS connector is started only for value > 0.

Ignorepackaging (Default:false)
If set to true ignore if packaging of project was 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 of the Tomcat server on.

Serverxml
Server.xml to use Note if you use this must configure in the 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 would 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 was 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.

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.

Username
The tomcat username to use for deployment.

There's nothing behind type/ .
The class name of the resources to list, or null for all.

None/None/None/ none/After 4 ignorepackaging (Default:false)
If set to true ignore if packaging of project was not ' war '.

last 1 of FailOnError (default:true)
Whether to fail the build if the Web application cannot is undeployed.

Tomcat6:shutdown
Shuts down all possibly started embedded tomcat servers. This would be
Automatically down through a shutdown hook or the call this Mojo to shut
them down explictly.

By default the shutdown goal are not bound to any phase. For integration tests
You might want-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 ('/').

Apache Tomcat Maven Plugin parameter Daquan (Tomcat 6)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.