From 30a1422cbb6f00c7f88233ea4290616a5d1f9165 Mon Sep 17 00:00:00 2001 From: vmassol Date: Thu, 15 Jul 2004 10:08:14 +0000 Subject: [PATCH] - Added new maven.ejb.build.dir property that specifies the location where the EJBs are generated. - Modified existing maven.ejb.final.name property (and exposed it as a public property) so that it doesn't include the path (the path is now provided by the new maven.ejb.build.dir property). This allows aligning the WAR and EJB plugin properties. Note: This is a breaking change for all those using the maven.ejb.final.name property (which was not a public property). - Made the maven.ejb.final.name property public as it is required by several other plugins and before this change the only way is for these plugins was to call the non-public ejb:init goal. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115829 13f79535-47bb-0310-9956-ffa450edef68 --- ejb/plugin.jelly | 24 ++++++++++-------------- ejb/plugin.properties | 8 ++++++++ ejb/project.xml | 2 +- ejb/xdocs/changes.xml | 21 +++++++++++++++++++++ ejb/xdocs/properties.xml | 22 ++++++++++++++++++++++ 5 files changed, 62 insertions(+), 15 deletions(-) diff --git a/ejb/plugin.jelly b/ejb/plugin.jelly index bb3a0aab..f48480cf 100644 --- a/ejb/plugin.jelly +++ b/ejb/plugin.jelly @@ -1,4 +1,5 @@ + - - - - + @@ -63,7 +59,7 @@ @@ -140,7 +136,7 @@ - @@ -170,7 +166,7 @@ description="Install the ejb in the local repository"> @@ -184,7 +180,7 @@ description="Install the snapshot version of the ejb in the local repository"> @@ -198,7 +194,7 @@ description="Deploys the ejb to the remote repository"> @@ -212,7 +208,7 @@ description="Deploys the snapshot version of the ejb to remote repository"> @@ -226,7 +222,7 @@ description="Deploys the ejb client to the remote repository"> diff --git a/ejb/plugin.properties b/ejb/plugin.properties index b53a76bb..c16569ac 100644 --- a/ejb/plugin.properties +++ b/ejb/plugin.properties @@ -19,14 +19,22 @@ # ------------------------------------------------------------------- # ejb plugin. # ------------------------------------------------------------------- + maven.ejb.index=false maven.ejb.client.index=false # Location of where ejb sources (non-java) are located. maven.ejb.src=${maven.src.dir}/ejb +# Location where the generated EJB will be placed. +maven.ejb.build.dir = ${maven.build.dir} + +# Name of the generated EJB file (without the path). +maven.ejb.final.name = ${maven.final.name}.jar + # 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. diff --git a/ejb/project.xml b/ejb/project.xml index dd4c36e5..7bf95800 100644 --- a/ejb/project.xml +++ b/ejb/project.xml @@ -23,7 +23,7 @@ 3 maven-ejb-plugin Maven EJB Plugin - 1.5 + 1.6-SNAPSHOT EJB Plugin for Maven EJB Plugin for Maven http://maven.apache.org/reference/plugins/ejb/ diff --git a/ejb/xdocs/changes.xml b/ejb/xdocs/changes.xml index b77cbc67..fdb0d319 100644 --- a/ejb/xdocs/changes.xml +++ b/ejb/xdocs/changes.xml @@ -24,6 +24,27 @@ Nathan Coast + + + Added new maven.ejb.build.dir property that specifies the + location where the EJBs are generated. + + + Modified existing maven.ejb.final.name property (and + exposed it as a public property) so that it doesn't include the path + (the path is now provided by the new maven.ejb.build.dir + property). This allows aligning the WAR and EJB plugin properties. + Note: This is a breaking change for all those using the + maven.ejb.final.name property (which was not a public + property). + + + Made the maven.ejb.final.name property public as it is + required by several other plugins and before this change the only + way is for these plugins was to call the non-public + ejb:init goal. + + Replace Apache Jakarta Maven by Apache Maven in Manifest Add ejb:install-client and ejb:deploy-client goals. diff --git a/ejb/xdocs/properties.xml b/ejb/xdocs/properties.xml index c6bb103c..f3a46b90 100644 --- a/ejb/xdocs/properties.xml +++ b/ejb/xdocs/properties.xml @@ -1,4 +1,5 @@ +