From bcb182e08ca502ac005e08122285d37681c56bc2 Mon Sep 17 00:00:00 2001 From: dion Date: Fri, 1 Aug 2003 04:30:31 +0000 Subject: [PATCH] Applied patch for MAVEN-633, fixed patch rejections, added documentation git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113773 13f79535-47bb-0310-9956-ffa450edef68 --- ejb/plugin.jelly | 11 +++++++++++ ejb/plugin.properties | 4 ++++ ejb/xdocs/properties.xml | 20 ++++++++++++++++++++ 3 files changed, 35 insertions(+) diff --git a/ejb/plugin.jelly b/ejb/plugin.jelly index f348aee9..ca10c1cc 100644 --- a/ejb/plugin.jelly +++ b/ejb/plugin.jelly @@ -106,6 +106,17 @@ + + + + + + + + diff --git a/ejb/plugin.properties b/ejb/plugin.properties index 3f311e80..677662df 100644 --- a/ejb/plugin.properties +++ b/ejb/plugin.properties @@ -8,3 +8,7 @@ maven.ejb.src=${maven.src.dir}/ejb # Location of ejb xml configs - not used atm due to using jar task not ejbjar maven.ejb.descriptordir=${maven.ejb.src}/META-INF maven.ejb.manifest=${maven.ejb.descriptordir}/MANIFEST.MF +# Exclude from the client jar those things that should only exist on the EJB server. +# This list is probably incomplete... +# Users' projects can add to the list by setting maven.ejb.client.excludes. +maven.ejb.client.base.excludes=**/*Bean.class,**/*CMP.class,**/*Session.class diff --git a/ejb/xdocs/properties.xml b/ejb/xdocs/properties.xml index 4f64dc6a..be86fa87 100644 --- a/ejb/xdocs/properties.xml +++ b/ejb/xdocs/properties.xml @@ -20,6 +20,26 @@ src/ejb + + maven.ejb.client.base.excludes + Yes + + Classes excluded by default from a client ejb jar + + + **/*Bean.class,**/*CMP.class,**/*Session.class + + + + maven.ejb.client.excludes + Yes + + Classes excluded from a client ejb jar + + + None + + maven.ejb.manifest Yes