openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1776864 - in /openwebbeans/meecrowave/trunk: meecrowave-arquillian/src/main/java/org/apache/meecrowave/arquillian/ meecrowave-core/src/main/java/org/apache/meecrowave/ meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/ meecr...
Date Sun, 01 Jan 2017 17:48:32 GMT
Author: rmannibucau
Date: Sun Jan  1 17:48:32 2017
New Revision: 1776864

URL: http://svn.apache.org/viewvc?rev=1776864&view=rev
Log:
adding tomcatNoJmx flag (on by default) and skipping jcs core scanning

Added:
    openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/NoDescriptorRegistry.java
Modified:
    openwebbeans/meecrowave/trunk/meecrowave-arquillian/src/main/java/org/apache/meecrowave/arquillian/MeecrowaveConfiguration.java
    openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
    openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/KnowClassesFilter.java
    openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveExtension.java
    openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveTask.java
    openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java

Modified: openwebbeans/meecrowave/trunk/meecrowave-arquillian/src/main/java/org/apache/meecrowave/arquillian/MeecrowaveConfiguration.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-arquillian/src/main/java/org/apache/meecrowave/arquillian/MeecrowaveConfiguration.java?rev=1776864&r1=1776863&r2=1776864&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-arquillian/src/main/java/org/apache/meecrowave/arquillian/MeecrowaveConfiguration.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-arquillian/src/main/java/org/apache/meecrowave/arquillian/MeecrowaveConfiguration.java
Sun Jan  1 17:48:32 2017
@@ -99,6 +99,7 @@ public class MeecrowaveConfiguration imp
     private String scanningExcludes;
     private String scanningPackageIncludes;
     private String scanningPackageExcludes;
+    private boolean tomcatNoJmx = true;
 
     @Override
     public void validate() throws ConfigurationException {
@@ -710,4 +711,12 @@ public class MeecrowaveConfiguration imp
     public void setScanningPackageExcludes(final String scanningPackageExcludes) {
         this.scanningPackageExcludes = scanningPackageExcludes;
     }
+
+    public boolean isTomcatNoJmx() {
+        return tomcatNoJmx;
+    }
+
+    public void setTomcatNoJmx(final boolean tomcatNoJmx) {
+        this.tomcatNoJmx = tomcatNoJmx;
+    }
 }

Modified: openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java?rev=1776864&r1=1776863&r2=1776864&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/Meecrowave.java
Sun Jan  1 17:48:32 2017
@@ -48,6 +48,7 @@ import org.apache.meecrowave.logging.tom
 import org.apache.meecrowave.openwebbeans.OWBAutoSetup;
 import org.apache.meecrowave.runner.cli.CliOption;
 import org.apache.meecrowave.tomcat.CDIInstanceManager;
+import org.apache.meecrowave.tomcat.NoDescriptorRegistry;
 import org.apache.meecrowave.tomcat.OWBJarScanner;
 import org.apache.meecrowave.tomcat.ProvidedLoader;
 import org.apache.meecrowave.tomcat.TomcatAutoInitializer;
@@ -55,6 +56,7 @@ import org.apache.tomcat.JarScanFilter;
 import org.apache.tomcat.util.descriptor.web.LoginConfig;
 import org.apache.tomcat.util.descriptor.web.SecurityCollection;
 import org.apache.tomcat.util.descriptor.web.SecurityConstraint;
+import org.apache.tomcat.util.modeler.Registry;
 import org.apache.tomcat.util.net.SSLHostConfig;
 import org.apache.xbean.finder.ResourceFinder;
 import org.apache.xbean.recipe.ObjectRecipe;
@@ -62,6 +64,27 @@ import org.xml.sax.Attributes;
 import org.xml.sax.SAXException;
 import org.xml.sax.helpers.DefaultHandler;
 
+import javax.management.Attribute;
+import javax.management.AttributeList;
+import javax.management.AttributeNotFoundException;
+import javax.management.InstanceAlreadyExistsException;
+import javax.management.InstanceNotFoundException;
+import javax.management.IntrospectionException;
+import javax.management.InvalidAttributeValueException;
+import javax.management.ListenerNotFoundException;
+import javax.management.MBeanException;
+import javax.management.MBeanInfo;
+import javax.management.MBeanRegistrationException;
+import javax.management.MBeanServer;
+import javax.management.NotCompliantMBeanException;
+import javax.management.NotificationFilter;
+import javax.management.NotificationListener;
+import javax.management.ObjectInstance;
+import javax.management.ObjectName;
+import javax.management.OperationsException;
+import javax.management.QueryExp;
+import javax.management.ReflectionException;
+import javax.management.loading.ClassLoaderRepository;
 import javax.xml.parsers.SAXParser;
 import javax.xml.parsers.SAXParserFactory;
 import java.io.File;
@@ -71,6 +94,7 @@ import java.io.FileOutputStream;
 import java.io.FileWriter;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.ObjectInputStream;
 import java.io.OutputStream;
 import java.io.Writer;
 import java.lang.management.ManagementFactory;
@@ -84,8 +108,10 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.LinkedList;
+import java.util.List;
 import java.util.Map;
 import java.util.Properties;
+import java.util.Set;
 import java.util.TreeMap;
 import java.util.function.Consumer;
 import java.util.stream.Stream;
@@ -278,6 +304,10 @@ public class Meecrowave implements AutoC
     }
 
     public Meecrowave start() {
+        if (configuration.isTomcatNoJmx()) {
+            doSkipJmx();
+        }
+
         clearCatalinaSystemProperties = System.getProperty("catalina.base") == null &&
System.getProperty("catalina.home") == null;
         if (configuration.isUseLog4j2JulLogManager()) {
             System.setProperty("java.util.logging.manager", "org.apache.logging.log4j.jul.LogManager");
@@ -537,6 +567,16 @@ public class Meecrowave implements AutoC
         return this;
     }
 
+    private void doSkipJmx() {
+        try {
+            final Field registry = Registry.class.getDeclaredField("registry");
+            registry.setAccessible(true);
+            registry.set(null, new NoDescriptorRegistry());
+        } catch (final Exception e) {
+            e.printStackTrace();
+        }
+    }
+
     private SSLHostConfig buildSslHostConfig() {
         final ObjectRecipe recipe = new ObjectRecipe(SSLHostConfig.class);
         for (final String key : configuration.properties.stringPropertyNames()) {
@@ -907,6 +947,9 @@ public class Meecrowave implements AutoC
                 "should meecrowave wrap the loader to define another loader identity but
still use the same classes and resources.")
         private boolean tomcatWrapLoader = false;
 
+        @CliOption(name = "tomcat-skip-jmx", description = "(Experimental) Should Tomcat
MBeans be skipped.")
+        private boolean tomcatNoJmx = true;
+
         @CliOption(name = "shared-librairies", description = "A folder containing shared
libraries.")
         private String sharedLibraries;
 
@@ -931,6 +974,14 @@ public class Meecrowave implements AutoC
             }));
         }
 
+        public boolean isTomcatNoJmx() {
+            return tomcatNoJmx;
+        }
+
+        public void setTomcatNoJmx(final boolean tomcatNoJmx) {
+            this.tomcatNoJmx = tomcatNoJmx;
+        }
+
         public File getPidFile() {
             return pidFile;
         }

Modified: openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/KnowClassesFilter.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/KnowClassesFilter.java?rev=1776864&r1=1776863&r2=1776864&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/KnowClassesFilter.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/KnowClassesFilter.java
Sun Jan  1 17:48:32 2017
@@ -86,6 +86,12 @@ public class KnowClassesFilter implement
         excluded.add("org.apache.commons.dbcp2");
         excluded.add("org.apache.commons.digester");
         excluded.add("org.apache.commons.io");
+        excluded.add("org.apache.commons.jcs.access");
+        excluded.add("org.apache.commons.jcs.admin");
+        excluded.add("org.apache.commons.jcs.auxilary");
+        excluded.add("org.apache.commons.jcs.engine");
+        excluded.add("org.apache.commons.jcs.io");
+        excluded.add("org.apache.commons.jcs.utils");
         excluded.add("org.apache.commons.lang");
         excluded.add("org.apache.commons.lang3");
         excluded.add("org.apache.commons.logging");

Added: openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/NoDescriptorRegistry.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/NoDescriptorRegistry.java?rev=1776864&view=auto
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/NoDescriptorRegistry.java
(added)
+++ openwebbeans/meecrowave/trunk/meecrowave-core/src/main/java/org/apache/meecrowave/tomcat/NoDescriptorRegistry.java
Sun Jan  1 17:48:32 2017
@@ -0,0 +1,307 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.meecrowave.tomcat;
+
+import org.apache.tomcat.util.modeler.ManagedBean;
+import org.apache.tomcat.util.modeler.Registry;
+
+import javax.management.Attribute;
+import javax.management.AttributeList;
+import javax.management.AttributeNotFoundException;
+import javax.management.InstanceAlreadyExistsException;
+import javax.management.InstanceNotFoundException;
+import javax.management.IntrospectionException;
+import javax.management.InvalidAttributeValueException;
+import javax.management.ListenerNotFoundException;
+import javax.management.MBeanException;
+import javax.management.MBeanInfo;
+import javax.management.MBeanOperationInfo;
+import javax.management.MBeanRegistrationException;
+import javax.management.MBeanServer;
+import javax.management.NotCompliantMBeanException;
+import javax.management.NotificationFilter;
+import javax.management.NotificationListener;
+import javax.management.ObjectInstance;
+import javax.management.ObjectName;
+import javax.management.OperationsException;
+import javax.management.QueryExp;
+import javax.management.ReflectionException;
+import javax.management.loading.ClassLoaderRepository;
+import java.io.ObjectInputStream;
+import java.util.List;
+import java.util.Set;
+
+import static java.util.Collections.emptyList;
+
+// skip Tomcat MBeans, goal is really to skip mbean-descriptors.xml reading which is slow
for small apps.
+public class NoDescriptorRegistry extends Registry {
+    private final MBeanServer mBeanServer = new NoJmxMBeanServer();
+
+    @Override
+    public void registerComponent(final Object bean, final String oname, final String type)
throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void unregisterComponent(final String oname) {
+        // no-op
+    }
+
+    @Override
+    public void invoke(final List<ObjectName> mbeans, final String operation, final
boolean failFirst) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public int getId(final String domain, final String name) {
+        return 0;
+    }
+
+    @Override
+    public void addManagedBean(final ManagedBean bean) {
+        // no-op
+    }
+
+    @Override
+    public ManagedBean findManagedBean(final String name) {
+        return null;
+    }
+
+    @Override
+    public String getType(final ObjectName oname, final String attName) {
+        return null;
+    }
+
+    @Override
+    public MBeanOperationInfo getMethodInfo(final ObjectName oname, final String opName)
{
+        return null;
+    }
+
+    @Override
+    public ManagedBean findManagedBean(final Object bean, final Class<?> beanClass,
final String type) throws Exception {
+        return null;
+    }
+
+    @Override
+    public List<ObjectName> load(final String sourceType, final Object source, final
String param) throws Exception {
+        return emptyList();
+    }
+
+    @Override
+    public void loadDescriptors(final String packageName, final ClassLoader classLoader)
{
+        // no-op
+    }
+
+    @Override
+    public void registerComponent(final Object bean, final ObjectName oname, final String
type) throws Exception {
+        // no-op
+    }
+
+    @Override
+    public void unregisterComponent(final ObjectName oname) {
+        // no-op
+    }
+
+    @Override
+    public MBeanServer getMBeanServer() {
+        return mBeanServer;
+    }
+
+    private static class NoJmxMBeanServer implements MBeanServer {
+        @Override
+        public ObjectInstance createMBean(String className, ObjectName name) throws ReflectionException,
InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException, MBeanRegistrationException
{
+            return null;
+        }
+
+        @Override
+        public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName)
throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException,
InstanceNotFoundException, MBeanRegistrationException {
+            return null;
+        }
+
+        @Override
+        public ObjectInstance createMBean(String className, ObjectName name, Object[] params,
String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException,
NotCompliantMBeanException, MBeanRegistrationException {
+            return null;
+        }
+
+        @Override
+        public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName,
Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException,
MBeanRegistrationException, NotCompliantMBeanException, InstanceNotFoundException, MBeanRegistrationException
{
+            return null;
+        }
+
+        @Override
+        public ObjectInstance registerMBean(Object object, ObjectName name) throws InstanceAlreadyExistsException,
MBeanRegistrationException, NotCompliantMBeanException {
+            return null;
+        }
+
+        @Override
+        public void unregisterMBean(ObjectName name) throws InstanceNotFoundException, MBeanRegistrationException
{
+
+        }
+
+        @Override
+        public ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException
{
+            return null;
+        }
+
+        @Override
+        public Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query) {
+            return null;
+        }
+
+        @Override
+        public Set<ObjectName> queryNames(ObjectName name, QueryExp query) {
+            return null;
+        }
+
+        @Override
+        public boolean isRegistered(ObjectName name) {
+            return false;
+        }
+
+        @Override
+        public Integer getMBeanCount() {
+            return null;
+        }
+
+        @Override
+        public Object getAttribute(ObjectName name, String attribute) throws MBeanException,
AttributeNotFoundException, InstanceNotFoundException, ReflectionException {
+            return null;
+        }
+
+        @Override
+        public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException,
ReflectionException {
+            return null;
+        }
+
+        @Override
+        public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException,
AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
{
+
+        }
+
+        @Override
+        public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws
InstanceNotFoundException, ReflectionException {
+            return null;
+        }
+
+        @Override
+        public Object invoke(ObjectName name, String operationName, Object[] params, String[]
signature) throws InstanceNotFoundException, MBeanException, ReflectionException {
+            return null;
+        }
+
+        @Override
+        public String getDefaultDomain() {
+            return null;
+        }
+
+        @Override
+        public String[] getDomains() {
+            return new String[0];
+        }
+
+        @Override
+        public void addNotificationListener(ObjectName name, NotificationListener listener,
NotificationFilter filter, Object handback) throws InstanceNotFoundException {
+
+        }
+
+        @Override
+        public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter
filter, Object handback) throws InstanceNotFoundException {
+
+        }
+
+        @Override
+        public void removeNotificationListener(ObjectName name, ObjectName listener) throws
InstanceNotFoundException, ListenerNotFoundException {
+
+        }
+
+        @Override
+        public void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter
filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException {
+
+        }
+
+        @Override
+        public void removeNotificationListener(ObjectName name, NotificationListener listener)
throws InstanceNotFoundException, ListenerNotFoundException {
+
+        }
+
+        @Override
+        public void removeNotificationListener(ObjectName name, NotificationListener listener,
NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
{
+
+        }
+
+        @Override
+        public MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException,
IntrospectionException, ReflectionException {
+            return null;
+        }
+
+        @Override
+        public boolean isInstanceOf(ObjectName name, String className) throws InstanceNotFoundException
{
+            return false;
+        }
+
+        @Override
+        public Object instantiate(String className) throws ReflectionException, MBeanException
{
+            return null;
+        }
+
+        @Override
+        public Object instantiate(String className, ObjectName loaderName) throws ReflectionException,
MBeanException, InstanceNotFoundException {
+            return null;
+        }
+
+        @Override
+        public Object instantiate(String className, Object[] params, String[] signature)
throws ReflectionException, MBeanException {
+            return null;
+        }
+
+        @Override
+        public Object instantiate(String className, ObjectName loaderName, Object[] params,
String[] signature) throws ReflectionException, MBeanException, InstanceNotFoundException
{
+            return null;
+        }
+
+        @Override
+        public ObjectInputStream deserialize(ObjectName name, byte[] data) throws InstanceNotFoundException,
OperationsException {
+            return null;
+        }
+
+        @Override
+        public ObjectInputStream deserialize(String className, byte[] data) throws OperationsException,
ReflectionException {
+            return null;
+        }
+
+        @Override
+        public ObjectInputStream deserialize(String className, ObjectName loaderName, byte[]
data) throws InstanceNotFoundException, OperationsException, ReflectionException {
+            return null;
+        }
+
+        @Override
+        public ClassLoader getClassLoaderFor(ObjectName mbeanName) throws InstanceNotFoundException
{
+            return null;
+        }
+
+        @Override
+        public ClassLoader getClassLoader(ObjectName loaderName) throws InstanceNotFoundException
{
+            return null;
+        }
+
+        @Override
+        public ClassLoaderRepository getClassLoaderRepository() {
+            return null;
+        }
+    }
+}

Modified: openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveExtension.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveExtension.java?rev=1776864&r1=1776863&r2=1776864&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveExtension.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveExtension.java
Sun Jan  1 17:48:32 2017
@@ -89,6 +89,7 @@ public class MeecrowaveExtension {
     private String scanningExcludes;
     private String scanningPackageIncludes;
     private String scanningPackageExcludes;
+    private boolean tomcatNoJmx = true;
 
     public boolean isJava9SkipWorkarounds() {
         return java9SkipWorkarounds;
@@ -601,4 +602,12 @@ public class MeecrowaveExtension {
     public void setScanningPackageExcludes(String scanningPackageExcludes) {
         this.scanningPackageExcludes = scanningPackageExcludes;
     }
+
+    public boolean isTomcatNoJmx() {
+        return tomcatNoJmx;
+    }
+
+    public void setTomcatNoJmx(final boolean tomcatNoJmx) {
+        this.tomcatNoJmx = tomcatNoJmx;
+    }
 }

Modified: openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveTask.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveTask.java?rev=1776864&r1=1776863&r2=1776864&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveTask.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-gradle-plugin/src/main/java/org/apache/meecrowave/gradle/MeecrowaveTask.java
Sun Jan  1 17:48:32 2017
@@ -103,12 +103,17 @@ public class MeecrowaveTask extends Defa
     @Input
     @Optional
     private boolean useTomcatDefaults = true;
+
     @Input
     @Optional
     private boolean skipHttp;
 
     @Input
     @Optional
+    private boolean tomcatNoJmx = true;
+
+    @Input
+    @Optional
     private boolean ssl;
 
     @Input
@@ -1099,4 +1104,12 @@ public class MeecrowaveTask extends Defa
     public void setScanningPackageExcludes(final String scanningPackageExcludes) {
         this.scanningPackageExcludes = scanningPackageExcludes;
     }
+
+    public boolean isTomcatNoJmx() {
+        return tomcatNoJmx;
+    }
+
+    public void setTomcatNoJmx(final boolean tomcatNoJmx) {
+        this.tomcatNoJmx = tomcatNoJmx;
+    }
 }

Modified: openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java
URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java?rev=1776864&r1=1776863&r2=1776864&view=diff
==============================================================================
--- openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java
(original)
+++ openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/java/org/apache/meecrowave/maven/MeecrowaveRunMojo.java
Sun Jan  1 17:48:32 2017
@@ -88,6 +88,9 @@ public class MeecrowaveRunMojo extends A
     @Parameter
     private Map<String, String> cxfServletParams;
 
+    @Parameter(property = "meecrowave.tomcatNoJmx", defaultValue = "true")
+    private boolean tomcatNoJmx;
+
     @Parameter(property = "meecrowave.quickSession", defaultValue = "true")
     private boolean quickSession;
 



Mime
View raw message