You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ks...@apache.org on 2015/10/29 21:35:12 UTC
[07/13] servicemix-maven-plugins git commit: Deprecated plugins
removed
http://git-wip-us.apache.org/repos/asf/servicemix-maven-plugins/blob/681882ee/jbi-maven-plugin/src/main/scripts/jbi.build.xml
----------------------------------------------------------------------
diff --git a/jbi-maven-plugin/src/main/scripts/jbi.build.xml b/jbi-maven-plugin/src/main/scripts/jbi.build.xml
deleted file mode 100644
index e2fafad..0000000
--- a/jbi-maven-plugin/src/main/scripts/jbi.build.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project>
-
- <!--
-
- Component Tasks
-
- -->
- <target name="installComponent">
- <taskdef name="installComponent" classname="org.apache.servicemix.jbi.management.task.InstallComponentTask" />
- <echo>Installing ${installerFile} to service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <installComponent serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" file="${installerFile}"/>
- </target>
-
- <target name="uninstallComponent">
- <taskdef name="uninstallComponent" classname="org.apache.servicemix.jbi.management.task.UninstallComponentTask" />
- <echo>Uninstalling ${componentName} from service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <uninstallComponent serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${componentName}"/>
- </target>
-
- <target name="startComponent">
- <taskdef name="startComponent" classname="org.apache.servicemix.jbi.management.task.StartComponentTask" />
- <echo>Starting ${componentName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <startComponent serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${componentName}"/>
- </target>
-
- <target name="stopComponent">
- <taskdef name="stopComponent" classname="org.apache.servicemix.jbi.management.task.StopComponentTask" />
- <echo>Stopping ${componentName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <stopComponent serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${componentName}"/>
- </target>
-
- <target name="shutdownComponent">
- <taskdef name="shutdownComponent" classname="org.apache.servicemix.jbi.management.task.ShutDownComponentTask" />
- <echo>Shutting down ${componentName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <shutdownComponent serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${componentName}"/>
- </target>
-
- <target name="listServiceEngines">
- <taskdef name="listServiceEngines" classname="org.apache.servicemix.jbi.management.task.ListServiceEnginesTask" />
- <echo>Listing service engines on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <listServiceEngines serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" serviceAssemblyName="${serviceAssemblyName}" sharedLibraryName="${sharedLibraryName}" state="${state}"/>
- </target>
-
- <target name="listBindingComponents">
- <taskdef name="listBindingComponents" classname="org.apache.servicemix.jbi.management.task.ListBindingComponentsTask" />
- <echo>Listing binding components on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <listBindingComponents serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" serviceAssemblyName="${serviceAssemblyName}" bindingComponentName="${bindingComponentName}" sharedLibraryName="${sharedLibraryName}" state="${state}"/>
- </target>
-
- <!--
-
- Shared Library Tasks
-
- -->
- <target name="installSharedLibrary">
- <taskdef name="installSharedLibrary" classname="org.apache.servicemix.jbi.management.task.InstallSharedLibraryTask" />
- <echo>Installing shared library ${sharedLibraryFile} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <installSharedLibrary serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" file="${sharedLibraryFile}"/>
- </target>
- <target name="uninstallSharedLibrary">
- <taskdef name="uninstallSharedLibrary" classname="org.apache.servicemix.jbi.management.task.UninstallSharedLibraryTask" />
- <echo>Uninstalling shared library ${sharedLibraryName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <uninstallSharedLibrary serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${sharedLibraryName}"/>
- </target>
- <target name="listSharedLibraries">
- <taskdef name="listSharedLibraries" classname="org.apache.servicemix.jbi.management.task.ListSharedLibrariesTask" />
- <echo>Listing shared library on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <listSharedLibraries serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" componentName="${componentName}" sharedLibraryName="${sharedLibraryName}"/>
- </target>
-
- <!--
-
- Shared Library Tasks
-
- -->
- <target name="deployServiceAssembly">
- <taskdef name="deployServiceAssembly" classname="org.apache.servicemix.jbi.management.task.DeployServiceAssemblyTask" />
- <echo>Deploying service assembly ${serviceAssemblyFile} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <deployServiceAssembly serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" file="${serviceAssemblyFile}"/>
- </target>
- <target name="undeployServiceAssembly">
- <taskdef name="undeployServiceAssembly" classname="org.apache.servicemix.jbi.management.task.UndeployServiceAssemblyTask" />
- <echo>Uninstalling service assembly ${serviceAssemblyName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <undeployServiceAssembly serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${serviceAssemblyName}"/>
- </target>
- <target name="startServiceAssembly">
- <taskdef name="startServiceAssembly" classname="org.apache.servicemix.jbi.management.task.StartServiceAssemblyTask" />
- <echo>Starting service assembly ${serviceAssemblyName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <startServiceAssembly serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${serviceAssemblyName}"/>
- </target>
- <target name="stopServiceAssembly">
- <taskdef name="stopServiceAssembly" classname="org.apache.servicemix.jbi.management.task.StopServiceAssemblyTask" />
- <echo>Stopping service assembly ${serviceAssemblyName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <stopServiceAssembly serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${serviceAssemblyName}"/>
- </target>
- <target name="shutdownServiceAssembly">
- <taskdef name="shutdownServiceAssembly" classname="org.apache.servicemix.jbi.management.task.ShutDownServiceAssemblyTask" />
- <echo>Shutting down service assembly ${serviceAssemblyName} on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <shutdownServiceAssembly serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" name="${serviceAssemblyName}"/>
- </target>
- <target name="listServiceAssemblies">
- <taskdef name="listServiceAssemblies" classname="org.apache.servicemix.jbi.management.task.ListServiceAssembliesTask" />
- <echo>Listing service assemblies on service:jmx:${serverProtocol}:///jndi/${serverProtocol}://${host}:${port}${jndiPath}</echo>
- <listServiceAssemblies serverProtocol="${serverProtocol}" host="${host}" containerName="${containerName}" jmxDomainName="${jmxDomainName}" port="${port}" jndiPath="${jndiPath}" username="${username}" password="${password}" failOnError="true" componentName="${componentName}" serviceAssemblyName="${serviceAssemblyName}" state="${state}"/>
- </target>
-</project>
http://git-wip-us.apache.org/repos/asf/servicemix-maven-plugins/blob/681882ee/jbi-maven-plugin/src/main/scripts/jbi.mojos.xml
----------------------------------------------------------------------
diff --git a/jbi-maven-plugin/src/main/scripts/jbi.mojos.xml b/jbi-maven-plugin/src/main/scripts/jbi.mojos.xml
deleted file mode 100644
index da9595f..0000000
--- a/jbi-maven-plugin/src/main/scripts/jbi.mojos.xml
+++ /dev/null
@@ -1,1551 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<pluginMetadata>
- <mojos>
- <mojo>
- <goal>installComponent</goal>
- <call>installComponent</call>
- <requiresProject>true</requiresProject>
- <description>
- Installs a JBI component to a server
- </description>
- <parameters>
- <parameter>
- <name>installerFile</name>
- <property>installerFile</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.build.directory}/${project.artifactId}-${project.version}-installer.zip</defaultValue>
- <type>java.lang.String</type>
- <description>The location of the component installer file</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>uninstallComponent</goal>
- <call>uninstallComponent</call>
- <requiresProject>true</requiresProject>
- <description>
- Uninstalled a JBI component from the server
- </description>
- <parameters>
- <parameter>
- <name>componentName</name>
- <property>componentName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the Component to uninstall</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>stopComponent</goal>
- <call>stopComponent</call>
- <requiresProject>true</requiresProject>
- <description>
- Stops a JBI component on the server
- </description>
- <parameters>
- <parameter>
- <name>componentName</name>
- <property>componentName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the Component to uninstall</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>startComponent</goal>
- <call>startComponent</call>
- <requiresProject>true</requiresProject>
- <description>
- Starts a JBI component on the server
- </description>
- <parameters>
- <parameter>
- <name>componentName</name>
- <property>componentName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the Component to uninstall</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>shutdownComponent</goal>
- <call>shutdownComponent</call>
- <requiresProject>true</requiresProject>
- <description>
- Shuts down a JBI component on the server
- </description>
- <parameters>
- <parameter>
- <name>componentName</name>
- <property>componentName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the Component to shut down</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>listServiceEngines</goal>
- <call>listServiceEngines</call>
- <requiresProject>true</requiresProject>
- <description>
- Lists the service engines on the server, provide either a serviceAssemblyName, serviceEngineName, sharedLibraryName or state
- </description>
- <parameters>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List service engines that have service units from the given service assembly deployed to them</description>
- </parameter>
- <parameter>
- <name>sharedLibraryName</name>
- <property>sharedLibraryName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List the service engines using the given shared library</description>
- </parameter>
- <parameter>
- <name>state</name>
- <property>state</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>Report service assemblies in the given state</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>listBindingComponents</goal>
- <call>listBindingComponents</call>
- <requiresProject>true</requiresProject>
- <description>
- Lists the binding components on the server, provide either a bindingComponentName, serviceAssemblyName, sharedLibraryName or state
- </description>
- <parameters>
- <parameter>
- <name>bindingComponentName</name>
- <property>bindingComponentName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List only the given binding component</description>
- </parameter>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List binding components that have service units from the given service assembly deployed to them</description>
- </parameter>
- <parameter>
- <name>sharedLibraryName</name>
- <property>sharedLibraryName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List the service engines using the given shared library</description>
- </parameter>
- <parameter>
- <name>state</name>
- <property>state</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>Report service assemblies in the given state</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>installSharedLibrary</goal>
- <call>installSharedLibrary</call>
- <requiresProject>true</requiresProject>
- <description>
- Installs a shared library
- </description>
- <parameters>
- <parameter>
- <name>sharedLibraryFile</name>
- <property>sharedLibraryFile</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.build.directory}/${project.artifactId}-${project.version}.zip</defaultValue>
- <type>java.lang.String</type>
- <description>The location of the shared library file</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>uninstallSharedLibrary</goal>
- <call>uninstallSharedLibrary</call>
- <requiresProject>true</requiresProject>
- <description>
- Uninstalls a shared library
- </description>
- <parameters>
- <parameter>
- <name>sharedLibraryName</name>
- <property>sharedLibraryName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the shared library to uninstall</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>listSharedLibraries</goal>
- <call>listSharedLibraries</call>
- <requiresProject>true</requiresProject>
- <description>
- Lists the currently deployed shared libraries
- </description>
- <parameters>
- <parameter>
- <name>componentName</name>
- <property>componentName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List shared libraries that the component depends on</description>
- </parameter>
- <parameter>
- <name>sharedLibraryName</name>
- <property>sharedLibraryName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List only the given shared library</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>deployServiceAssembly</goal>
- <call>deployServiceAssembly</call>
- <requiresProject>true</requiresProject>
- <description>
- Deploys a service assembly to the server
- </description>
- <parameters>
- <parameter>
- <name>serviceAssemblyFile</name>
- <property>serviceAssemblyFile</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.build.directory}/${project.artifactId}-${project.version}.jar</defaultValue>
- <type>java.lang.String</type>
- <description>The location of the service assembly installer file</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>undeployServiceAssembly</goal>
- <call>undeployServiceAssembly</call>
- <requiresProject>true</requiresProject>
- <description>
- Undeploys a service assembly from the server
- </description>
- <parameters>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the service assembly</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>startServiceAssembly</goal>
- <call>startServiceAssembly</call>
- <requiresProject>true</requiresProject>
- <description>
- Starts a service assembly from the server
- </description>
- <parameters>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the service assembly</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>stopServiceAssembly</goal>
- <call>stopServiceAssembly</call>
- <requiresProject>true</requiresProject>
- <description>
- Stops a service assembly from the server
- </description>
- <parameters>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the service assembly</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>shutdownServiceAssembly</goal>
- <call>shutdownServiceAssembly</call>
- <requiresProject>true</requiresProject>
- <description>
- Shutsdown a service assembly from the server
- </description>
- <parameters>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>true</required>
- <readonly>false</readonly>
- <defaultValue>${project.artifactId}</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the service assembly</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- <mojo>
- <goal>listServiceAssemblies</goal>
- <call>listServiceAssemblies</call>
- <requiresProject>true</requiresProject>
- <description>
- Lists the service assemblies from the server
- </description>
- <parameters>
- <parameter>
- <name>componentName</name>
- <property>componentName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List the service assemblies that has service units deployed to this component</description>
- </parameter>
- <parameter>
- <name>serviceAssemblyName</name>
- <property>serviceAssemblyName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>List only the given service assembly</description>
- </parameter>
- <parameter>
- <name>state</name>
- <property>state</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue></defaultValue>
- <type>java.lang.String</type>
- <description>Report service assemblies in the given state</description>
- </parameter>
- <parameter>
- <name>serverProtocol</name>
- <property>serverProtocol</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>rmi</defaultValue>
- <type>java.lang.String</type>
- <description>The default protcol used for connecting with the ServiceMix JMX MBeanServer</description>
- </parameter>
- <parameter>
- <name>host</name>
- <property>host</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>localhost</defaultValue>
- <type>java.lang.String</type>
- <description>The hostname of the naming server</description>
- </parameter>
- <parameter>
- <name>containerName</name>
- <property>containerName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>ServiceMix</defaultValue>
- <type>java.lang.String</type>
- <description>The name of the ServiceMix JBI Container to connect to</description>
- </parameter>
- <parameter>
- <name>jmxDomainName</name>
- <property>jmxDomainName</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>org.apache.servicemix</defaultValue>
- <type>java.lang.String</type>
- <description>The domain name of the MBeanServer used by the ServiceMix JBI Container</description>
- </parameter>
- <parameter>
- <name>port</name>
- <property>port</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>1099</defaultValue>
- <type>java.lang.String</type>
- <description>The port the naming server listens for connections on</description>
- </parameter>
- <parameter>
- <name>jndiPath</name>
- <property>jndiPath</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>/jmxrmi</defaultValue>
- <type>java.lang.String</type>
- <description>The path in the naming server to retrieve the JMX Connection</description>
- </parameter>
- <parameter>
- <name>username</name>
- <property>username</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The user name for the JMXConnection</description>
- </parameter>
- <parameter>
- <name>password</name>
- <property>password</property>
- <required>false</required>
- <readonly>false</readonly>
- <defaultValue>smx</defaultValue>
- <type>java.lang.String</type>
- <description>The password for the JMXConnection</description>
- </parameter>
- </parameters>
- </mojo>
- </mojos>
-</pluginMetadata>
http://git-wip-us.apache.org/repos/asf/servicemix-maven-plugins/blob/681882ee/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojoTest.java
----------------------------------------------------------------------
diff --git a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojoTest.java b/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojoTest.java
deleted file mode 100644
index 45a0e8c..0000000
--- a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/AbstractDeployableMojoTest.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * 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.servicemix.maven.plugin.jbi;
-
-import junit.framework.TestCase;
-import org.apache.maven.plugin.MojoExecutionException;
-import org.apache.maven.plugin.MojoFailureException;
-import org.apache.servicemix.jbi.framework.AdminCommandsServiceMBean;
-import org.apache.servicemix.jbi.management.task.JbiTask;
-
-/**
- * Test cases for {@link AbstractDeployableMojo}
- */
-public class AbstractDeployableMojoTest extends TestCase {
-
- private static final String CONTAINER_NAME = "someContainerName";
- private static final String HOST = "someHostName";
- private static final String JNDI_PATH = "someJndiPath";
- private static final String JMX_DOMAIN_NAME = "someJmxDomainName";
- private static final String PASSWORD = "somePassword";
- private static final Integer PORT = 1001;
- private static final String SERVER_PROTOCOL = "someProtocolName";
- private static final String SERVICE_URL = "someServiceUrl";
- private static final String USERNAME = "someUserName";
-
- public void testInitializeAntTask() {
- JbiTask task = new JbiTask() {
- @Override
- protected void doExecute(AdminCommandsServiceMBean adminCommandsServiceMBean) throws Exception {
- //graciously do nothing;
- }
- };
-
- AbstractDeployableMojo mojo = new AbstractDeployableMojo() {
- public void execute() throws MojoExecutionException, MojoFailureException {
- //graciously do nothing
- }
- };
-
- mojo.containerName = CONTAINER_NAME;
- mojo.environment = "someEnvironmentKey=someEnvironmentValue";
- mojo.host = HOST;
- mojo.jndiPath = JNDI_PATH;
- mojo.jmxDomainName = JMX_DOMAIN_NAME;
- mojo.password = PASSWORD;
- mojo.port = PORT.toString();
- mojo.serverProtocol = SERVER_PROTOCOL;
- mojo.serviceUrl = SERVICE_URL;
- mojo.username = USERNAME;
-
- mojo.initializeJbiTask(task);
- assertNotNull("Initialization should have injected the Ant project", task.getProject());
- assertEquals(CONTAINER_NAME, task.getContainerName());
- assertEquals(HOST, task.getHost());
- assertEquals(JNDI_PATH, task.getJndiPath());
- assertEquals(JMX_DOMAIN_NAME, task.getJmxDomainName());
- assertEquals(PASSWORD, task.getPassword());
- assertEquals(PORT, (Integer) task.getPort());
- assertEquals(SERVER_PROTOCOL, task.getServerProtocol());
- assertEquals(SERVICE_URL, task.getServiceUrl());
- assertEquals(USERNAME, task.getUsername());
- }
-
-}
http://git-wip-us.apache.org/repos/asf/servicemix-maven-plugins/blob/681882ee/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/DependencyInformationTest.java
----------------------------------------------------------------------
diff --git a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/DependencyInformationTest.java b/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/DependencyInformationTest.java
deleted file mode 100644
index 463dc39..0000000
--- a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/DependencyInformationTest.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * 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.servicemix.maven.plugin.jbi;
-
-import junit.framework.TestCase;
-
-/**
- * Test cases for {@link org.apache.servicemix.maven.plugin.jbi.DependencyInformation}
- */
-public class DependencyInformationTest extends TestCase {
-
- public void testIsSharedLibrary() {
- DependencyInformation dep = new DependencyInformation();
-
- dep.setType("jar");
- assertFalse(dep.isSharedLibrary());
-
- dep.setType(DependencyInformation.SHARED_LIBRARY_TYPE);
- assertTrue(dep.isSharedLibrary());
- }
-}
http://git-wip-us.apache.org/repos/asf/servicemix-maven-plugins/blob/681882ee/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiComponentDescriptorWriterTest.java
----------------------------------------------------------------------
diff --git a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiComponentDescriptorWriterTest.java b/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiComponentDescriptorWriterTest.java
deleted file mode 100644
index 92adc1a..0000000
--- a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiComponentDescriptorWriterTest.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * 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.servicemix.maven.plugin.jbi;
-
-import java.io.File;
-import java.io.FileReader;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathFactory;
-
-import junit.framework.TestCase;
-import org.xml.sax.InputSource;
-
-/**
- * Test cases for {@link org.apache.servicemix.maven.plugin.jbi.JbiComponentDescriptorWriter}
- */
-public class JbiComponentDescriptorWriterTest extends TestCase {
-
- private static final String VERSION = "1.0";
-
- private static final NamespaceContext NAMESPACES = new NamespaceContext() {
-
- public String getNamespaceURI(String prefix) {
- return "http://java.sun.com/xml/ns/jbi";
- }
-
- public String getPrefix(String namespaceURI) {
- return "jbi";
- }
-
- public Iterator getPrefixes(String namespaceURI) {
- return Arrays.asList("jbi").iterator();
- }
- };
-
- private JbiComponentDescriptorWriter writer;
- private File file;
- private XPathFactory factory = XPathFactory.newInstance();
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
-
- writer = new JbiComponentDescriptorWriter(GenerateComponentDescriptorMojo.UTF_8);
- file = File.createTempFile(getClass().getName(), ".xml");
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
-
- if (!file.delete()) {
- file.deleteOnExit();
- }
- }
-
- public void testWrite() throws Exception {
- List<DependencyInformation> deps = new ArrayList<DependencyInformation>();
- deps.add(createJarDependency("simple-jar", "lib/simple-jar.jar"));
- deps.add(createSharedLibraryDependency("simple-sl"));
-
- writer.write(file,
- "org.apache.servicemix.test.Component",
- "org.apache.servicemix.test.Bootstrap",
- "binding-component",
- "servicemix-test",
- "ServiceMix :: A Test Component",
- "parent-first",
- "parent-first",
- deps);
-
-
- assertEquals("Should have a reference to the SL in the shared-library element",
- "simple-sl", xpath("/jbi:jbi/jbi:component/jbi:shared-library"));
- assertEquals("1.0", xpath("/jbi:jbi/jbi:component/jbi:shared-library/@version"));
-
- assertEquals("Only the JAR should be on the component-class-path", "1",
- xpath("count(/jbi:jbi/jbi:component/jbi:component-class-path/jbi:path-element)"));
- assertEquals("lib/simple-jar.jar",
- xpath("/jbi:jbi/jbi:component/jbi:component-class-path/jbi:path-element"));
- }
-
- private String xpath(String expression) throws Exception {
- XPath xpath = factory.newXPath();
- xpath.setNamespaceContext(NAMESPACES);
-
- InputSource source = new InputSource(new FileReader(file));
-
- return xpath.evaluate(expression, source);
- }
-
- private DependencyInformation createJarDependency(String name, String filename) {
- DependencyInformation dep = createDependency(name, "jar");
- dep.setFilename(filename);
- return dep;
- }
-
- private DependencyInformation createSharedLibraryDependency(String name) {
- return createDependency(name, DependencyInformation.SHARED_LIBRARY_TYPE);
- }
-
- private DependencyInformation createDependency(String name, String type) {
- DependencyInformation dep = new DependencyInformation();
- dep.setName(name);
- dep.setType(type);
- dep.setVersion(VERSION);
- return dep;
- }
-}
http://git-wip-us.apache.org/repos/asf/servicemix-maven-plugins/blob/681882ee/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiServiceFileAnalyzerTest.java
----------------------------------------------------------------------
diff --git a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiServiceFileAnalyzerTest.java b/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiServiceFileAnalyzerTest.java
deleted file mode 100644
index 9741b9b..0000000
--- a/jbi-maven-plugin/src/test/java/org/apache/servicemix/maven/plugin/jbi/JbiServiceFileAnalyzerTest.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.servicemix.maven.plugin.jbi;
-
-import java.io.File;
-import java.util.List;
-
-import junit.framework.TestCase;
-
-import org.apache.servicemix.common.packaging.Consumes;
-import org.apache.servicemix.common.packaging.Provides;
-
-/**
- * Test case to exercise the default service file analyzer which uses a
- * service.xml file.
- */
-public class JbiServiceFileAnalyzerTest extends TestCase
-{
- private static final File SERVICES_FILE = new File("./src/test/resources/jbi-services.xml");
-
- /**
- * Simple test to retrieve and parse a jbi-services.xml file
- * @throws Exception
- */
- @SuppressWarnings("unchecked")
- public void testParseServicesXml() throws Exception {
- JbiServiceFileAnalyzer analyzer = new JbiServiceFileAnalyzer();
- assertNotNull("analyzer should not be null", analyzer);
-
- analyzer.setJbiServicesFile(SERVICES_FILE);
- List<Consumes> consumes = analyzer.getConsumes();
- List<Provides> provides = analyzer.getProvides();
- assertNotNull("Consumes List should not be null", consumes);
- assertNotNull("Provides List should not be null", provides);
- assertTrue("Should be Empty consumes list", consumes.isEmpty());
- assertFalse("Provides List should not be empty", provides.isEmpty());
- }
-}