weaver      2004/06/25 06:08:34

  Modified:    portal   maven.xml
  Log:
  - Fixed portal/war:install goal to only test once.
  - Removed unneeded OJB registry copying goal.
  
  Revision  Changes    Path
  1.89      +7 -12     jakarta-jetspeed-2/portal/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/maven.xml,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- maven.xml 24 Jun 2004 00:16:48 -0000      1.88
  +++ maven.xml 25 Jun 2004 13:08:33 -0000      1.89
  @@ -22,17 +22,6 @@
     <!-- Target of maven test:single test -->
   <property name='testcase' value='org.apache.jetspeed.engine.TestEngine'/>
   
  -<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>
   
   -->
   
  @@ -532,9 +521,15 @@
       <attainGoal name="ojb.set.production.database.platform"/>
     </preGoal>
   
  -  <preGoal name="war:install">
  +  <preGoal name="war:init">          
      <attainGoal name= "jar:install"/>
  +   <j:set var="maven.test.skip" value="true" />
  +   <echo>Testing flag is: ${maven.test.skip} for war:install</echo>
     </preGoal>
  +  
  +  <postGoal name="war:install">      
  +   <j:set var="maven.test.skip" value="false" />
  +  </postGoal>
   
     <preGoal name="war:webapp">
       <attainGoal name="ojb.set.production.database.platform"/>
  
  
  

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

Reply via email to