This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git
commit d26ef496260d8ee0efd115731781bed3aa41081f Author: Mark Struberg <[email protected]> AuthorDate: Fri May 8 10:44:44 2026 +0200 add more documentation --- .../org/apache/meecrowave/configuration/Configuration.java | 12 ++++++++++-- .../java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java | 3 +++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/meecrowave-core/src/main/java/org/apache/meecrowave/configuration/Configuration.java b/meecrowave-core/src/main/java/org/apache/meecrowave/configuration/Configuration.java index 4a465ac..0d7e886 100644 --- a/meecrowave-core/src/main/java/org/apache/meecrowave/configuration/Configuration.java +++ b/meecrowave-core/src/main/java/org/apache/meecrowave/configuration/Configuration.java @@ -79,7 +79,7 @@ public class Configuration { @CliOption(name = "host", description = "Default host") private String host = "localhost"; - @CliOption(name = "dir", description = "Root folder if provided otherwise a fake one is created in tmp-dir") + @CliOption(name = "dir", description = "Root folder (Tomcat base directory) if provided otherwise a fake one is created in tmp-dir") private String dir; @CliOption(name = "server-xml", description = "Provided server.xml") @@ -1370,7 +1370,15 @@ public class Configuration { @Override public int hashCode() { - return Objects.hash(pidFile, watcherBouncing, httpPort, httpsPort, stopPort, host, dir, serverXml, keepServerXmlAsThis, properties, quickSession, skipHttp, ssl, keystoreFile, keystorePass, keystoreType, clientAuth, keyAlias, sslProtocol, webXml, loginConfig, securityConstraints, realm, users, roles, http2, connectors, tempDir, webResourceCached, conf, deleteBaseOnStartup, jaxrsMapping, cdiConversation, jaxrsProviderSetup, jaxrsDefaultProviders, jaxrsAutoActivateBeanValidation, ja [...] + return Objects.hash(pidFile, watcherBouncing, httpPort, httpsPort, stopPort, host, dir, serverXml, keepServerXmlAsThis, properties, quickSession, skipHttp, + ssl, keystoreFile, keystorePass, keystoreType, clientAuth, keyAlias, sslProtocol, webXml, loginConfig, securityConstraints, realm, users, + roles, http2, connectors, tempDir, webResourceCached, conf, deleteBaseOnStartup, jaxrsMapping, cdiConversation, jaxrsProviderSetup, jaxrsDefaultProviders, + jaxrsAutoActivateBeanValidation, jaxrsLogProviders, jsonpBufferStrategy, jsonpMaxStringLen, jsonpMaxReadBufferLen, jsonpMaxWriteBufferLen, + jsonpSupportsComment, jsonpPrettify, jsonbEncoding, jsonbNulls, jsonbIJson, jsonbPrettify, jsonbBinaryStrategy, jsonbNamingStrategy, jsonbOrderStrategy, + loggingGlobalSetup, cxfServletParams, tomcatScanning, tomcatAutoSetup, tomcatJspDevelopment, useShutdownHook, tomcatFilter, scanningIncludes, + scanningExcludes, scanningPackageIncludes, scanningPackageExcludes, webSessionTimeout, webSessionCookieConfig, useTomcatDefaults, tomcatWrapLoader, + tomcatNoJmx, sharedLibraries, useLog4j2JulLogManager, injectServletContainerInitializer, tomcatAccessLogPattern, meecrowaveProperties, + jaxwsSupportIfAvailable, defaultSSLHostConfigName, initializeClientBus, extensions, instanceCustomizers, initializers, antiResourceLocking, contextConfigurers); } private static ObjectRecipe newRecipe(final String clazz) { diff --git a/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java b/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java index 7f2bd04..89fa3b2 100644 --- a/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java +++ b/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java @@ -293,6 +293,9 @@ public class MeecrowaveRunMojo extends AbstractMojo { @Parameter(property = "meecrowave.force-log4j2-shutdown", defaultValue = "true") private boolean forceLog4j2Shutdown; + /** + * This is the root folder which gets served in the given {@link #context} + */ @Parameter(property = "meecrowave.webapp", defaultValue = "${project.basedir}/src/main/webapp") private File webapp;
