portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/security maven.xml
Date Sat, 08 May 2004 17:46:04 GMT
dlestrat    2004/05/08 10:46:04

  Modified:    components/security maven.xml
  Log:
  Update maven.xml to fix issue with test:single.  Thanks DST ;)
  
  Revision  Changes    Path
  1.5       +9 -3      jakarta-jetspeed-2/components/security/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/security/maven.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- maven.xml	7 May 2004 13:42:56 -0000	1.4
  +++ maven.xml	8 May 2004 17:46:03 -0000	1.5
  @@ -24,10 +24,16 @@
   
     <goal name="deployJar">
     	<attainGoal name="jar:install"/>
  -
     	<copy file="${basedir}/target/${maven.final.name}.jar" todir="${deploy.war.dir}/jetspeed/WEB-INF/lib"/>
     </goal>
   
  +  <preGoal name="test:test">
  +    <attainGoal name="dbsetup"/>
  +  </preGoal>
  +  <preGoal name="test:single">
  +    <attainGoal name="dbsetup"/>
  +  </preGoal>
  +  
     <!-- ================================================================ -->
     <!-- Merge OJB desriptor with Jetspeed main OJB descriptor            -->
     <!-- ================================================================ -->
  @@ -47,7 +53,7 @@
     	<attainGoal name="jar:install"/>
     </goal>
   
  -  <preGoal name="test:test">
  +  <goal name="dbsetup">
       <j:set var="org.apache.jetspeed.database.url" value="${org.apache.jetspeed.test.database.url}"/>
       <j:set var="org.apache.jetspeed.database.driver" value="${org.apache.jetspeed.test.database.driver}"/>
       <j:set var="org.apache.jetspeed.database.user" value="${org.apache.jetspeed.test.database.user}"/>
  @@ -60,6 +66,6 @@
   
       <path id="jdbc.drivers.path" path="${org.apache.jetspeed.test.jdbc.drivers.path}"/>
       <maven:addPath id="maven.dependency.classpath" refid="jdbc.drivers.path"/>
  -  </preGoal>
  +  </goal>
   
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message