Move plugin to sourceforge
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
d0ae301914
commit
e76c6af94c
11 files changed
-848
No files matched your search
@@ -1,3 +0,0 @@
|
||||
target
|
||||
velocity.log
|
||||
maven.log
|
||||
@@ -1,25 +0,0 @@
|
||||
The Maven team is pleased to announce the WebSphere AppServer plugin 1.0 release!
|
||||
|
||||
http://maven.apache.org/reference/plugins/was40/
|
||||
|
||||
The Maven WebSphere AppServer plugin is a plugin containing goals useful for persons
|
||||
wishing to deploy their applications on IBM's WebSphere Application Server v4.0.
|
||||
|
||||
Features in this version includes:
|
||||
|
||||
o Ability to start and stop WebSphere nodes
|
||||
o Ability to deploy and undeploy ear files
|
||||
o Ability to start and stop deployed Enterprise Applications
|
||||
o Ability to stop and stop WebSphere Application Servers on a node
|
||||
o Ability to list accessible nodes
|
||||
o Ability to start and stop server groups
|
||||
o Ability to deploy applications to server groups
|
||||
|
||||
Note that this plugin has been tested with Maven beta 9. Using it with
|
||||
another version of Maven is at your own risks! :-)
|
||||
|
||||
You can download the WebSphere Application Server Maven plugin here:
|
||||
http://www.ibiblio.org/maven/maven/jars/maven-was40-plugin-1.0.jar
|
||||
|
||||
Have fun!
|
||||
-dIon
|
||||
@@ -1,215 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<project
|
||||
xmlns:define="jelly:define"
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:u="jelly:util"
|
||||
xmlns:was40wscp="was40wscp">
|
||||
|
||||
<!-- set up maven.was40.script -->
|
||||
<j:choose>
|
||||
<j:when test="${systemScope['os.name'].startsWith('Windows')}">
|
||||
<j:set var="maven.was40.script" value="${maven.was40.wscpExe}.bat"/>
|
||||
<j:set var="maven.was40.startServer.script"
|
||||
value="${maven.was40.bin}/adminserver.bat" />
|
||||
<j:set var="maven.was40.plugin" value="${maven.was40.bin}/GenPluginCfg.bat" />
|
||||
<j:set var="maven.was40.dumpNameSpace" value="${maven.was40.bin}/dumpNameSpace.bat" />
|
||||
<j:set var="maven.was40.earExpander" value="${maven.was40.bin}/EARExpander.bat" />
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<j:set var="maven.was40.script" value="${maven.was40.wscpExe}.sh"/>
|
||||
<j:set var="maven.was40.startServer.script"
|
||||
value="${maven.was40.startNode}.sh" />
|
||||
<j:set var="maven.was40.plugin" value="${maven.was40.bin}/GenPluginCfg.sh" />
|
||||
<j:set var="maven.was40.hackplug.hic" value="${maven.was40.bin}/hackplug.sh" />
|
||||
<j:set var="maven.was40.dumpNameSpace" value="${maven.was40.bin}/dumpNameSpace.sh" />
|
||||
<j:set var="maven.was40.earExpander" value="${maven.was40.bin}/EARExpander.sh" />
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
|
||||
<!-- set up some tags to make calling wscp easier -->
|
||||
<define:taglib uri="was40wscp">
|
||||
|
||||
<!--
|
||||
! Execute a command using the WebSphere Control Program
|
||||
! @param command the wscp command to execute
|
||||
! @param var (optional) a variable to set with the results of the execution
|
||||
!-->
|
||||
<define:tag name="exec">
|
||||
<j:if test="${empty(command)}">
|
||||
<fail>attribute command must be provided</fail>
|
||||
</j:if>
|
||||
|
||||
<!--
|
||||
wscp.qualifyHomeName=true
|
||||
wscp.remotePasswordFile=
|
||||
wscp.remoteConnectionTimeout=300
|
||||
wscp.remoteConnectionsAllowed=true
|
||||
wscp.remoteHostListAccept=
|
||||
wscp.remoteHostListReject=
|
||||
#
|
||||
# set traceString to enable tracing
|
||||
#
|
||||
# wscp.traceString=com.ibm.ejs.sm.client.ui.desc.*=all=enabled
|
||||
# wscp.traceString=com.ibm.ejs.sm.ejscp.*=all=enabled
|
||||
##
|
||||
# Typically, these need to be set if only ContextExtension is loaded
|
||||
# (otherwise, EjscpExtension sets them as noted above)
|
||||
#
|
||||
# com.ibm.CORBA.BootstrapHost=pc-dev1
|
||||
# com.ibm.CORBA.BootstrapPort=900
|
||||
# java.naming.factory.initial=com.ibm.ejs.ns.jndi.CNInitialContextFactory
|
||||
-->
|
||||
|
||||
<!-- delete the properties file here and recreate it -->
|
||||
<delete file="${java.io.tmpdir}/was40.properties" />
|
||||
<j:file name="${java.io.tmpdir}/was40.properties" omitXmlDeclaration="true" escapeText="false">
|
||||
wscp.hostName=${maven.was40.node}
|
||||
wscp.hostPort=${maven.was40.hostPort}
|
||||
wscp.primaryNode=${maven.was40.primaryNode}
|
||||
</j:file>
|
||||
|
||||
<!-- properties file -->
|
||||
<u:file name="${java.io.tmpdir}/was40.properties" var="props" />
|
||||
<echo>Executing '${command}' using wscp</echo>
|
||||
<exec executable="${maven.was40.script}" outputproperty="results">
|
||||
<arg value="-p" />
|
||||
<arg value="${props.canonicalPath}" />
|
||||
<arg value="${maven.was40.wscpArgs}" />
|
||||
<arg value="${command}" />
|
||||
</exec>
|
||||
|
||||
<!-- test if arguments have been passed -->
|
||||
<j:if test="${empty(var)}">
|
||||
<echo>${results}</echo>
|
||||
</j:if>
|
||||
<j:if test="${!empty(var)}">
|
||||
<j:set scope="parent" var="${var}" value="${results}" />
|
||||
</j:if>
|
||||
</define:tag>
|
||||
</define:taglib>
|
||||
|
||||
<!-- default goal -->
|
||||
<goal name="was40"
|
||||
description="Obtain the list of nodes on the WebSphere Application Server">
|
||||
<attainGoal name="was40:list-node" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:start"
|
||||
description="Starts the specified node.">
|
||||
<echo>Staring Node: '${maven.was40.node}'</echo>
|
||||
<exec executable="${maven.was40.startServer.script}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:stop"
|
||||
description="Stops the specified websphere node.">
|
||||
<echo>Stopping node: '${maven.was40.node}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.stopNode}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:list-node" description="Obtain the list of nodes on the WebSphere Application Server">
|
||||
<echo>Retreiving a list of available Nodes...</echo>
|
||||
<was40wscp:exec command="${maven.was40.listNode}"/>
|
||||
</goal>
|
||||
|
||||
<goal name="was40:deploy-ear"
|
||||
description="Deploy an enterprise application">
|
||||
|
||||
<echo>Deploying enterprise application: '${maven.was40.enterprise.app.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.deployApp}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:app-stop"
|
||||
description="Stop an enterprise application">
|
||||
<echo>Stopping enterprise application: '${maven.was40.enterprise.app.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.stopApp}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:undeploy-ear"
|
||||
description="Remove an enterprise application">
|
||||
<echo>Removing enterprise application: '${maven.was40.enterprise.app.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.removeApp}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:app-start"
|
||||
description="Start enterprise application">
|
||||
<echo>Starting enterprise application: '${maven.was40.enterprise.app.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.startApp}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:deploy-to-servergroup"
|
||||
description="Deploy an application to a server group">
|
||||
<echo>Deploying enterprise application to server group: '${maven.was40.serverGroup.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.servergroup.install}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:start-appserver"
|
||||
description="Start a websphere application server">
|
||||
<echo>Starting Application Server: '${maven.was40.appserver.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.appserver.start}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:stop-appserver"
|
||||
description="Stop a websphere application server">
|
||||
<echo>Stopping Application Server: '${maven.was40.appserver.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.appserver.stop}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:start-servergroup"
|
||||
description="Start a websphere server group">
|
||||
<echo>Starting ServerGroup: '${maven.was40.serverGroup.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.servergroup.start}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:stop-servergroup"
|
||||
description="Stop a websphere server group">
|
||||
<echo>Stopping ServerGroup: '${maven.was40.serverGroup.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.servergroup.stop}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:list-apps" description="List the applications installed on this node">
|
||||
<echo>Obtaining a list of Enterprise applications for node: '${maven.was40.node}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.listEnterpriseApps}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:app-show" description="Display extra information about the EAR">
|
||||
<echo>Obtaining Details about EAR: '${maven.was40.enterprise.app.name}'</echo>
|
||||
<was40wscp:exec command="${maven.was40.enterpriseAppShow}" />
|
||||
</goal>
|
||||
|
||||
<goal name="was40:regen" description="Regenerate the Plugin">
|
||||
<echo>Regenerating Plugin for node: '${maven.was40.node}'</echo>
|
||||
<exec executable="${maven.was40.plugin}" outputproperty="results">
|
||||
<arg value="-adminNodeName" />
|
||||
<arg value="${maven.was40.primaryNode}" />
|
||||
<arg value="-nodeName" />
|
||||
<arg value="${maven.was40.node}" />
|
||||
</exec>
|
||||
<echo>${results}</echo>
|
||||
</goal>
|
||||
|
||||
<goal name="was40:jndi-dump" description="Dump the appserver's JNDI namespace">
|
||||
<echo>Dumping [jndi] Namespace for node: '${maven.was40.node}'</echo>
|
||||
<exec executable="${maven.was40.dumpNameSpace}" outputproperty="result">
|
||||
<arg value="-host" />
|
||||
<arg value="${maven.was40.node}" />
|
||||
<arg value="-port" />
|
||||
<arg value="${maven.was40.hostPort}" />
|
||||
</exec>
|
||||
<echo>${result}</echo>
|
||||
</goal>
|
||||
|
||||
<goal name="was40:expand" description="Expand EAR into the ../installedApps/appName.ear directory">
|
||||
<echo>Expanding EAR: '${maven.was40.enterprise.app.name}' into '${maven.was40.expandDir}/${maven.was40.enterprise.app.name}.ear'</echo>
|
||||
<exec executable="${maven.was40.earExpander}" outputproperty="results">
|
||||
<arg value="-ear" />
|
||||
<arg value="${maven.was40.enterprise.app}" />
|
||||
<arg value="-expandDir" />
|
||||
<arg value="${maven.was40.expandDir}/${maven.was40.enterprise.app.name}.ear" />
|
||||
<arg value="-operation" />
|
||||
<arg value="expand" />
|
||||
<arg value="-expansionFlags" />
|
||||
<arg value="all" />
|
||||
</exec>
|
||||
<echo>${results}</echo>
|
||||
</goal>
|
||||
</project>
|
||||
@@ -1,77 +0,0 @@
|
||||
#
|
||||
# WebSphere Specific variables
|
||||
# Change these variables where applicable
|
||||
# Here we pass arguments to WSCP and execute wcsp with out being inside the command line
|
||||
# of WSCP
|
||||
#
|
||||
|
||||
maven.was40.wscpArgs=-c
|
||||
maven.was40.home=C:/WebSphere/AppServer
|
||||
maven.was40.bin=${maven.was40.home}/bin
|
||||
maven.was40.wscpExe=${maven.was40.bin}/wscp
|
||||
maven.was40.enterprise.app=EnterpriseApp
|
||||
maven.was40.enterprise.app.name=EnterpriseAppName
|
||||
maven.was40.appserver=Default\ Server
|
||||
maven.was40.serverGroup.name=ServerGroupName
|
||||
maven.was40.node=NodeName
|
||||
|
||||
#
|
||||
# Repetitive commands
|
||||
#
|
||||
maven.was40.cmd.enterprise=EnterpriseApp
|
||||
maven.was40.cmd.serverGroup=ServerGroup
|
||||
maven.was40.cmd.appserver=ApplicationServer
|
||||
maven.was40.cmd.node=Node
|
||||
|
||||
#
|
||||
# WebSphere Command Prompt commands to execute
|
||||
# Note the '^' is a DOS escape operator: i.e: Default^ Server
|
||||
# Note the '\' is a UNIX escape operator: i.e: Default\ Server
|
||||
# Please seperate a space in any given server name by '\' operator as shown above
|
||||
#
|
||||
|
||||
############################### Do not put these in "Quotes" ###############################
|
||||
|
||||
#
|
||||
# Node specific actions
|
||||
#
|
||||
|
||||
maven.was40.listNode=${maven.was40.cmd.node} list
|
||||
maven.was40.stopNode=${maven.was40.cmd.node} stop {/${maven.was40.cmd.node}:${maven.was40.node}/}
|
||||
maven.was40.startNode=${maven.was40.bin}/startupServer
|
||||
|
||||
#
|
||||
# Application specific actions
|
||||
#
|
||||
|
||||
maven.was40.deployApp=${maven.was40.cmd.enterprise} install {/${maven.was40.cmd.node}:${maven.was40.node}/} ${maven.was40.enterprise.app} -appname {${maven.was40.enterprise.app.name}} -defappserver {/${maven.was40.cmd.node}:${maven.was40.node}/${maven.was40.cmd.appserver}:${maven.was40.appserver}/}
|
||||
maven.was40.removeApp=${maven.was40.cmd.enterprise} remove {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/} -recursive
|
||||
maven.was40.startApp=${maven.was40.cmd.enterprise} start {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/}
|
||||
maven.was40.stopApp=${maven.was40.cmd.enterprise} stop {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/} -force
|
||||
|
||||
#
|
||||
# Application Server specific tasks
|
||||
#
|
||||
|
||||
maven.was40.appserver.start=${maven.was40.cmd.appserver} start {/${maven.was40.cmd.node}:${maven.was40.node}/${maven.was40.cmd.appserver}:${maven.was40.appserver}/}
|
||||
maven.was40.appserver.stop=${maven.was40.cmd.appserver} stop {/${maven.was40.cmd.node}:${maven.was40.node}/${maven.was40.cmd.appserver}:${maven.was40.appserver}/}
|
||||
|
||||
#
|
||||
# Server Group specific tasks
|
||||
#
|
||||
|
||||
maven.was40.servergroup.install=${maven.was40.cmd.enterprise} install {/${maven.was40.cmd.node}:${maven.was40.node}/} ${maven.was40.enterprise.app} -appname {${maven.was40.enterprise.app.name}} -defappserver {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}
|
||||
maven.was40.servergroup.start=${maven.was40.cmd.serverGroup} start {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}
|
||||
maven.was40.servergroup.stop=${maven.was40.cmd.serverGroup} stop {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}
|
||||
maven.was40.servergroup.list=${maven.was40.cmd.serverGroup} list
|
||||
maven.was40.servergroup.show=${maven.was40.cmd.serverGroup} show {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}
|
||||
|
||||
#
|
||||
## Various tasks on an enterprise app level
|
||||
#
|
||||
|
||||
maven.was40.listEnterpriseApps=${maven.was40.cmd.enterprise} list
|
||||
maven.was40.enterpriseAppShow=${maven.was40.cmd.enterprise} show {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/}
|
||||
|
||||
############################### Do not put these in "Quotes" ###############################
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
maven.xdoc.date=left
|
||||
maven.xdoc.version=${pom.currentVersion}
|
||||
maven.license.licenseFile=${basedir}/../../../LICENSE.txt
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project>
|
||||
<extend>../project.xml</extend>
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-was40-plugin</id>
|
||||
<name>Maven WebSphere 4.0 Plug-in</name>
|
||||
<currentVersion>1.1-SNAPSHOT</currentVersion>
|
||||
<description>A plugin to manage a WebSphere AppServer 4 installation</description>
|
||||
<shortDescription>Manipulate WAS 4</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/was40/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/was40/</siteDirectory>
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/was40/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/was40/</url>
|
||||
</repository>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Kristen Gillard</name>
|
||||
<id>giLBy</id>
|
||||
<email>kristen@multitask.com.au</email>
|
||||
<organization>Multitask Consulting</organization>
|
||||
<roles>
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>dIon Gillard</name>
|
||||
<id>dion</id>
|
||||
<email>dion@apache.org</email>
|
||||
<roles>
|
||||
<role>Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>commons-jelly</groupId>
|
||||
<artifactId>commons-jelly-tags-util</artifactId>
|
||||
<version>20030211.141939</version>
|
||||
<url>http://jakarta.apache.org/commons/jelly/libs/util/</url>
|
||||
<properties>
|
||||
<classloader>root.maven</classloader>
|
||||
</properties>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
<properties>
|
||||
<title>Changes</title>
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
|
||||
<release version="1.1" date="in CVS">
|
||||
<action dev="dion" type="update">
|
||||
Added expand, jndi-dump, regen, app-show, list-apps goals
|
||||
</action>
|
||||
</release>
|
||||
|
||||
<release version="1.0" date="Unknown">
|
||||
<action dev="dion" type="add">
|
||||
Added plugin provided by Kristen Gillard
|
||||
</action>
|
||||
</release>
|
||||
|
||||
</body>
|
||||
</document>
|
||||
|
||||
@@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<document>
|
||||
<properties>
|
||||
<title>Maven WebSphere 4.0 Plug-in Goals</title>
|
||||
<author email="kristen@multitask.com.au">Kristen Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<goals>
|
||||
<goal>
|
||||
<name>was40</name>
|
||||
<description>Default Goal - Obtains a list of available nodes
|
||||
<p><i>There are no arguments passed for this goal.</i></p>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:app-start</name>
|
||||
<description>Starts an enterprise application
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.enterprise.app.name} - Name of the enterprise application to start<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:app-stop</name>
|
||||
<description>Stops an enterprise application
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.enterprise.app.name} - Name of the enterprise application to stop<br></br>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:deploy-ear</name>
|
||||
<description>Deploys an enterprise application to a given server group <b>or</b> application server
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.appserver} - Name of the application server to deploy the enterprise application<br/>
|
||||
<b>or</b><br />
|
||||
${maven.was40.serverGroup} - Name of the server group to deploy the enterprise application
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.node} - Name of the node to deploy to<br/>
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.home} - Home directory of WebSphere application server<br/>
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.enterprise.app} - Name of the enterprise application to deploy<br/>
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.enterprise.app.name} - Name you wish to give the application to deploy<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:deploy-to-servergroup</name>
|
||||
<description>Deploys an application to the specified server group
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.node} - Name of the node in which the server group resides<br />
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.enterprise.app} - Name of the enterprise application to deploy<br/>
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.enterprise.app.name} - Name to give the enterprise application<br />
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.serverGroup.name} - Name of the server group to deploy the enterprise application<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:list-node</name>
|
||||
<description>Obtains a list of available nodes<br/>
|
||||
<i>There are no arguments passed to this goal.</i><br/>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:start</name>
|
||||
<description>
|
||||
Starts WebSphere
|
||||
<p><i>There are no arguments passed for this goal.</i></p>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:start-appserver</name>
|
||||
<description>Starts the specified Application Server
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.node} - Name of the node in which the application server resides<br/>
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.appserver} - Name of the application server to start<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:start-servergroup</name>
|
||||
<description>Start a websphere server group
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.serverGroup.name} - Name of the server group to start<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:stop</name>
|
||||
<description>Stops a websphere node<br/>
|
||||
<ul>
|
||||
<li>
|
||||
${maven.was40.node} - Name of the node to stop<br/>
|
||||
i.e: <i><b>devserver_1</b></i>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:stop-appserver</name>
|
||||
<description>
|
||||
Stops the specified Application Server
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.node} - Name of the node in which the application server resides<br/>
|
||||
</li>
|
||||
<li>
|
||||
${maven.was40.appserver} - Name of the application server to stop<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:stop-servergroup</name>
|
||||
<description>Stop a websphere server group
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.serverGroup.name} - Name of the server group to stop<br/>
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
<name>was40:undeploy-ear</name>
|
||||
<description>Remove an enterprise application<br/>
|
||||
<ul>
|
||||
<i>Required arguments to pass to this goal are:</i><br/>
|
||||
<li>
|
||||
${maven.was40.enterprise.app.name} - Name of the enterprise application to remove
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
</goal>
|
||||
</goals>
|
||||
</body>
|
||||
</document>
|
||||
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Maven WebSphere v4.0 Plug-in</title>
|
||||
<author email="kristen@multitask.com.au">Kristen Gillard</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Contents">
|
||||
<p>The following sections are available in the WebSphere v4.0 Plug-in documentation</p>
|
||||
<ol>
|
||||
<li><a href="#Overview">An overview of how this plugin works</a></li>
|
||||
<li><a href="#Futures">What's in store for the WebSphere v4.0 Plug-in</a></li>
|
||||
</ol>
|
||||
</section>
|
||||
<section name="Overview">
|
||||
<p>
|
||||
This plugin allows the user to manage automated WebSphere Application Server application installations
|
||||
</p>
|
||||
</section>
|
||||
<section name="Futures">
|
||||
<ul>
|
||||
<li>
|
||||
In the future this will also manage the installation of <b>WAR</b> (Web Application installations)
|
||||
</li>
|
||||
<li>
|
||||
Your suggestions are always welcome!
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="Maven WebSphere 4.0 Plug-in">
|
||||
<title>Maven WebSphere 4.0 Plug-in</title>
|
||||
<body>
|
||||
<links>
|
||||
<item href="http://maven.apache.org/" name="Maven" />
|
||||
</links>
|
||||
<menu name="Overview">
|
||||
<item href="/goals.html" name="Goals" />
|
||||
<item href="/properties.html" name="Properties" />
|
||||
</menu>
|
||||
</body>
|
||||
</project>
|
||||
@@ -1,235 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<document>
|
||||
<properties>
|
||||
<title>Maven WebSphere 4.0 Plug-in Properties</title>
|
||||
<author email="dion@apache.org">dIon Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<section name="Maven WebSphere 4.0 Plug-in Settings">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Property</th>
|
||||
<th>Optional?</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.node</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>NodeName</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.wscpExe</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.bin}/wscp</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.appserver</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>Default Server</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.enterprise.app.name</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>EnterpriseAppName</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.stopNode</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.node} stop {/${maven.was40.cmd.node}:${maven.was40.node}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.cmd.serverGroup</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>ServerGroup</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.home</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>C:/WebSphere/AppServer</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.bin</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.home}/bin</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.cmd.node</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>Node</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.appserver.stop</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.appserver} stop {/${maven.was40.cmd.node}:${maven.was40.node}/${maven.was40.cmd.appserver}:${maven.was40.appserver}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.cmd.enterprise</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>EnterpriseApp</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.servergroup.install</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.enterprise} install {/${maven.was40.cmd.node}:${maven.was40.node}/} ${maven.was40.enterprise.app} -appname {${maven.was40.enterprise.app.name}} -defappserver {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.servergroup.start</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.serverGroup} start {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.appserver.start</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.appserver} start {/${maven.was40.cmd.node}:${maven.was40.node}/${maven.was40.cmd.appserver}:${maven.was40.appserver}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.serverGroup.name</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>ServerGroupName</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.startNode</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.bin}/startupServer</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.cmd.appserver</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>ApplicationServer</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.wscpArgs</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>-c</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.startApp</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.enterprise} start {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.stopApp</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.enterprise} stop {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/} -force</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.servergroup.stop</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.serverGroup} stop {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.deployApp</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.enterprise} install {/${maven.was40.cmd.node}:${maven.was40.node}/} ${maven.was40.enterprise.app} -appname {${maven.was40.enterprise.app.name}} -defappserver {/${maven.was40.cmd.node}:${maven.was40.node}/${maven.was40.cmd.appserver}:${maven.was40.appserver}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.listNode</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.node} list</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.enterprise.app</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>EnterpriseApp</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.servergroup.list</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.serverGroup} list</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.servergroup.show</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.serverGroup} show {/${maven.was40.cmd.serverGroup}:${maven.was40.serverGroup.name}/}</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.was40.removeApp</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
<p>Default value is
|
||||
<code>${maven.was40.cmd.enterprise} remove {/${maven.was40.cmd.enterprise}:${maven.was40.enterprise.app.name}/} -recursive</code>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
Reference in new issue
Block a user