weaver      2004/02/24 09:38:21

  Modified:    portal   maven.xml
  Log:
  automatically copies in OJB metadata from other sub-projects

  
  Revision  Changes    Path
  1.47      +15 -1     jakarta-jetspeed-2/portal/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/maven.xml,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- maven.xml 24 Feb 2004 16:14:01 -0000      1.46
  +++ maven.xml 24 Feb 2004 17:38:21 -0000      1.47
  @@ -1,7 +1,8 @@
   <project default="java:jar"
            xmlns:j="jelly:core"
            xmlns:define="jelly:define"
  -         xmlns:reactor="reactor">
  +         xmlns:reactor="reactor"
  +         xmlns:maven="jelly:maven">
   
     <!-- Target of maven test:single test -->
   <property name='testcase' 
value='org.apache.jetspeed.page.TestCastorXmlPageManager'/>
  @@ -20,6 +21,19 @@
       <j:set var="applicationRoot" value="src/webapp"/>
       <j:set var="maven.junit.sysproperties">java.security.auth.login.config 
applicationRoot</j:set>
     </preGoal>
  +  
  +   
  + <preGoal name="java:prepare-filesystem">
  +     <echo message="====================================" />
  +     <echo message="        Copying OJB Metadata        " />         
  +     <echo message="====================================" />
  +     <maven:reactor
  +               basedir="${basedir}"
  +               
includes="services/security/project.xml,components/registry/project.xml"
  +               goals="ojb.registry"
  +               banner="Copying OJB Metadata for Registry and Security"
  +               ignoreFailures="false"/>
  + </preGoal>
   
   <!--
     <goal name="jaxb:portlet"
  
  
  

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

Reply via email to