dion        2003/07/31 21:30:31

  Modified:    src/plugins-build/ejb/xdocs properties.xml
               src/plugins-build/ejb plugin.jelly plugin.properties
  Log:
  Applied patch for MAVEN-633, fixed patch rejections, added documentation
  
  Revision  Changes    Path
  1.3       +20 -0     maven/src/plugins-build/ejb/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/ejb/xdocs/properties.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- properties.xml    4 Jul 2003 08:05:40 -0000       1.2
  +++ properties.xml    1 Aug 2003 04:30:31 -0000       1.3
  @@ -21,6 +21,26 @@
             </td>
           </tr>
           <tr>
  +          <td>maven.ejb.client.base.excludes</td>
  +          <td>Yes</td>
  +          <td>
  +            Classes excluded by default from a client ejb jar
  +          </td>
  +          <td>
  +            **/*Bean.class,**/*CMP.class,**/*Session.class
  +          </td>
  +        </tr>
  +        <tr>
  +          <td>maven.ejb.client.excludes</td>
  +          <td>Yes</td>
  +          <td>
  +            Classes excluded from a client ejb jar
  +          </td>
  +          <td>
  +            None
  +          </td>
  +        </tr>
  +        <tr>
             <td>maven.ejb.manifest</td>
             <td>Yes</td>
             <td>
  
  
  
  1.9       +11 -0     maven/src/plugins-build/ejb/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/ejb/plugin.jelly,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- plugin.jelly      7 Jul 2003 09:52:34 -0000       1.8
  +++ plugin.jelly      1 Aug 2003 04:30:31 -0000       1.9
  @@ -107,6 +107,17 @@
     </goal>
        
     <!--==================================================================-->
  +  <!-- Builds an ejb client jar file                                    -->
  +  <!--==================================================================-->
  +  <goal name="ejb:ejb-client" prereqs="ejb:ejb" description="Build a client ejb 
file">
  +    <ant:jar jarfile="${maven.build.dir}/${maven.final.name}-client.jar"
  +             basedir="${maven.build.dest}"
  +             
excludes="${maven.ejb.client.base.excludes},${maven.ejb.client.excludes}"
  +             >
  +    </ant:jar>
  +  </goal>
  +  
  +  <!--==================================================================-->
     <!-- Install the ejb in the local repository                          -->
     <!--==================================================================-->    
     <goal name="ejb:install"
  
  
  
  1.2       +1 -1      maven/src/plugins-build/ejb/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/ejb/plugin.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- plugin.properties 24 Jan 2003 03:45:10 -0000      1.1
  +++ plugin.properties 1 Aug 2003 04:30:31 -0000       1.2
  @@ -1 +1 @@
  -# -------------------------------------------------------------------
# P L U G I N  P R O P E R T I E S
# -------------------------------------------------------------------
# ejb plugin.
# -------------------------------------------------------------------
# Location of where ejb sources (non-java) are located.
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
  \ No newline at end of file
  +# -------------------------------------------------------------------
# P L U G I N  P R O P E R T I E S
# -------------------------------------------------------------------
# ejb plugin.
# -------------------------------------------------------------------
# Location of where ejb sources (non-java) are located.
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
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to