From 790be5a0a23ddff39e33cf215cd200b7ed909349 Mon Sep 17 00:00:00 2001 From: vmassol Date: Mon, 14 Apr 2003 17:12:41 +0000 Subject: [PATCH] Allowed deployments of EAR, WAR or EJB-JAR (only EAR was previously supported) by adding the jboss:package-ear, jboss:package-ejb and jboss:package-war goals. The jboss:package goal has been renamed jboss:configure and now simply creates a custom JBoss server configuration (with nothing from the project deployed in it). git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113347 13f79535-47bb-0310-9956-ffa450edef68 --- jboss/plugin.jelly | 66 +++++++++++++++++++++++++++++++++++------ jboss/sample/maven.xml | 2 +- jboss/xdocs/changes.xml | 9 ++++++ jboss/xdocs/goals.xml | 26 ++++++++++++++-- 4 files changed, 90 insertions(+), 13 deletions(-) diff --git a/jboss/plugin.jelly b/jboss/plugin.jelly index aa57e3dd..02e90be5 100644 --- a/jboss/plugin.jelly +++ b/jboss/plugin.jelly @@ -19,7 +19,7 @@ --> + prereqs="jboss:configure"/> - - - - + prereqs="jboss:init"> @@ -121,6 +116,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/jboss/xdocs/changes.xml b/jboss/xdocs/changes.xml index 9c2ae236..1dde786f 100644 --- a/jboss/xdocs/changes.xml +++ b/jboss/xdocs/changes.xml @@ -8,6 +8,15 @@ + + Allowed deployments of EAR, WAR or EJB-JAR (only EAR was previously + supported) by adding the jboss:package-ear, + jboss:package-ejb and jboss:package-war + goals. The jboss:package goal has been renamed + jboss:configure and now simply creates a + custom JBoss server configuration (with nothing from the project + deployed in it). + Added deploy/undeploy targets for jar/war/ear using JBoss' jmx console. diff --git a/jboss/xdocs/goals.xml b/jboss/xdocs/goals.xml index 6c29f3ff..488a7d1c 100644 --- a/jboss/xdocs/goals.xml +++ b/jboss/xdocs/goals.xml @@ -8,10 +8,30 @@ - jboss:package + jboss:configure - Creates a JBoss server configuration directory structure, packaging - the application EAR in it. + Creates a custom JBoss server configuration directory structure. + + + + jboss:package-ear + + Creates a custom JBoss server configuration directory structure + and deploys an EAR in it. + + + + jboss:package-ejb + + Creates a custom JBoss server configuration directory structure + and deploys an EJB-JAR in it. + + + + jboss:package-war + + Creates a custom JBoss server configuration directory structure + and deploys a WAR in it.